DB2® Database can implement a join in three ways using a merge join, a nested join or a hybrid join. Explain the differences?
A241) 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® Database. A nested join does not require a sequence and works best on joining a small number of rows. DB2® Database 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.
Related Questions
- I want to use Merge Replication to synchronise data to my SQL Server CE database. Are there any how-to whitepapers available?
- DB2® Database can implement a join in three ways using a merge join, a nested join or a hybrid join. Explain the differences?
- How would Darwin explain the procreation rate differences between social groups?