Update propagation strategies to improve freshness in lazy master replicated databases

Abstract. Many distributed database applications need to replicate data to improve data availability and query response time. The two-phase commit protocol guarantees mutual consistency of replicated data but does not provide good performance. Lazy replication has been used as an alternative solution in several types of applications such as on-line financial transactions and telecommunication systems. In this case, mutual consistency is relaxed and the concept of freshness is used to measure the deviation between replica copies. In this paper, we propose two update propagation strategies that improve freshness. Both of them use immediate propagation: updates to a primary copy are propagated towards a slave node as soon as they are detected at the master node without waiting for the commitment of the update transaction. Our performance study shows that our strategies can improve data freshness by up to five times compared with the deferred approach.

[1]  Rafael Alonso,et al.  Data caching issues in an information retrieval system , 1990, TODS.

[2]  Wanlei Zhou,et al.  Replication Techniques in Distributed Systems , 1999, Scalable Comput. Pract. Exp..

[3]  Matthias Nicola,et al.  Improving Performance in Replicated Databases through Relaxed Coherency , 1995, VLDB.

[4]  Gang Zhou,et al.  A Framework For Using Redundant Data to Optimize Read-Intensive Database Applications , 1997, RTDB.

[5]  David K. Gifford,et al.  Weighted voting for replicated data , 1979, SOSP '79.

[6]  Oddvar Risnes,et al.  Extending Logging for Database Snapshot Refresh , 1987, VLDB.

[7]  Dennis Shasha,et al.  The dangers of replication and a solution , 1996, SIGMOD '96.

[8]  Miron Livny,et al.  Data caching tradeoffs in client-server DBMS architectures , 1991, SIGMOD '91.

[9]  W. H. Inmon,et al.  Building the data warehouse (2nd ed.) , 1996 .

[10]  Esther Pacitti,et al.  Update propagation strategies to improve data freshness in lazy master scheme , 1998, BDA.

[11]  Sam Toueg,et al.  A Modular Approach to Fault-Tolerant Broadcasts and Related Problems , 1994 .

[12]  Amit P. Sheth,et al.  Management of interdependent data: specifying dependency and consistency requirements , 1990, [1990] Proceedings. Workshop on the Management of Replicated Data.

[13]  Esther Pacitti,et al.  Fast Algorithms for Maintaining Replica Consistency in Lazy Master Replicated Databases , 1999, VLDB.

[14]  Dennis Shasha Lessons from Wall Street: case studies in configuration, tuning, and distribution , 1997, SIGMOD '97.

[15]  Esther Pacitti,et al.  Improving data freshness in lazy master schemes , 1998, Proceedings. 18th International Conference on Distributed Computing Systems (Cat. No.98CB36183).

[16]  Rob Goldring Things every update replication customer should know (abstract) , 1995, SIGMOD 1995.

[17]  Esther Pacitti,et al.  Improving Data Freshness in Replicated Databases , 1998 .

[18]  Patrick Valduriez,et al.  Replicated Databases: concepts, Architectures and Techniques , 1998, Netw. Inf. Syst. J..

[19]  Philip A. Bernstein,et al.  An algorithm for concurrency control and recovery in replicated distributed databases , 1984, TODS.

[20]  George Schussel Database replication: playing both ends against the middleware , 1994 .

[21]  A BernsteinPhilip,et al.  An algorithm for concurrency control and recovery in replicated distributed databases , 1984 .

[22]  Marvin Theimer,et al.  Managing update conflicts in Bayou, a weakly connected replicated storage system , 1995, SOSP.

[23]  S. S. Ravi,et al.  Deferred updates and data placement in distributed databases , 1996, Proceedings of the Twelfth International Conference on Data Engineering.

[24]  Stephen R. Gardner Building the data warehouse , 1998, CACM.

[25]  Robert H. Thomas,et al.  A Majority consensus approach to concurrency control for multiple copy databases , 1979, ACM Trans. Database Syst..

[26]  Hector Garcia-Molina,et al.  Database Support for Efficiently Maintaining Derived Data , 1996, EDBT.

[27]  Rob Golding Things every update replication customer should know (abstract) , 1995, SIGMOD '95.

[28]  Andreas Reuter,et al.  Transaction Processing: Concepts and Techniques , 1992 .

[29]  Richard A. Golding,et al.  Weak-consistency group communication and membership , 1992 .

[30]  Charles W. Kaufman,et al.  Using History Information to Process Delayed Database Updates , 1986, VLDB.