System and method for generating uniqueness information for optimizing an SQL query
Abstract
A system and method of determining uniqueness properties of an expression. A root of the expression is first determined, where the root is one of a base relation, a unary operation or a binary operation. Once the root is determined, a first procedure of an augmented unique process is called to determine uniqueness properties of a child of that root. The procedure called is chosen based on the determined root. Where the root is a base relation, a first procedure of a uniqueness process is applied to determine the uniqueness properties of the base relation. Where the root is a unary or binary operation, the called procedure is suspended, a second procedure of the augmented unique process is called to determine the uniqueness properties of the child of the operation, and this process is repeated until a base relation is reached. Once a base relation is reached, the first procedure of the uniqueness process is applied to determine the uniqueness properties of the reached base relation. A next procedure of a uniqueness process is applied to determine the uniqueness properties of a parent operator of the based relation. The procedure applied is chosen based on a type of operation represe
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 2 · Forward citations: 54.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of determining uniqueness properties of an expression for query optimization, comprising the steps of: a) determining a root of the expression, wherein said root is one of a base relation, a unary operation or a binary operation; b) calling a first one of a plurality of procedures of an augmented unique process to determine uniqueness properties of a child of the root, wherein the procedure called is chosen based on said determined root; c) where said root is a base relation, applying a first procedure of a uniqueness process to determine the uniqueness properties of said base rel
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 54 total)
References Cited — Backward Prior Art (2)
Non-Patent Literature (5)
- Chen, A.L.P., "Outerjoin Optimization In Multidatabase Systems," 2nd International Symposium on Databases In Parallel And Distributed Systems, pp. 211-218, 1990.
- Chen, A.L.P., Outerjoin Optimization In Multidatabase Systems, 2nd International Symposium on Databases In Parallel And Distributed Systems , pp. 211 218, 1990.
- Date, C.J., et al., "The Role Of Functional Dependence In Query Decomposition," Relational Database Writings 1989-1991, pp. 133-154.
- Date, C.J., et al., The Role Of Functional Dependence In Query Decomposition, Relational Database Writings 1989 1991, pp. 133 154.
- Galindo Legaria, C., and Rosenthal, A., How To Extend A Conventional Optimizer To Handle One And Two Sided Outerjoin, Proceedings IEEE Data Engineering Conference , pp. 402 409, 1992.