performance

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
suresh_dsx
Participant
Posts: 160
Joined: Tue May 02, 2006 7:49 am

performance

Post by suresh_dsx »

hi guys,

i got job like 1:1 mapping....

job is : oracle--->tranformar--->oracle

thier is no functions ,no tranformns ....in tranformer stage....


my question is with out tranformer can we use it....right.....

i tried with that one toooo....

their is know change in performace......

how can i increase the performace......


keep in mind ...i didnot use any calculations in all the stages,,,,,
Krazykoolrohit
Charter Member
Charter Member
Posts: 560
Joined: Wed Jul 13, 2005 5:36 am
Location: Ohio

Post by Krazykoolrohit »

include a sequential file stage in between . make your job design as follows:

oracle--->tranformer--->sequential file--->oracle
ashwin141
Participant
Posts: 95
Joined: Wed Aug 24, 2005 2:26 am
Location: London, UK

performance

Post by ashwin141 »

Krazykoolrohit wrote:include a sequential file stage in between . make your job design as follows:

oracle--->tranformer--->sequential file--->oracle
Hi Rohit

Can you please tell me how adding a sequential file stage will improve the performance?

Regards
Ashwin
Krazykoolrohit
Charter Member
Charter Member
Posts: 560
Joined: Wed Jul 13, 2005 5:36 am
Location: Ohio

Post by Krazykoolrohit »

it breaks the job flow into two. the first half of the job will execute first extracting all data from oracle table and loading it in the sequential file. then the sequential file is used to bulk load it into the oracle table.

Flowing data from one table to another is slow.

Hey! i forgot to ask. Are you using orabulk loader as the loading stage?
Krazykoolrohit
Charter Member
Charter Member
Posts: 560
Joined: Wed Jul 13, 2005 5:36 am
Location: Ohio

Post by Krazykoolrohit »

it breaks the job flow into two. the first half of the job will execute first extracting all data from oracle table and loading it in the sequential file. then the sequential file is used to bulk load it into the oracle table.

Flowing data from one table to another is slow.

Hey! i forgot to ask. Are you using orabulk loader as the loading stage?
suresh_dsx
Participant
Posts: 160
Joined: Tue May 02, 2006 7:49 am

Post by suresh_dsx »

any thing possible with


oracle--->oracle
Krazykoolrohit
Charter Member
Charter Member
Posts: 560
Joined: Wed Jul 13, 2005 5:36 am
Location: Ohio

Post by Krazykoolrohit »

I cant think of anything. even if you use oracle bulk loader to load, i dont think it will work with oracle-oracle configuration.
kris007
Charter Member
Charter Member
Posts: 1102
Joined: Tue Jan 24, 2006 5:38 pm
Location: Riverside, RI

Post by kris007 »

You will have to break your Job into two parts to achieve good performance.

Code: Select all


Job 1   Oracle -> Transformer---->Sequentialfile

Job2    SequentialFIle--> Transformer---->>Oracle

Design your Job like this and see how much difference you will find.

It's always better to put a Transformer if you are designing your Job as

Code: Select all


Oracle---->Oracle
because the Compiler is going to put Tranformer if you are not. So, why not just put one in there.

And at last, if you are just moving data from one table into another table without doing any tranformatios why do you want to use DataStage.( Assuming you are only inserting data everytime).

If you want to acheive high speed with your current Job design you might want to play around with the array sizes in both source and target but that would be much lesser than what you would acheive with what Rohit and myself have suggested.
Kris

Where's the "Any" key?-Homer Simpson
narasimha
Charter Member
Charter Member
Posts: 1236
Joined: Fri Oct 22, 2004 8:59 am
Location: Staten Island, NY

Re: performance

Post by narasimha »

suresh_dsx wrote: thier is no functions ,no tranformns ....in tranformer stage....
If you dont have any transformation between the two oracle stages,
why not do a insert into oracle, outside Datastage?

Or you could use something like

Transformer ---> Oracle
Narasimha Kade

Finding answers is simple, all you need to do is come up with the correct questions.
Post Reply