Patents
US 8,478,741 B2#61080180 Most CitedActiveUnited States (USPTO)Utility

Autonomic refresh of a materialized query table in a computer database

1Forward Citations (#61080180 Global)
0.1/yrCitation Velocity (#49614708 Global)
0.75Citation PageRank (#61080180 Global)
39Prior Art Cited
2Claims (2 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A 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: 1.

Claims (2 — 2 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for a refreshing a materialized query table (MQT) in a database, the method comprising the steps of: parsing a query to identify a database table with a MQT in deferred maintenance; determining whether to update the MQT in deferred maintenance to execute the query by performing the steps of: estimating a time to execute the query over a base table corresponding to the MQT in deferred maintenance; estimating a time to update the MQT in deferred maintenance; comparing the estimated time to update the MQT in deferred maintenance and the estimated time to execute the query over the base t

  2. Claim 2Independent Claim

    The method of

Technical Overview & Description

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

Cited By — Indexed Forward Citations (1 of 1 total)

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
US 7,124,146 B2Incremental cardinality estimation for a set of data values200624
US 7,158,994 B1Object-oriented materialized views200773

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).