DB2 can implement a join in three ways using a merge join, a nested join or a hybrid join. Explain the differences. A merge join requires that the tables being joined be in a sequence; the rows are retrieved with a high cluster ratio index or are sorted by DB2. A nested join does not require a sequence and works best on joining a small number of rows. DB2 reads the outer table values and each time scans the inner table for matches. The hybrid join is a nested join that requires the outer table be in sequence.

 

This Question is not yet answered!

 
 

Related Answered Questions

 

Related Open Questions