Systematic approach to query optimization
Abstract
The present invention demonstrates the development and application of the chase/backchase (“C&B”) technique to systematically optimize generating alternative query plans, aimed at multiple disparate targets. It further provides a first optimization prototype that uses path-conjunctive query graphs internally. The methods, systems, apparatus and techniques of the present invention capture and extend many aspects of semantic optimizations, physical data independence, use of materialized views and cached queries, as well as generalized tableau-like minimization. Moreover, using a uniform representation with constraints, the techniques make these disparate optimization principles highly cooperative. This present invention provides a new class of optimization opportunities, such as the non-trivial use of indexes and materialized views enabled only by the presence of certain integrity constraints. Moreover, the technique is valuable when only the presence of semantic integrity constraints enables the use of physical access structures or materialized views.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 137.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of systematically optimizing the processing of a query in a database management system that operates in a computer network, the method comprising: a) receiving the executable data query; b) producing a query plan by applying to the query a relational tableau chase procedure comprising logical constraints which capture all relevant elements for implementation mapping of the query; c) rewriting the query against a logical schema into an equivalent universal query plan written against a physical schema, given a semantic relationship between the logical schema and the physical schema that
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 137 total)
References Cited — Backward Prior Art (4)
Non-Patent Literature (5)
- Abiteboul S., et al, Foundations of Databases, Addison-Wesley (1995).
- Abiteboul, S. et al, "Object Identity as a Query Language Primitive" in Proceedings of ACM SIGMOD Conference on Management of Data, Portland, Oregon: 159-173 (1989).
- Adali S., et al, "Query Caching and Optimization in Distributed Mediator Systems" ACM SIGMOD: 137-148 (1996).
- Aho, A.V, et al, "The Theory of Johns in Relational Databases," ACM Transactions on Database Systems, 4(3):297-314 (1979).
- Aho, A.V., et al, "Efficient Optimization of a Class of Relational Expressions," ACM Transactions on Database Systems, 4(4):435-454 (1979).