REDUCING QUERY RESPONSE TIME USING TREE BALANCING

Patent №

US 5,694,591

Granted

1997-12-02

Filed 1995

Owner

HEWLETT-PACKARD COMPANY

Lab

AI components

2

planning · hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

08434101

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 execution plan operating according to the balanced query tree.

PlanningAI hardwareG06F 16/2471G06F 16/24542G06F 16/2456Y10S 707/99932Y10S 707/99934

AI classification

Planning1.00
AI hardware0.90
Knowledge representation0.47
Natural language0.02
Evolutionary computation0.00
Machine learning0.00
Speech0.00
Vision0.00

Ownership

HEWLETT-PACKARD COMPANY

assignment · 75690005

Assignors

DU, WEIMIN, SHAN, MING-CHIEN, DAYAL, UMESHMAR

On an employer assignment, the assignors are typically the inventors.

© 2026 NYSGPT2525 LLC