|
Don't see why Hash Join will be more efficient for this query, even in theory.
http://dsnowondb2.blogspot.com/2005/10/joining-in-db2-udb.html
But of couse, the only proven method to find the performance is by the actual test, i.e. run the query.
DB2 for LUW lacks the ability to do a detailed trace of the SQL execution like what Oracle provides, and this makes the performance tuning/learning a painful process. I would strongly suggest LZ to test out the different scenarios/possibility of performance improving, that will really help the community. |
|