Hi,
I am using db2 api stage to extract data from db2 database using custom SQL. Just fetching all from the table.
Using 2 node configuration. Database has 89000 records, but the data set has double the records.
Does any one has any idea what is the wrong?
Thanks
DB2 API DOUBLE THE RECORDS
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 21
- Joined: Tue Jul 18, 2006 2:38 pm
-
- Participant
- Posts: 21
- Joined: Tue Jul 18, 2006 2:38 pm
Hi ArndW,ArndW wrote:Nothing is wrong, PX is probably behaving as documented. You should look into the PX Developer's Guide pages 12-16 ff. This has to do with PX running in Parallel or Sequential mode, your partitioning method(s) and your SQL statement.
The doc is explaining about DB2 Enterprise stage.
In the API I set the execution mode as 'parallel' writing auto partition to 2 node config.
The sql is direct select a,b,c from tablename. I didn't used any nodenumber information.
Omkar
Kumar,
I opened up the stage in designer and tried to change it, plus looked at the documentation and didn't find anything regarding a "round robin" allocation for DB/2 and find that it doesn't really make logical sense, but then again, very little makes sense to me (I always walk around work confused and dazed). So when do you get back to your PX I would be very interested in finding out how that can be done.
I opened up the stage in designer and tried to change it, plus looked at the documentation and didn't find anything regarding a "round robin" allocation for DB/2 and find that it doesn't really make logical sense, but then again, very little makes sense to me (I always walk around work confused and dazed). So when do you get back to your PX I would be very interested in finding out how that can be done.