> Hi Jan;
> I have been trying to use "LOAD QUERY table <tablename>" where
> <tablename> is an existing table in current schema and am having some
> trouble. Environment is DB2 AIX 8.1.5 Parallel Edition and I keep
> getting one of two messages:
No such thing as Parallel Edition any more. That was back in 96!
> ----------------------------------------------------------------------
> SQL2306N The table or index <tablename> does not exist.
[quoted text clipped - 6 lines]
> the db2loadqry API and it seems that neither the API nor the command
> will be of practical use if this is true... Any help appreciated.
A load happens independently on each partition in which the table is
defined, so to get a complete picture of the status you would need to
query each partition where the table is defined individually. This
restriction applies to the API call as well.
peteh - 28 Apr 2005 15:48 GMT
Thanks for the reply, Ian.
> No such thing as Parallel Edition any more. That was back in 96!
Guess old habits die hard :-)
> you would need to
> query each partition where the table is defined individually. This
> restriction applies to the API call as well.
Bummer - seems like it should be easier to monitor the status of a
load-in-progress. We do some big ones and it sometimes feels as though
we're "blind" till they complete (or fail).
Pete H
Ian - 29 Apr 2005 15:54 GMT
>>you would need to
>>query each partition where the table is defined individually. This
[quoted text clipped - 3 lines]
> load-in-progress. We do some big ones and it sometimes feels as though
> we're "blind" till they complete (or fail).
Well, unless you have significant skew with in your data, you can just
query 1 partition and monitor its progress. Each partition should be
loading at roughly the same rate... If you know the total volume of
data that you're loading, and how many partitions it's loading on, it
shouldn't be too hard to monitor one partition and extrapolate.
Also, in 8.2, check out LIST UTILITIES.
Ian
peteh - 29 Apr 2005 18:22 GMT
> Also, in 8.2, check out LIST UTILITIES.
Many thanks Ian - this is just what the doctor ordered. We'll be
implementing 8.2 soon, so will wait for this feature.
Pete H