Performance tuning in server job
Moderators: chulett, rschirm, roy
-
rajvarathan
- Participant
- Posts: 5
- Joined: Tue Nov 21, 2006 12:52 am
- Location: Chennai
Performance tuning in server job
Hi ,
I need to tune a server job which loads data from a remote DB using DBlink. The data is retreived from 2 DBlinks,Unioned and loaded to oracle table.
The query is something like this:
Select * from tableA@DBlink1
where cond1 or cond2 or cond3 or cond4
Union
Select * from TableB@DBlink1.
The job takes more time to run .And in addition to the above query,Upper& NVL conditions are also given in the select sql for some columns.
Pls., suggest an approach to tune this job.Thanks in advance.
Regards,
Varadha.
I need to tune a server job which loads data from a remote DB using DBlink. The data is retreived from 2 DBlinks,Unioned and loaded to oracle table.
The query is something like this:
Select * from tableA@DBlink1
where cond1 or cond2 or cond3 or cond4
Union
Select * from TableB@DBlink1.
The job takes more time to run .And in addition to the above query,Upper& NVL conditions are also given in the select sql for some columns.
Pls., suggest an approach to tune this job.Thanks in advance.
Regards,
Varadha.
Regards,
Varadharajan.S
Varadharajan.S
-
ray.wurlod
- Participant
- Posts: 54595
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
rajvarathan
- Participant
- Posts: 5
- Joined: Tue Nov 21, 2006 12:52 am
- Location: Chennai
Re:Performance tuning in server Job
Hi Ray,
In ETL context there is one OCA stage , a transformer and an output OCA stage used in the job. Since the remote DB is having millions of records, it takes 1-2 hours for completion...
In ETL context there is one OCA stage , a transformer and an output OCA stage used in the job. Since the remote DB is having millions of records, it takes 1-2 hours for completion...
Regards,
Varadharajan.S
Varadharajan.S
-
ray.wurlod
- Participant
- Posts: 54595
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
rajvarathan
- Participant
- Posts: 5
- Joined: Tue Nov 21, 2006 12:52 am
- Location: Chennai
Re:Performance tuning in server Job
The KPI here to be taken care of is load time of records from remote DB(which needs to be reduced).... and throughput.
Regards,
Varadharajan.S
Varadharajan.S
-
ray.wurlod
- Participant
- Posts: 54595
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Load the tables into local text files. Use cat to put them together for UNION ALL. If you need to remove duplicates, there are several strategies available, all of which need the file to be sorted.
And, of course, tune your database queries. Make sure that the tables have been analyzed so that the query optimizer can come up with the best possible plan.
And, of course, tune your database queries. Make sure that the tables have been analyzed so that the query optimizer can come up with the best possible plan.
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.
-
rajvarathan
- Participant
- Posts: 5
- Joined: Tue Nov 21, 2006 12:52 am
- Location: Chennai
-
rajvarathan
- Participant
- Posts: 5
- Joined: Tue Nov 21, 2006 12:52 am
- Location: Chennai
-
ray.wurlod
- Participant
- Posts: 54595
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
