Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
If a query has a large number of joins, the planning time and space grows exponentially in N, the number of joins. About about N=8 it is not possible to plan a query exhaustively.
`LoptOptimizeJoinRule` is a heuristic join rule that uses a greedy algorithm. It operates on a `MultiJoinRel`, which must first have been created using `ConvertMultiJoinRule`. Enabling this rule, and disable the join transformation rules `SwapJoinRule` and `PushJoinThroughJoinRule`, it is possible to plan queries with N=60 and higher.
---------------- Imported from GitHub ----------------
Url: https://github.com/julianhyde/optiq/issues/302
Created by: julianhyde
Labels:
Created at: Wed Jun 18 03:27:16 CEST 2014
State: open