Specifying relationships when creating a join index

For non-key joins, the order in which you specify tables when you create the join index determines the hierarchy of the join relationship between the tables. The CREATE JOIN INDEX statement supports two ways to specify the join hierarchy:

NoteWhile you can join these three tables in the way described here, in order to create the complete hierarchy shown in Figure 6-1 you would need to use key joins. See “Types of join hierarchies” for more information.

When you create a join index, a message in the log identifies the top table in the join. For example,

[20691]: Join Index 'join_on_tabletable' created from the following join relations:
 [20694]:      Table Name             Relationship
 [20697]: ------------------------------------------------------------------
 [20696]: 1. join_on_table_a joined to 'join_on_table_b' One >> Many
 [20692]: The ultimate/top table is join_on_table_b
 [20697]: ------------------------------------------------------------------