This page generates simple (in terms of setup and assumptions) 4-way join optimization problems. Given the statistics and tables below, compute the join plan based on Selinger as discussed in class, the result cardinality, as well as the cost in terms of the number of pages that must be read.
Assumptions:Join Name | Description |
---|---|
Hash-INL | Index nested loops using Hash Index |
Primary-BTree-INL | Index nested loops using Primary BTree |
Sec-BTree-INL | Index nested loops using Secondary BTree |
NL | Nested loops |
HashJoin | Hash Join |