Use of multi-join operator and rules as framework for join tree processing in database systems
Abstract
Methods and systems receive a normalized query tree and analyze the tree to collect information about join operators and their children, and tables in an associated query. This information is then made available to a rule based optimizer that is configured to produce, from the normalized query tree, an execution plan. In addition, in at least some embodiments, an extensible framework is provided for join order optimization via the use of a multi-join operator and multi-join rules as part of the general framework of a query optimizer.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 20.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A computer-implemented method comprising: receiving, at a computer, a query tree for a query, the query tree having one or more multi-way joins between relational operators; representing at least one individual multi-way join with a multi-join operator; applying one or more rules to the multi-join operator sufficient to generate one or more subtrees, wherein said applying one or more rules includes applying a multi-join prime table rule for reducing a selected number of rows in a prime table that is a largest table after application of local predicates; selecting a join order based on applicat
- Claim 2Depends on #1
The method of claim 1 , wherein said act of representing comprises processing each multi-way join to compact it int
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗