Database system with methodology for parallel schedule generation in a query optimizer
Abstract
A database system with methodology for parallel schedule generation in a query optimizer is described. In one embodiment, for example, in a database system, a method is described for parallel optimization of a query, the method comprises steps of: generating a plurality of parallel plans for obtaining data requested by the query, the parallel plans including parallel operators for executing portions of the query in parallel; adjusting parallel operators of each parallel plan if necessary based on resources available for executing the query; creating a schedule for each parallel plan indicating a sequence for execution of operators of each parallel plan; determining execution cost of each parallel plan based on its schedule; and selecting a particular parallel plan having lowest execution cost for obtaining data requested by the query.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 44 · Forward citations: 69.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
In a database system, a method for parallel optimization of a query, the method comprising: generating a plurality of parallel plans for obtaining data requested by the query, the parallel plans including parallel operators for executing portions of the query in parallel; adjusting parallel operators of each parallel plan based on maximum number of threads available for executing the query, wherein said maximum number of threads is user configurable; creating a schedule for each parallel plan indicating a sequence for execution of operators of each parallel plan, wherein the schedule is create
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 69 total)
References Cited — Backward Prior Art (44)
Non-Patent Literature (5)
- "Dynamic Qery Evaluation Plans", by Goetz Graefe and Karen Ward, International Conference on Management of Data, Proceedings of the 1989 ACM SIGMOD international conference on Management of data, Portland OR, pp. 358-366, 1989.
- "Volcano-An Extensible and Parallel Query Evaluation System", by Goetz Graefe, IEE Transactions on Knowledge and Data Engineering, vol. 6 No. 1, Feb. 1994, pp. 120-135.
- Lee et al., A Simple On-Line Bin-Packing Algorithm, Journal of the ACM, vol. 32, No. 3, pp. 562-572, Jul. 1985.
- Srivastava et al., 'Optimizing Multi-Join Queries in Parallel Relational Databases', In Proceedings of the Second International Conference of Parallel and Distributed Information Systems, Los Alamitos, California, USA, Dec. 1993.
- U.S. Appl. No. 60/500,490, filed Sep. 6, 2003.