Hi All,
I have some performance issues with Datastage job.Job is running very slow and tranfering <1 per sec,here its around 20lakhs of record
For this job the source and target are same Informix Stage and that refernces only one table Tab1,extracting data based on the below query
select Col1
From Tab1
Where Col1 IN (select max(Col1) from Tab1
where A is NOT NULL AND B='Y" AND C=123
Group by F )
And update the same table at target.
Col1,A,C are indexed,the column to be updated in the target is also indexed.
Please suggest a solution to improve the performance.
Query Performance Issue
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Correlated subqueries are always slowest. Not having an index on column B will cause a table scan to be required. Having an index on the target column will slow updates.
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.