Performance issue
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 67
- Joined: Thu Apr 06, 2006 7:13 am
Performance issue
Hi,
I am loading data to a table from a view which contains 13 lacs record. It took 13 hours to load the table. My design is very simple.
Source View----> Transformer------> Target table
Can you please let me help in increasing performance? The loading option for target is "clear the table then insert rows".
Thanks,
Bhaskar
I am loading data to a table from a view which contains 13 lacs record. It took 13 hours to load the table. My design is very simple.
Source View----> Transformer------> Target table
Can you please let me help in increasing performance? The loading option for target is "clear the table then insert rows".
Thanks,
Bhaskar
Bhaskar Jha
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
If you select from a View, then the SELECT statement that defines that view must be executed first. One approach would be to pre-execute that original SELECT statement (perhaps in a DataStage job) capturing the result into a text file. You may well find that this is taking the bulk of the time - if you can "time shift" it to an earlier time, then the load itself may be able to proceed much faster.
How much work occurs in the Transformer stage? Have you used optimally efficient practices in the expressions in this stage?
Have you considered replacing your target table with a text file, and using that text file as the data file in a bulk loader?
Finally, if the source and target are in the same database, have you considered bypassing DataStage entirely and doing the whole thing with SQL?
How much work occurs in the Transformer stage? Have you used optimally efficient practices in the expressions in this stage?
Have you considered replacing your target table with a text file, and using that text file as the data file in a bulk loader?
Finally, if the source and target are in the same database, have you considered bypassing DataStage entirely and doing the whole thing with SQL?
Code: Select all
INSERT INTO target (column_list) SELECT ... FROM source...
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: 67
- Joined: Thu Apr 06, 2006 7:13 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 67
- Joined: Thu Apr 06, 2006 7:13 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: