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
相关论文
共 32 条
  • [1] Adya A., 2000, Proceedings of 16th International Conference on Data Engineering (Cat. No.00CB37073), P67, DOI 10.1109/ICDE.2000.839388
  • [2] *AK TECHN INC, EDGESUITE ARCH ADV E
  • [3] Amza C., 2002, P 5 WORKSH WORKL CHA
  • [4] ATLURI V, 1997, ELSEVIER SCI, V39
  • [5] Ballintijn G., 2000, Operating Systems Review, V34, P41, DOI 10.1145/506106.506112
  • [6] Berenson H., 1995, SIGMOD Record, V24, P1, DOI 10.1145/568271.223785
  • [7] Bernstein P.A., 1987, Concurrency Control and Recovery in Database Systems
  • [8] *BORL SOFTW CORP, 2004, INTERBASE DOC
  • [9] Cecchet E., 2003, P ACM IFIP USENIX IN
  • [10] ELNIKETY S, GENERALIZED SNAPSHOT