When does DS issue RDBMS commits

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
rleishman
Premium Member
Premium Member
Posts: 252
Joined: Mon Sep 19, 2005 10:28 pm
Location: Melbourne, Australia
Contact:

When does DS issue RDBMS commits

Post by rleishman »

Apols for an easily tested question, but I don't have an instance of DS at the moment to test it on.

If you have a job with multiple pipelines, does an OCI stage perform its final commit immediately after the last row / after-SQL is processed, or does it wait until the end of the job.

Code: Select all

OCI ----> TX -----> OCI -----> TX ----> OCI
      A        B          C         D
Does it go: Process all txns through A & B, Commit link B, Process all txns through C and D, Commit link D

Or is it: Process all txns through A & B, Process all txns through C and D, Commit links B and D.

I suspect it is the first one, I just want to make sure.
Ross Leishman
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

It performs a 'final' commit when the stage closes. So, with the design you've shown, your first answer is correct.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

I seriously doubt you can have a "passive" stage with an input and an output in a parallel job. This would be a blocking operation - which would interfere with pipeline parallelism. These are banned in the parallel job environment - the output link would be treated (and painted) as a reject-handling link.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply