Hi,
I have to Join a SeqFile and Oracle table without using HashFiles. Is there any way to do this.
Thanks,
Deep
Joining SeqFile and oracle Table
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 14
- Joined: Fri Sep 03, 2004 2:50 pm
- Location: NJ
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
For entire-key-based lookups a memory-cached hashed file will always be faster than an Oracle table. A disk-based hashed file is possibly still faster than an Oracle table, and definitely if the Oracle instance is on a separate machine from the DataStage server.
On the other hand, where you have a sparse lookup (only touching a few distinct values), then caching in the query engine may ensure that the database connection - particularly if local - may be quicker, as none of the non-referenced keys needs to be loaded (which would be the case if a hashed file were used).
On the other hand, where you have a sparse lookup (only touching a few distinct values), then caching in the query engine may ensure that the database connection - particularly if local - may be quicker, as none of the non-referenced keys needs to be loaded (which would be the case if a hashed file were used).
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.