Patents
US 5,694,591 A#81150 Most CitedExpiredUnited States (USPTO)Utility

Reducing query response time using tree balancing

165Forward Citations (#81150 Global)
5.7/yrCitation Velocity (#202932 Global)
67.91Citation PageRank (#41752 Global)
4Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method for optimizing data retrieval from a multidatabase system by restructuring a database query tree to optimize query response time in a two step optimization process. First, the query tree is transformed into a left deep join tree having a root query, a plurality of subordinate (descendant) query nodes and a plurality of table nodes, each subordinate query node having a left child subtree and a right child subtree. This transformation is usually the result of a first optimization scheme such as System-R. A response time for the root query and for each of the plurality of subordinate query nodes is estimated and access response times to each table node and subtree are estimated. Then, this data is utilized in the balancing of the left deep join query tree so that the cost for access to each left child subtree is substantially equal to the cost for the right child subtree. This balancing step encompasses the second phase of the query tree optimization process and includes using transformation processes such top-down, bottom-up, and a hybrid of the first two. Finally, the query is executed in a relational database to retrieve data responsive to the query in accordance with an e

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 165.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    In a multidatabase system (MDBS) for accessing data in a plurality of relational computer databases on a distributed network of database machines, a method of structuring a database query to reduce query response time using a two phase optimization, comprising the steps of: inputting the database query; as a first phase, optimization, transforming the database query into a left deep join query tree having a root query, a plurality of subordinate (descendant) query nodes and a plurality of table nodes, each subordinate query node having a left child subtree and a right child subtree; as a

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (5)

  • Arbee L. P. Chen, "Outerjoin Optimization in Multidatabase Systems", IEEE, 1990, pp. 211-218.
  • Arbee L. P. Chen, Outerjoin Optimization in Multidatabase Systems , IEEE, 1990, pp. 211 218.
  • Brill, David et al., "Distributed Query Processing Strategies in Mermaid, a Frontend to Data Management Systems", In Proc. IEEE Data Engineering, Los Angeles, CA, 1984, pp. 211-218.
  • Brill, David et al., Distributed Query Processing Strategies in Mermaid, a Frontend to Data Management Systems , In Proc. IEEE Data Engineering, Los Angeles, CA, 1984, pp. 211 218.
  • Chen et al, "using Segmented Right-Deep Trees for the Execution of Pipelined Hash Joins", Proc of the 18th Intl Conf on Very Large Databases, pp. 15-26, Jun. 1, 1992.