DB2 Load row limit

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
Daddy Doma
Premium Member
Premium Member
Posts: 62
Joined: Tue Jun 14, 2005 7:17 pm
Location: Australia
Contact:

DB2 Load row limit

Post by Daddy Doma »

G'day,

I am trying to load a DB2 database with a volume of rows in the order of 7.5 million.

When using DB2 'load' (as opposed to 'write') not all my rows are being inserted into the database. From what I can tell, only the first 70000 rows (exactly) are loaded. DataStage statistics, and the Director log, indicate that all 7.5 million rows have been passed to the stage.

Note: When using 'write' to insert rows there is no problem. However the job runs too slowly for our needs.

Has anyone encountered this problem using DB2 load and what was your final solution?

Zac.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Is there some limiting setting for the DB2 bulk loader? DataStage has sent all the rows; one can only assume that there's something in DB2 blocking them. Ask your DBA to check.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Hi,
Try using Db2 Enterprise stage instead of Db2 bulk load stage. I have been through this problem and for some reason the Db2 EE stage worked fine with the load option.
Daddy Doma
Premium Member
Premium Member
Posts: 62
Joined: Tue Jun 14, 2005 7:17 pm
Location: Australia
Contact:

Post by Daddy Doma »

We are already using the DB2 Enterprise stage. There were previous problems on this project with DB2 Bulk Load.

I think Ray may be on the right track, and this is likely a DB2 restriction instead of DS. Relevant DBA is being hunted as we speak...
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Doma,

this might be the equivalent of the rollback segment filling up. What is your commit frequency for this job? If you check the generated sequential data file(s) are they at a logical limitation size such as 2Gb (perhaps the DB/2 read program uses only a small pointer).
Post Reply