Hi All,
I have a requirement to join 3 tables which has is having more than 10 million of data on each and send the output to the target table(In between I have few transformation). My question here,
1) Can I go for Database join while extracting from the database?
2) Can I use Datastage join stage by sorting & Hash partitioning all i/p table by same primary key?
Which will give better performence ? eagerly waiting for your reply
Thanks in advance
Which is better database join or Datastage join
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
The best answer is "it depends". If the database server has spare capacity and/or if the join columns are indexed then chances are that the join will be resolved faster in the database. But the job will have to wait until the first row is delivered from the database.
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.