Patents
US 8,468,152 B2#33685015 Most CitedExpiredUnited States (USPTO)Utility

Autonomic refresh of a materialized query table in a computer database

3Forward Citations (#33685015 Global)
0.2/yrCitation Velocity (#31054652 Global)
1.01Citation PageRank (#40952493 Global)
39Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

An apparatus and method autonomically refreshes a materialized query table (MQT) in a computer database to improve database performance and utility. In preferred embodiments, the query optimizer autonomically initiates a refresh of MQT depending on an estimated time for the query to access the base tables. In other preferred embodiments, the query optimizer estimates the time for the query to access the base tables and compares it to the estimated time to refresh the MQT to determine whether to refresh the MQT and run the query over the MQT rather than the base tables.

Interactive Citation Constellation Global Citation Ranking

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

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    An apparatus comprising: at least one processor; a memory coupled to the at least one processor; a database residing in the memory having data; a query optimizer residing in the memory that optimizes queries that access the database, and wherein the query optimizer autonomically determines when to refresh at least one materialized query table (MQT); and wherein the query optimizer autonomically determines when to refresh the at least one MQT depending on an estimated time for a query to access data in at least one database table in the database.

  2. Claim 2Depends on #1

    The apparatus of claim 1 wherein the query optimizer autonomically determines when to refresh the at least one MQT by comparing the estimated time for the query to access data in the at least one database table to a time to refresh the at least one MQT. 3

Technical Overview & Description

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

References Cited — Backward Prior Art (39)

PatentTitleYearCitations
US 5,202,993 AMethod and apparatus for cost-based heuristic instruction scheduling199358
US 5,758,146 AMethod and apparatus for optimizing data retrieval using index scanning199856
US 6,026,390 ACost-based maintenance of materialized views2000145
US 6,125,360 AIncremental maintenance of materialized views containing one-to-N lossless joins2000101
US 6,134,543 AIncremental maintenance of materialized views containing one-to-one lossless joins200098
US 6,275,818 B1Cost based optimization of decision support queries using transient views2001219
US 6,334,128 B1Method and apparatus for efficiently refreshing sets of summary tables and materialized views in a database management system2001123
US 6,542,964 B1Cost-based optimization for content distribution using dynamic protocol selection and query resolution for cache server2003230
US 6,546,402 B1System and method for asynchronous view maintenance200361
US 6,708,179 B1Incremental refresh of materialized views for many-to-many relationships200457
US 2004122868 A1System and method for identifying and maintaining base table data blocks requiring deferred incremental integrity maintenance—25
US 6,799,251 B1Performance-based caching200489
US 2004210563 A1Method and system of collecting execution statistics of query statements—41
US 2004225666 A1Materialized view system and method—40
US 2005013208 A1Recording apparatus, reproduction apparatus, and file management method—46
US 6,847,962 B1Analyzing, optimizing and rewriting queries using matching and compensation between query and automatic summary tables200582
US 6,882,993 B1Incremental refresh of materialized views with joins and aggregates after arbitrary DML operations to multiple tables2005164
US 2005114307 A1Efficient heuristic approach in selection of materialized views when there are multiple matchings to an SQL query—26
US 2005114311 A1Method, system, and program for query optimization with algebraic rules—29
US 2005187917 A1Method for index tuning of a SQL statement, and index merging for a multi-statement SQL workload, using a cost-based relational query optimizer—149
US 2005235004 A1Using estimated cost to schedule an order for refreshing a set of materialized views (MVS)—33
US 2005235003 A1Choosing whether to use a delayed index maintenance depending on the portion of the materialized view (MV) changed—18
US 2005234971 A1Using estimated cost to refresh a set of materialized views (MVS)—37
US 7,007,006 B2Method for recommending indexes and materialized views for a database workload200650
US 2006047696 A1Partially materialized views—82
US 2006047622 A1Using join dependencies for refresh—48
US 2006218128 A1Building database statistics across a join network using skew values—25

Non-Patent Literature (5)

  • Embry, et al., "Automated Summary Tables and Aggregate Navigation in DB2," The IDUG Solutions Journal, Fall 1999, vol. 6, No. 3.
  • Embry, Michael et al., "Automated Summary Tables and Aggregate Navigation in DB2 Universal Database", The IDUG Solutions Journal, Fall 1999, vol. 6, No. 3.
  • Lehner, Wolfgang et al., "fAST Refresh using Mass Query Optimization", Data Engineering, 2001, pp. 391-398.
  • Melnyk, Roman "DB2 Basics: An introduction to materialized query tables", IBM Canada Ltd., Sep. 7, 2005.
  • Srivastava, Divesh et al., "Answering Queries with Aggregation Using Views", Proceedings of the 22nd VLDB (Very Large Data Base) Conference, 1996, 12 pages (see Section 3).