Patents
US 5,758,335 A#1029272 Most CitedExpiredUnited States (USPTO)Utility

Optimizing table join ordering using graph theory prior to query optimization

47Forward Citations (#1029272 Global)
1.7/yrCitation Velocity (#2836378 Global)
21.63Citation PageRank (#293030 Global)
4Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method for improving the efficiency of queries in relational database management systems that use the exhaustive method of query optimization. The join structure of the query is examined prior to query optimization and tables are ordered according to graph theory. The tables in the FROM clause of the query are then reordered before query optimization. The access plan is thus developed from an already near-optimal table ordering. As a result, the number of table permutations examined during query optimization is pruned, the time to examining large numbers of table order permutations is avoided, and the optimization cost is reduced.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    In a relational database computer system including a data processor, a stored database and a plurality of database tables wherein one or more of the tables are retrieved by the processor by means of query commands performing a plurality of join operations on the tables using a WHERE clause and a FROM clause, a method for improving the query optimization comprising the steps of: a) examining the WHERE clause and finding all join conditions that are present; b) forming a chain of the join conditions; c) establishing a list of tables wherein: I) tables that are in the WHERE clause but not in

Technical Overview & Description

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