Autonomic refresh of a materialized query table in a computer database
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)
- 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
- 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)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 10,904,354 B2 | Advanced result cache refill | 2021 | 0 |
References Cited — Backward Prior Art (39)
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).