Rows per transaction in ODBC stage

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
gomez
Premium Member
Premium Member
Posts: 83
Joined: Tue Jun 22, 2004 6:11 am

Rows per transaction in ODBC stage

Post by gomez »

Hi:
We are loading about 8555555 records into a DB2 table in a Parallel job. I get an error "transaction log is full". Looks like if I do a frequent commit while the data load is happening, I might not get this error.
However I am not able to find a property like "Rows per transaction" in the ODBC stage in Parallel job. Am I missing something?
Appreciate any inputs/suggestions on this!
Thanks
Scope
Premium Member
Premium Member
Posts: 63
Joined: Wed Jun 06, 2007 6:38 am
Location: Chennai

Post by Scope »

you can use

Code: Select all

close command = commit;
in option properties
Kumarez
gomez
Premium Member
Premium Member
Posts: 83
Joined: Tue Jun 22, 2004 6:11 am

Post by gomez »

Say if I want to commit every 10000 rows, what should I do?

Thanks!
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

The ODBC connector at Version 8 has a "transaction -> record count" value that you can set.

The Enterprise stage, set the "array size" to 1, then you will get an option to set the "row commit interval".
Post Reply