Modular query optimizer
Abstract
Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for modular query optimizer. In one aspect, a method includes selecting one or more projections from a set of projections for each table in a database query wherein each of the selected projections for the table has leads to an estimated lower execution cost for the query as compared to non-selected projections; generating join orders for the query based on data distribution of one or more of the selected projections among sites in a computer network wherein the join orders reflect different combinations of data distribution operations applied to the output of one or more of the query's joins; and selecting a join order from the join orders based on evaluation of the join orders using a cost model.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 3.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A computer-implemented method, comprising: providing a join classifier to a join order generator wherein the join classifier is configured to classify joins in a database query; providing a join ranker to the join order generator wherein the join ranker is configured to rank each join based on the join's respective category; using, by the join order generator, the provided join classifier and the join ranker to produce join plans in order of join ranks; and wherein the database is a column-oriented database, a row-oriented database, or a hybrid row and column oriented database.
- Claim 2Depends on #1
The method of claim 1 wherein a join category is one of join constraint, join selectivity, and join output size.
- Claim 3Depends on #1
The method of claim 1 , further comprising providing the query to a projection set generator wherein the projection set generator is conf
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (15)
Non-Patent Literature (3)
- International Search Report and the Written Opinion for PCT Application No. PCT/US2009/065989, mailed May 18, 2010, 12 pages.
- Pirahesh, H., et al., "Extensible/Rule Based Query Rewrite Optimization in Starburst," Proceedings of the 1992 ACM SIGMOD International Conference on Management of Data ACM SIGMOD, San Diego, California, pp. 39-48.
- Selinger, P.G., et al., Access Path Selection in a Relational Database Management System. Proc. ACM SIGMOD Conf., Boston, MA, May-Jun. 1979; pp. 23-34.