Autonomic recommendation and placement of materialized query tables for load distribution
Abstract
A system and method of evaluating queries in distributed databases with MQTs comprises deriving MQTs; replicating the derived MQTs from a local server to at least one remote server; and distributing data and replicated derived MQTs to a plurality of other remote servers, wherein the distributing increases overall query execution efficiency. The databases may comprise heterogeneous databases. The query execution efficiency comprises observed response time at a frontend database and associated costs comprising computational central processing unit costs, input/output costs, and network communication costs. All of the associated costs comprise statistically estimated costs. The method further comprises running a MQT advisor at a frontend database, and considering the costs of at least one MQT placed at the frontend database. The method further comprises running a MQT advisor at a non-frontend database. Additionally, the increased overall query execution efficiency may consider all dependencies of all involved database instances and associated costs.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 31 · Forward citations: 16.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method of placing materialized query tables (MQTs) in a distributed database system for improving load distribution and reducing network latency, said method comprising: inputting, by a user, to a materialized query table advisor (MQTA) of said distributed databases system, data placement destinations for MQTs in a frontend database and backend databases, a workload comprising a database update log and a read workload, and a simulated catalog of backend databases; deriving, by said MQTA, candidate MQTs based on common parts of query statements; calculating, by said MQTA,
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 16 total)
References Cited — Backward Prior Art (31)
Non-Patent Literature (5)
- Amer-Yahia, et al., "A Declarative Approach to Optimize Bulk Loading Into Databases," ACM Transactions on Database Systems, vol. 29, No. 2, Jun. 2004, pp. 233-281.
- Chan et al, "Design and Selection of Materialized Views in a Data Warehousing Environment: A Case Study", Proceedings of the 2nd ACM International Workshop on Data Warehousing and OLAP (DOLAP '99), Nov. 1999, pp. 42-47.
- Eisenberg, et al., "SQL:2003 Has Been Published," SIGMOD Record, vol. 33, No. 1, Mar. 2004, pp. 119-126.
- Goetz Graefe, "Query Evaluation Techniques for Large Databases," ACM Computing Surveys, vol. 25, No. 2, Jun. 1993, pp. 73-170.
- Gryz, et al., "Query Sampling in DB2 Universal Database," SIGMOD 2004 Jun. 13-18, 2004, ACM, 2004, 5 pages.