Database query optimization apparatus and method that represents queries as graphs

A database query optimizer constructs a graph comprising nodes, relations, and expressions. The query optimizer then constructs execution plans for sub-parts of the graph. The combination of execution plans make up the overall execution plan for the query. The execution plan information is appended...

Full description

Saved in:
Bibliographic Details
Main Authors BESTGEN ROBERT JOSEPH, DIETEL JOHN DAVID, DOWNER ROBERT VICTOR, BOGER CURTIS
Format Patent
LanguageEnglish
Published 05.07.2005
Edition7
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:A database query optimizer constructs a graph comprising nodes, relations, and expressions. The query optimizer then constructs execution plans for sub-parts of the graph. The combination of execution plans make up the overall execution plan for the query. The execution plan information is appended to the graph itself, allowing changing an execution plan in one portion of the graph without necessarily changing execution plans in other portions of the graph. By representing a query using the graph of the preferred embodiments that includes execution plan information, the query optimizer is able to evaluate the execution plans of different options quickly and efficiently, thereby enhancing the performance of the query optimizer.
Bibliography:Application Number: US20010014996