Back to Search
Start Over
Asymmetric-partition replication for highly scalable distributed transaction processing in practice
- Source :
- Proceedings of the VLDB Endowment. 13:3112-3124
- Publication Year :
- 2020
- Publisher :
- Association for Computing Machinery (ACM), 2020.
-
Abstract
- Database replication is widely known and used for high availability or load balancing in many practical database systems. In this paper, we show how a replication engine can be used for three important practical cases that have not previously been studied very well. The three practical use cases include: 1) scaling out OLTP/OLAP-mixed workloads with partitioned replicas, 2) efficiently maintaining a distributed secondary index for a partitioned table, and 3) efficiently implementing an online re-partitioning operation. All three use cases are crucial for enabling a high-performance shared-nothing distributed database system. To support the three use cases more efficiently, we propose the concept of asymmetric-partition replication , so that replicas of a table can be independently partitioned regardless of whether or how its primary copy is partitioned. In addition, we propose the optimistic synchronous commit protocol which avoids the expensive two-phase commit without sacrificing transactional consistency. The proposed asymmetric-partition replication and its optimized commit protocol are incorporated in the production versions of the SAP HANA in-memory database system. Through extensive experiments, we demonstrate the significant benefits that the proposed replication engine brings to the three use cases.
- Subjects :
- Distributed database
Transaction processing
Computer science
Distributed computing
General Engineering
020206 networking & telecommunications
02 engineering and technology
Commit
Partition (database)
Replication (computing)
SAP HANA
020204 information systems
High availability
0202 electrical engineering, electronic engineering, information engineering
Online transaction processing
Subjects
Details
- ISSN :
- 21508097
- Volume :
- 13
- Database :
- OpenAIRE
- Journal :
- Proceedings of the VLDB Endowment
- Accession number :
- edsair.doi...........87ae147a4994b18be339770ba1f166a4
- Full Text :
- https://doi.org/10.14778/3415478.3415538