|
ABSTRACT
Despite the widespread and growing use of asynchronous copies to improve scalability, performance and availability, this practice still lacks a firm semantic foundation. Applications are written with some understanding of which queries can use data that is not entirely current and which copies are "good enough"; however, there are neither explicit requirements nor guarantees. We propose to make this knowledge available to the DBMS through explicit currency and consistency (C&C) constraints in queries and develop techniques so the DBMS can guarantee that the constraints are satisfied. In this paper we describe our model for expressing C&C constraints, define their semantics, and propose SQL syntax. We explain how C&C constraints are enforced in MTCache, our prototype mid-tier database cache, including how constraints and replica update policies are elegantly integrated into the cost-based query optimizer. Consistency constraints are enforced at compile time while currency constraints are enforced at run time by dynamic plans that check the currency of each local replica before use and select sub-plans accordingly. This approach makes optimal use of the cache DBMS while at the same time guaranteeing that applications always get data that is "good enough" for their purpose.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
|
| |
2
|
{ABK+03} M. Altinel, C. Bornhövd, S. Krishnamurthy, C. Mohan, H. Pirahesh, and B. Reinwald. Cache Tables: Paving The Way For An Adaptive Database Cache. In VLDB, 2003.
|
 |
3
|
Christof Bornhövd , Mehmet Altinel , Sailesh Krishnamurthy , C. Mohan , Hamid Pirahesh , Berthold Reinwald, DBCache: middle-tier database caching for highly scalable e-business architectures, Proceedings of the 2003 ACM SIGMOD international conference on Management of data, June 09-12, 2003, San Diego, California
[doi> 10.1145/872757.872849]
|
| |
4
|
|
| |
5
|
{BR02} L. Bright and L. Raschid. Using Latency-Recency Profiles for Data Delivery on the Web. In Proc. In VLDB, 2002.
|
 |
6
|
Francis Chu , Joseph Y. Halpern , Praveen Seshadri, Least expected cost query optimization: an exercise in utility, Proceedings of the eighteenth ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems, p.138-147, May 31-June 03, 1999, Philadelphia, Pennsylvania, United States
[doi> 10.1145/303976.303990]
|
| |
7
|
|
 |
8
|
|
 |
9
|
|
| |
10
|
|
 |
11
|
Jonathan Goldstein , Per-Åke Larson, Optimizing queries using materialized views: a practical, scalable solution, Proceedings of the 2001 ACM SIGMOD international conference on Management of data, p.331-342, May 21-24, 2001, Santa Barbara, California, United States
|
| |
12
|
|
| |
13
|
|
| |
14
|
{LC02} S. Weissman L. and P. Chrysanthis. Personalizing Information Gathering For Mobile Database Clients. In SAC, 2002.
|
| |
15
|
|
| |
16
|
{LR03} A. Labrinidis and N. Roussopoulos. Balancing Performance And Data Freshness In Web Database Servers. In VLDB, 2003.
|
 |
17
|
Chris Olston , Boon Thau Loo , Jennifer Widom, Adaptive precision setting for cached approximate values, Proceedings of the 2001 ACM SIGMOD international conference on Management of data, p.355-366, May 21-24, 2001, Santa Barbara, California, United States
|
| |
18
|
|
 |
19
|
|
| |
20
|
{RBSS02} U. Röhm, K. Böhm, H. Schek, and H. Schuldt. FAS - a Freshness-Sensitive Coordination Middleware for a Cluster of OLAP Components. In VLDB, 2002.
|
| |
21
|
|
| |
22
|
|
| |
23
|
{SR90} A. Sheth and M. Rusinkiewicz. Management Of Interdependent Data: Specifying Dependency And Consistency Requirements. In Workshop on the Management of ReplicatedData, pages 133--136, 1990.
|
| |
24
|
|
| |
25
|
|
| |
26
|
|
CITED BY 16
|
|
|
|
|
Hongfei Guo , Per-Åke Larson , Raghu Ramakrishnan, Caching with "good enough" currency, consistency, and completeness, Proceedings of the 31st international conference on Very large data bases, August 30-September 02, 2005, Trondheim, Norway
|
|
|
|
|
|
Fuat Akal , Can Türker , Hans-Jörg Schek , Yuri Breitbart , Torsten Grabs , Lourens Veen, Fine-grained replication and scheduling with freshness and correctness guarantees, Proceedings of the 31st international conference on Very large data bases, August 30-September 02, 2005, Trondheim, Norway
|
|
|
|
|
|
|
|
|
Philip A. Bernstein , Alan Fekete , Hongfei Guo , Raghu Ramakrishnan , Pradeep Tamma, Relaxed-currency serializability for middle-tier caching and replication, Proceedings of the 2006 ACM SIGMOD international conference on Management of data, June 27-29, 2006, Chicago, IL, USA
|
|
|
|
|
|
Wen-Syan Li , Daniel C. Zilio , Vishal S. Batra , Calisto Zuzarte , Inderpal Narang, Load balancing and data placement for multi-tiered database systems, Data & Knowledge Engineering, v.62 n.3, p.523-546, September, 2007
|
|
|
|
|
|
|
|
|
Daniel Klan , Kai-Uwe Sattler , Katja Hose , Marcel Karnstedt, Decentralized managing of replication objects in massively distributed systems, Proceedings of the 2008 international workshop on Data management in peer-to-peer systems, p.19-26, March 25-25, 2008, Nantes, France
|
|
|
|
|
|
|
|
|
|
|
|
|
|