Roll Back in Parallel Jobs

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
dwarak_narayana
Participant
Posts: 2
Joined: Mon Nov 26, 2007 2:46 pm

Roll Back in Parallel Jobs

Post by dwarak_narayana »

Hi All,

I am loading records into Oracle database using Oracle Enterprise stage. I want to roll back the inserted records if job aborts. I tried by using env variables like ORAUPSRT_COMMIT_INTERVAL and ORAUPSRT_TIME_INTERVAL. But nothing worked out. Any other ideas plz...
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

What method are you using to write to oracle? The commit frequency of 0 in the upsert commit interval will force the whole job to be one transaction and will not commit any records if it aborts.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

What method are you using to write to oracle? The commit frequency of 0 in the upsert commit interval will force the whole job to be one transaction and will not commit any records if it aborts.
dwarak_narayana
Participant
Posts: 2
Joined: Mon Nov 26, 2007 2:46 pm

Post by dwarak_narayana »

ArndW wrote:What method are you using to write to oracle? The commit frequency of 0 in the upsert commit interval will force the whole job to be one transaction and will not commit any records if it aborts. ...


Iam using Upsert. I alreday tried by putting commit freequency as 0 but i didnt get the result.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Remove the APT_ORA parameters from your job, most likely the timed commit is taking precedence.
Post Reply