I have to design a job with optimal performance..scenario is..
create tabel NAME1 as slect from sal,eanme...from dept,emp whaere dept.deptno= emp.deptno.
create table NAME2 as select * from NAME1where.
again Create tabel NAME3 as select from tabel2...
like that i have to ran 5 times create table.statement . ane finally select query from last one and put into db2...
anyone let mw know..how i will designfrom performance point of view in server job. OS in unix....target is DB2 and source is ORACLE.
how to design with optimal performance...........
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54
- Joined: Mon May 28, 2007 12:41 am
- Location: Chennai
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
First, define "performance" in an ETL context.
This may help you to get a better handle on what is meant by "optimal" in this context.
Note particularly that rows/second is an almost entirely meaningless metric, as I have posted on a number of occasions.
This may help you to get a better handle on what is meant by "optimal" in this context.
Note particularly that rows/second is an almost entirely meaningless metric, as I have posted on a number of occasions.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54
- Joined: Mon May 28, 2007 12:41 am
- Location: Chennai
i don't know much..it,s client demand
hi
thanks for quick reply.
it,s client requriment that i have create 5 tem table. finally i have to select the data from last one. the script i got they ghave used so many jons in each query. As i ahve to get data from oracle..finally target is DB2.
let me know how to proceed in server job..
ithink in this way==
oracle stage----->trans---->oracle--------->trans----------------->oracle..last table DB2..
please helpme
thanks for quick reply.
it,s client requriment that i have create 5 tem table. finally i have to select the data from last one. the script i got they ghave used so many jons in each query. As i ahve to get data from oracle..finally target is DB2.
let me know how to proceed in server job..
ithink in this way==
oracle stage----->trans---->oracle--------->trans----------------->oracle..last table DB2..
please helpme
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Re: i don't know much..it,s client demand
Yes, that's what the job would need to look like. Have you tried to create it yet? What part do you help with?ajay.prakash03 wrote:ithink in this way==
oracle stage----->trans---->oracle--------->trans----------------->oracle..last table DB2.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
(1) Please post all your 5 statements clearly, so that we can what exactly
is being done.
(2) How much data is being processed .i.el loaded to DB2 table?
(3) Any other transformation happening in the ETL flow, or just select
and dump data in DB2?
Replies to above will help to answer how to performance tune.
in General:-
If the columns from all your 5 "CREATE STATEMENT" are same, then why not use UNION / UNION ALL at source stage? This way, you will have just 1 SQL source and then no need to have 5 steps.
is being done.
(2) How much data is being processed .i.el loaded to DB2 table?
(3) Any other transformation happening in the ETL flow, or just select
and dump data in DB2?
Replies to above will help to answer how to performance tune.
in General:-
If the columns from all your 5 "CREATE STATEMENT" are same, then why not use UNION / UNION ALL at source stage? This way, you will have just 1 SQL source and then no need to have 5 steps.