Update Oracle table taking long time

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
ravij
Premium Member
Premium Member
Posts: 170
Joined: Mon Oct 10, 2005 7:04 am
Location: India

Update Oracle table taking long time

Post by ravij »

Hi,

I have a job developed in 9.1 Parallel versioin. Job design is
Dataset -> Trf -> Ora Connector.
Updating target table which contains 11mn records from Dataset(Dataset also contains same no of records as Fact, its a replica).
The table has constraints, tablespace and partitions created on it.
Its running very poorly, it was updating 1st 1mn records 1000r/s and second 1mn recrods 500r/s. and its still running.
we have also set Transaction size as 10000 and Array size as 20000 for the current run.
In the before run, we set Transaction size 3000 and Array size 6000, the performance was same as the current run.

Can anybody has any idea on how to solve this issue.
Thanks in advance.
Ravi
kmk
Participant
Posts: 14
Joined: Thu Jan 28, 2010 1:54 am

Re: Update Oracle table taking long time

Post by kmk »

Please use the partion in dataset
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Make sure there's an index in the target table supporting your update WHERE clause. Sounds like there isn't.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply