Patents
US 6,915,290 B2#1214860 Most CitedExpiredUnited States (USPTO)Utility

Database query optimization apparatus and method that represents queries as graphs

43Forward Citations (#1214860 Global)
2.0/yrCitation Velocity (#1922673 Global)
9.69Citation PageRank (#1118371 Global)
7Prior Art Cited
3Claims (1 Indep. · 2 Dep.)
0Drawings / Sheets

Abstract

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.

Interactive Citation Constellation Global Citation Ranking

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

Claims (3 — 1 Independent, 2 Dependent)

  1. Claim 1Independent Claim

    An apparatus comprising: at least one processor; a memory coupled to the at least one processor; and an optimizer residing in the memory and executed by the at least one processor, the optimizer analyzing an expression and generating from the expression a graph that includes at least one node, the optimizer generating from the graph an execution plan for the expression, the execution plan comprising a plurality of execution plans that correspond to different portions of the graph.

  2. Claim 2Depends on #1

    The apparatus of claim 1 wherein the plurality of execution plans are appended to corresponding nodes in the graph.

  3. Claim 3Depends on #1

    The apparatus of claim 1 wherein the optimizer generates a new execution plan for the query by changing at least one of the plurality of execution plans, and by using an existing execution plan for each portion of the graph that is unaffected by t

Technical Overview & Description

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