Query optimizer system and method
Abstract
An optimizer/normalizer is used to generate optimized intermediate language representation of an input query, such as an XML input query. A method of optimization of an input query in intermediate language form includes receiving the input query, examining the nodes in a left-depth first manner to identify code patterns and node types which are subjects for optimization, tagging the identified code patterns until the intermediate language representation of the input query has been examined in its entirety, searching from the top of the intermediate language representation for tagged code patterns, and adjusting the tagged code patterns with improved code patterns to form an optimal representation for an input query. The input to the optimizer/normalizer is assumed to be an input query transformed into an intermediate language representation containing code patterns and nodes, each node having a respective node type.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 22.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for constructing an optimal representation for an input query, the method comprising: receiving the input query, wherein the input query is an intermediate language representation comprising nodes, each node having a respective node type; examining the nodes in a left-depth first manner to identify node types for optimization; tagging nodes corresponding to the identified node types; moving upward to the next node until the intermediate language representation of the input query has been examined in its entirety; searching from the top of the intermediate language representation for t
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 22 total)
References Cited — Backward Prior Art (7)
Non-Patent Literature (5)
- Chun-Nan, H. et al., "Semantic Query Optimization for Query Plans of Heterogeneous Multidatabase Systems", IEEE Transactions on Knowledge and Data Engineering, 2000, 959-978.
- Grinev, M. et al., "Towards an Exhaustive Set of Rewriting Rules for XQuery Optimization: BizQuery Experience", www.ispras.ru/~grinev,Institute for System Programming of Russian Academy of Sciences, 17 pages.
- Lee, C. et al., "Query Optimization in Multidatabase Systems Considering Schema Conflicts", IEEE Transactions on Knowledge and Data Engineering, 1997, 941-955.
- McHugh, J. et al., "Query Optimization for XML", Proceedigns of the 25<SUP>th </SUP>VLDB Conference, Edinburgh, Scotland, 1999, 315-326.
- Wu, Y. et al., "Structural Join Order Selection for XML Query Optimization", 1 thru 12.