skip to main content
research-article

ConfluxDB: multi-master replication for partitioned snapshot isolation databases

Published:01 July 2014Publication History
Skip Abstract Section

Abstract

Lazy replication with snapshot isolation (SI) has emerged as a popular choice for distributed databases. However, lazy replication often requires execution of update transactions at one (master) site so that it is relatively easy for a total SI order to be determined for consistent installation of updates in the lazily replicated system. We propose a set of techniques that support update transaction execution over multiple partitioned sites, thereby allowing the master to scale. Our techniques determine a total SI order for update transactions over multiple master sites without requiring global coordination in the distributed system, and ensure that updates are installed in this order at all sites to provide consistent and scalable replication with SI. We present ConfluxDB, a PostgreSQL-based implementation of our techniques, and demonstrate its effectiveness through experimental evaluation.

References

  1. C. Amza, A. L. Cox, and W. Zwaenepoel. Distributed versioning: Consistent replication for scaling back-end databases of dynamic content web sites. In Middleware '03. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. H. Berenson, P. Bernstein, J. Gray, J. Melton, E. O'Neil, and P. O'Neil. A critique of ansi sql isolation levels. In SIGMOD, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. P. Bernstein and E. Newcomer. Principles of transaction processing. Morgan Kaufmann Publishers Inc., 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. P. A. Bernstein, C. W. Reid, and S. Das. Hyder - a transactional record manager for shared flash. In CIDR, 2011.Google ScholarGoogle Scholar
  5. M. A. Bornea, O. Hodson, S. Elnikety, and A. Fekete. One-copy serializability with snapshot isolation under the hood. In ICDE '11. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Y. Breitbart, R. Komondoor, R. Rastogi, S. Seshadri, and A. Silberschatz. Update propagation protocols for replicated databases. In SIGMOD '99. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Y. Breitbart and H. F. Korth. Replication and consistency: Being lazy helps sometimes. In PODS '97. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. E. Cecchet. C-jdbc: A middleware framework for database clustering. IEEE Data Eng. Bull., 27(2): 19--26, 2004.Google ScholarGoogle Scholar
  9. P. Chairunnanda. Multi-Master Replication for Snapshot Isolation Databases. Master's thesis, University of Waterloo, 2013.Google ScholarGoogle Scholar
  10. K. Daudjee and K. Salem. A Pure Lazy Technique for Scalable Transaction Processing in Replicated Databases. In ICPADS '05. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. K. Daudjee and K. Salem. Inferring a serialization order for distributed transactions. In ICDE '06. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. K. Daudjee and K. Salem. Lazy database replication with snapshot isolation. In Proceedings of the 32nd International Conference on Very Large Data Bases (VLDB), pages 715--726, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. J. Du, S. Elnikety, and W. Zwaenepoel. Clock-si: Snapshot isolation for partitioned data stores using loosely synchronized clocks. In SRDS '13. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. S. Elnikety, W. Zwaenepoel, and F. Pedone. Database replication using generalized snapshot isolation. SRDS '05. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. IBM. Log stream merging and log file management in a DB2 pureScale environment.Google ScholarGoogle Scholar
  16. IBM. DB2 Universal Database Replication Guide and Reference, 2000. version 7.Google ScholarGoogle Scholar
  17. R. Jimenez-Peris, M. Patino-Martinez, G. Alonso, and B. Kemme. Improving the scalability of fault-tolerant database clusters. In ICDCS '02. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. B. Kemme and G. Alonso. A new approach to developing and implementing eager database replication protocols. ACM Transactions on Database Systems, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. K. Krikellas, S. Elnikety, Z. Vagena, and O. Hodson. Strongly consistent replication for a bargain. In ICDE '10.Google ScholarGoogle Scholar
  20. L. Lamport. Time, clocks, and the ordering of events in a distributed system. CACM, 21(7), 1978. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. P.-A. Larson, J. Goldstein, and J. Zhou. MTCache: Mid-Tier Database Caching in SQL Server. In ICDE '04. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. Y. Lin, B. Kemme, M. Patiño-Martínez, and R. Jiménez-Peris. Middleware based data replication providing snapshot isolation. In SIGMOD Conference, pages 419--430, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. C. Liu, B. G. Lindsay, S. Bourbonnais, E. Hamel, T. C. Truong, and J. Stankiewitz. Capturing global transactions from multiple recovery log files in a partitioned database system. In VLDB '03. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. D. B. Lomet, R. S. Barga, M. F. Mokbel, G. Shegalov, R. Wang, and Y. Zhu. Transaction time support inside a database engine. In ICDE '06. Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. Q. Luo, S. Krishnamurthy, C. Mohan, H. Pirahesh, H. Woo, B. G. Lindsay, and J. F. Naughton. Middle-tier database caching for e-business. In SIGMOD '02. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. E. Pacitti, M. T. Özsu, and F. Coulon. Preventive multi-master replication in a cluster of autonomous databases. In Euro-Par 2003.Google ScholarGoogle ScholarCross RefCross Ref
  27. C. Plattner and G. Alonso. Ganymed: Scalable replication for transactional web applications. In Middleware '04. Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. Postgres-XC Development Group. GTM and Global Transaction Management.Google ScholarGoogle Scholar
  29. The PostgreSQL Global Development Group. PostgreSQL: Documentation: 9.1: Partitioning, 2012.Google ScholarGoogle Scholar
  30. R. Schenkel, G. Weikum, N. Weissenberg, and X. Wu. Federated transaction management with snapshot isolation. In TDD '99. Google ScholarGoogle ScholarDigital LibraryDigital Library
  31. Y. Sovran, R. Power, M. K. Aguilera, and J. Li. Transactional storage for geo-replicated systems. In SOSP '11. Google ScholarGoogle ScholarDigital LibraryDigital Library
  32. R. H. Thomas. A majority consensus approach to concurrency control for multiple copy databases. TODS, 1979. Google ScholarGoogle ScholarDigital LibraryDigital Library
  33. A. Thomson, T. Diamond, S.-C. Weng, K. Ren, P. Shao, and D. J. Abadi. Calvin: fast distributed transactions for partitioned database systems. In SIGMOD, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  34. P. S. Yu, M. Chen, H. Heiss, and S. Lee. On workload characterization of relational database environments. IEEE TSE, 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  35. Y. Zhuge, H. Garcia-Molina, and J. L. Wiener. Consistency algorithms for multi-source warehouse view maintenance. DAPD, 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. ConfluxDB: multi-master replication for partitioned snapshot isolation databases
        Index terms have been assigned to the content through auto-classification.

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in

        Full Access

        • Published in

          cover image Proceedings of the VLDB Endowment
          Proceedings of the VLDB Endowment  Volume 7, Issue 11
          July 2014
          92 pages
          ISSN:2150-8097
          Issue’s Table of Contents

          Publisher

          VLDB Endowment

          Publication History

          • Published: 1 July 2014
          Published in pvldb Volume 7, Issue 11

          Qualifiers

          • research-article

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader