Fast and robust optimization of complex database queries
Abstract
A robust way is described for optimizing complex data base queries while retaining the optimization speed of heuristic methods. The heuristic join-sequencing algorithm is modified to permit any of, or a combination of: (1) multiple passes of the heuristic algorithm, each with a different metric, producing multiple plans; (2) complex combinations of the criteria by which such heuristics make their choices; and/or (3) backtracking to consider alternatives to any particular decision in the sequence.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 13.
Claims (2 — 2 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for optimizing a complex database query using a join-sequencing algorithm, said complex database query requested by an entity, said optimization method performing any of, or a combination of: a. identifying multiple plans via performing multiple passes of said join sequencing algorithm, with each of said passes performed using a different criterion for choosing a join in a sequence, comparing said plans common measure, and identifying an optimal plan among said compared plans; and b. performing complex combinations of criteria by which said join-sequence algorithm selects the next joi
- Claim 2Independent Claim
A method for optimizing a complex database query using a join-sequencing algorithm, said compl
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (13 of 13 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (4)
- F. P. Palermo, "A Data Base Search Problem," Proceedings of the 4th Symposium on Computer and Information Science, Miami Beach, FL (Dec. 1972), Plenum Press as "Information Systems: COINS IV" (Julius T. Tou, ed.), 1974, pp. 67-101.
- G. M. Lohman, "Heuristic Method for Joining Relational Data Base Tables," IBM Technical Disclosure Bulletin, vol. 30, No. 9 (Feb. 1988), pp. 8-10.
- K. Ono and G. M. Lohman, "Measuring the Complexity of Join Enumeration in Query Optimization," Proceedings of the 16th Very Large Data Bases (VLDB) Conference, Brisbane, Australia (1990), pp. 314-325.
- M. Jarke and J. Koch, "Query Optimization in Database Systems," Computing Surveys 16, 2 (Jun. 1984), pp. 111-152.