Patents
US 6,898,588 B2#6271066 Most CitedExpiredUnited States (USPTO)Utility

Method and apparatus for viewing the effect of changes to an index for a database table on an optimization plan for a database query

15Forward Citations (#6271066 Global)
0.7/yrCitation Velocity (#10611991 Global)
2.86Citation PageRank (#8163515 Global)
23Prior Art Cited
3Claims (1 Indep. · 2 Dep.)
0Drawings / Sheets

Abstract

A method and apparatus for viewing the effect of changes to an index for a database table on an optimization plan for a database query, such as an SQL statement. A virtual table is created which mimics the structure of an original table on the database. The virtual table is created by copying the original table, excluding any data in the original table. Any existing original indexes associated with original table are copied to define a virtual index associated with the virtual table. References in the query to the original table are replaced with references to the virtual table. The database management system then determines a new optimization plan for the query.

Interactive Citation Constellation Global Citation Ranking

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

Claims (3 — 1 Independent, 2 Dependent)

  1. Claim 1Independent Claim

    In a database management system, a method for viewing changes to an original optimization plan for a query having a reference to an original table with data stored in a database, the method comprising: copying the original table excluding the data to define a virtual table; providing a virtual index associated with the virtual table; replacing, in the query, the reference to the original table with a reference to the virtual table; adding, to the query, a reference to the virtual index; and determining a new optimization plan for the query.

  2. Claim 2Depends on #1

    The method of claim 1 , further comprising comparing the new optimization plan with the original optimization plan.

  3. Claim 3Depends on #2

    The method of claim 2 , further comprising, before comparing the new and the original optimization plans: replacing, in the new optimization plan, the reference to the virtual table

Technical Overview & Description

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

References Cited — Backward Prior Art (23)

PatentTitleYearCitations
US 5,276,870 AView composition in a data base management system1994220
US 5,301,317 ASystem for adapting query optimization effort to expected execution time1994141
US 5,335,345 ADynamic query optimization using partial information1994244
US 5,347,653 ASystem for reconstructing prior versions of indexes using records indicating changes between successive versions of the indexes19941,734
US 5,367,675 AComputer automated system and method for optimizing the processing of a query in a relational database system by merging subqueries with the query1994219
US 5,404,510 ADatabase index design based upon request importance and the reuse and modification of similar existing indexes1995230
US 5,495,605 AMethod to help in optimizing a query from a relational data base management system, and resultant method of syntactical analysis1996160
US 5,555,409 AData management systems and methods including creation of composite views of data1996200
US 5,560,007 AB-tree key-range bit map index optimization of database queries1996224
US 5,608,904 AMethod and apparatus for processing and optimizing queries having joins between structured data and text data1997140
US 5,630,120 AMethod to help in optimizing a query from a relational data base management system199754
US 5,666,528 ASystem and methods for optimizing database queries1997175
US 5,671,403 AIterative dynamic programming system for query optimization with bounded complexity1997161
US 5,675,785 AData warehouse which is accessed by a user using a schema of virtual tables1997220
US 5,694,591 AReducing query response time using tree balancing1997165

Non-Patent Literature (5)

  • Bhargava, et al., "Hypergraph based reorderings of outer join queries with complex predicates" Proceedings of the 1995 ACM SIGMOD International Conference on Management of Data, San Jose, California, USA, SIGMOD Record vol. 24, Issue 2, Jun. 1995, pp. 304-315.
  • Chamberlin, "Query Power: Subqueries in DB2 V2" (04/96), Database Programming & Design, pp. 45-50.
  • Chaudhuri, Surajit, (1998), AutoAdmin "What-If" Index Analysis Utility, Sigmod Record, vol. 27 (2), pp: 367-378.
  • Chen, et al. "On Applying Hash Filters To Improving The Execution of Multi-Join Queries," The VLDB Journal, Jun. 1997, pp. 121-131.
  • Christophides, et al., "Evaluating Queries with Generalized Path Expressions," Proceedings of the 1996 ACM SIGMOD International Conference on Management of Data, Montreal, Quebec, Canada, Jun. 4-6, 1996, SIGMOD Record vol. 25, No. 2, Jun. 1996, pp. 413-422.