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 条
  • [1] Boosting database replication scalability through partial replication and 1-copy-snapshot-isolation
    Serrano, D.
    Patino-Martinez, M.
    Jimenez-Peris, R.
    Kemme, B.
    13TH PACIFIC RIM INTERNATIONAL SYMPOSIUM ON DEPENDABLE COMPUTING, PROCEEDINGS, 2007, : 290 - +
  • [2] Pangea: An Eager Database Replication Middleware guaranteeing Snapshot Isolation without Modification of Database Servers
    Mishima, Takeshi
    Nakamura, Hiroshi
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2009, 2 (01):
  • [3] Model-Based Performance Optimization of Generalized Snapshot Isolation in Database System
    Luo, Chao
    Okamura, Hiroyuki
    Dohi, Tadashi
    2012 9TH INTERNATIONAL CONFERENCE ON UBIQUITOUS INTELLIGENCE & COMPUTING AND 9TH INTERNATIONAL CONFERENCE ON AUTONOMIC & TRUSTED COMPUTING (UIC/ATC), 2012, : 494 - 500
  • [4] Second order snapshot-log relations: Supporting multi-directional database replication using asynchronous snapshot replication
    Ben-Chaim, Yochai
    Gal, Avigdor
    NEXT GENERATION INFORMATION TECHNOLOGIES AND SYSTEMS, PROCEEDINGS, 2006, 4032 : 221 - 236
  • [5] A Probabilistic Analysis of Snapshot Isolation with Partial Replication
    Bernabe-Gisbert, Josep M.
    Munoz-Escoi, Francesc D.
    Zuikeviciute, Vaide
    Pedone, Fernando
    PROCEEDINGS OF THE SYMPOSIUM ON RELIABLE DISTRIBUTED SYSTEMS, 2008, : 249 - +
  • [6] Correctness Criteria for Replicated Database Systems with Snapshot Isolation Replicas
    Armendariz-Inigo, J. E.
    Juarez-Rodriguez, J. R.
    Gonzalez de Mendivil, J. R.
    Munoz-Escoi, F. D.
    PODC'08: PROCEEDINGS OF THE 27TH ANNUAL ACM SYMPOSIUM ON PRINCIPLES OF DISTRIBUTED COMPUTING, 2008, : 422 - 422
  • [7] Efficient Snapshot Isolation in Paxos-Replicated Database Systems
    Guo, Jinwei
    Cai, Peng
    Xiao, Bing
    Qian, Weining
    Zhou, Aoying
    DATABASE SYSTEMS FOR ADVANCED APPLICATIONS (DASFAA 2018), PT II, 2018, 10828 : 649 - 665
  • [8] Web services model to snapshot replication over multiple database engines
    Erazo, Roberto
    Cobos, Carlos
    Mendoza, Martha
    REVISTA FACULTAD DE INGENIERIA-UNIVERSIDAD DE ANTIOQUIA, 2008, (44): : 144 - 157
  • [9] ConfluxDB: Multi-Master Replication for Partitioned Snapshot Isolation Databases
    Chairunnanda, Prima
    Daudjee, Khuzaima
    Oezsu, M. Tamer
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2014, 7 (11): : 947 - 958
  • [10] Multi-Clock Snapshot Isolation Concurrency Control for NVM Database
    Xuyang Liu
    Kang Chen
    Mengxing Liu
    Shiyu Cai
    Yongwei Wu
    Weimin Zheng
    TsinghuaScienceandTechnology, 2022, 27 (06) : 925 - 938