Database replication using generalized snapshot isolation

被引:70
|
作者
Elnikety, S [1 ]
Pedone, F [1 ]
Zwaenepoel, W [1 ]
机构
[1] Ecole Polytech Fed Lausanne, Sch Comp & Commun Sci, CH-1015 Lausanne, Switzerland
来源
24TH IEEE SYMPOSIUM ON RELIABLE DISTRIBUTED SYSTEMS, PROCEEDINGS | 2005年
关键词
D O I
10.1109/RELDIS.2005.14
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Generalized snapshot isolation extends snapshot isolation as used in Oracle and other databases in a manner suitable for replicated databases. While (conventional) snapshot isolation requires that transactions observe the "latest" snapshot of the database, generalized snapshot isolation allows the use of "older" snapshots, facilitating a replicated implementation. We show that many of the desirable properties of snapshot isolation remain. In particular read-only transactions never block or abort and they do not cause update transactions to block or abort. Moreover, under certain assumptions on the transaction workload the execution is serializable. An implementation of generalized snapshot isolation can choose which past snapshot it uses. An interesting choice for a replicated database is prefix-consistent snapshot isolation, in which the snapshot contains at least all the writes of locally committed transactions. We present two implementations of prefix-consistent snapshot isolation. We conclude with an analytical performance model of one implementation, demonstrating the benefits, in particular reduced latency for read-only transactions, and showing that the potential downsides, in particular change in abort rate of update transactions, are limited.
引用
收藏
页码:73 / 84
页数:12
相关论文
共 50 条
  • [31] From Object Replication to Database Replication
    Pedone, Fernando
    Oliveira, Rui
    LADC: 2009 4TH LATIN-AMERICAN SYMPOSIUM ON DEPENDABLE COMPUTING, 2009, : 135 - 135
  • [32] VIPER: A Fast Snapshot Isolation Checker
    Zhang, Jian
    Ji, Ye
    Mu, Shuai
    Tan, Cheng
    PROCEEDINGS OF THE EIGHTEENTH EUROPEAN CONFERENCE ON COMPUTER SYSTEMS, EUROSYS 2023, 2023, : 654 - 671
  • [33] Federated transaction management with snapshot isolation
    Schenkel, R
    Weikum, G
    Weissenberg, N
    Wu, XQ
    TRANSACTIONS AND DATABASE DYNAMICS, 2000, 1773 : 1 - 25
  • [34] Constraint-preserving snapshot isolation
    Hegner, Stephen J.
    ANNALS OF MATHEMATICS AND ARTIFICIAL INTELLIGENCE, 2016, 76 (3-4) : 281 - 326
  • [35] Checking Robustness Against Snapshot Isolation
    Beillahi, Sidi Mohamed
    Bouajjani, Ahmed
    Enea, Constantin
    COMPUTER AIDED VERIFICATION, CAV 2019, PT II, 2019, 11562 : 286 - 304
  • [36] Integrating snapshot isolation into transactional federations
    Schenkel, R
    Weikum, G
    COOPERATIVE INFORMATION SYSTEMS, PROCEEDINGS, 2000, 1901 : 90 - 101
  • [37] Transaction Chopping for Parallel Snapshot Isolation
    Cerone, Andrea
    Gotsman, Alexey
    Yang, Hongseok
    DISTRIBUTED COMPUTING (DISC 2015), 2015, 9363 : 388 - 404
  • [38] Constraint-preserving snapshot isolation
    Stephen J. Hegner
    Annals of Mathematics and Artificial Intelligence, 2016, 76 : 281 - 326
  • [39] Precisely Serializable Snapshot Isolation (PSSI)
    Revilak, Stephen
    O'Neil, Patrick
    O'Neil, Elizabeth
    IEEE 27TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE 2011), 2011, : 482 - 493
  • [40] Database replication explained
    Watterson, K
    DATAMATION, 1996, 42 (15): : 62 - &