Commit

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
rishi
Participant
Posts: 16
Joined: Thu Aug 03, 2006 3:05 am

Commit

Post by rishi »

What is the difference between environmental variable $APT_RDBMS_COMMIT_ROWS and in DB2 enterprise stage ROW_COMMIT_INTERVAL parameter??
What I observed that only specifying ARRAY_SIZE in DB2 enterprise stage is enough when you want updates to commit at particular intervals.

Can anyone explain how these parameters work??
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

The commit interval is time based as opposed to number-of-rows based.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Not really a 'general' question...
-craig

"You can never have too many knives" -- Logan Nine Fingers
rishi
Participant
Posts: 16
Joined: Thu Aug 03, 2006 3:05 am

Post by rishi »

@ArndW: I don't think so. We specify no. of rows as the value for ROW_COMMIT_INTERVAL parameter. Another parameter TIME_COMMIT_INTERVAL is time based to which we assign value in seconds.
My doubt is:
ROW_COMMIT_INTERVAL takes value in multiples of ARRAY_SIZE, which is another parameter. But the commit instead of happening at value of ROW_COMMIT_INTERVAL happens at value of ARRAY_SIZE only. What's the point then in keeping the ROW_COMMIT_INTERVAL parameter.

@chulett: I was in hurry and had no idea where else to put it, so...
Post Reply