Database system providing methodology for property enforcement
Abstract
A database system providing methods for eager and opportunistic property enforcement is described. Plan fragments are generated for obtaining data requested by a query. Plan fragments are grouped together in classes based upon tables of the database covered by each plan fragment. For each class, a particular plan fragment having the lowest execution costs for obtaining the data requested by the query is determined. If grouping is not required at a given class, an operator enforcing ordering is added to this particular sub-plan. However, if grouping is required at the given class, an operator enforcing both grouping and ordering is added to this sub-plan.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 86.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
In a database system, a method for eager ordering enforcement enabling improved query optimization, the method comprising: receiving a query requesting data from a database, said query requesting ordering of data; generating plan fragments for obtaining data requested by the query; grouping said plan fragments into classes, said classes based upon tables of the database covered by each plan fragment; for each class, determining a particular plan fragment having the lowest execution costs for obtaining data; and adding any required ordering enforcement operator to said particular plan fragment.
- Claim 2Depends on #1
The method of claim 1 , wherein said query requesting ordering of data includes a Structured Query Language (SQL) query.
- Claim 3Depends on #1
The method of claim 1 , wherein ordering enforc
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 86 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (5)
- Andrei, et al, User-Optimizer Communication using Abstract Plans in Sybase ASE, Proceedings of the 27th VLDB Conference, Rome, Italy 2001.
- Bitton, D., et al, Duplicate Record Elimination in Large Data Files, ACM Transactions on Database Systems, vol. 8, No. 2, pp. 255-265, Jun. 1983.
- Chaudhuri, S., et al, Optimizing Queries with Aggregate Views, International Conference on Extending Database Technology (EDBT), pp. 167-182, Mar. 1996.
- Claussen, J., et al, Exploiting early sorting and early partitioning for decision support query processing, The VLDB Journal, vol. 9(3), pp. 190-213, Dec., 2000.
- Galindo-Legaria, C., et al, Orthogonal Optimization of Subqueries and Aggregation, ACM SIGMOD, May 21-24, 2001.