IBM Books

SQL Reference

Table Collocation

DB2 has the capability of recognizing when the data accessed for a join or subquery is located at the same partition in the same nodegroup. When this happens DB2 can choose to perform the join or subquery processing at the partition where the data is stored, which often has significant performance advantages. This situation is called table collocation. To be considered collocated tables, the tables must:

OR

Rows in collocated tables with the same partitioning key values will be located on the same partition.


Footnotes:

12
While redistributing a nodegroup, tables in the nodegroup may be using different partitioning maps - they are not collocated.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]