The Case for Determinism in Database Systems

被引:66
|
作者
Thomson, Alexander
Abadi, Daniel J.
机构
[1] Yale University, United States
来源
PROCEEDINGS OF THE VLDB ENDOWMENT | 2010年 / 3卷 / 01期
基金
美国国家科学基金会;
关键词
26;
D O I
10.14778/1920841.1920855
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Replication is a widely used method for achieving high availability in database systems. Due to the nondeterminism inherent in traditional concurrency control schemes, however, special care must be taken to ensure that replicas don't diverge. Log shipping, eager commit protocols, and lazy synchronization protocols are well-understood methods for safely replicating databases, but each comes with its own cost in availability, performance, or consistency. In this paper, we propose a distributed database system which combines a simple deadlock avoidance technique with concurrency control schemes that guarantee equivalence to a predetermined serial ordering of transactions. This effectively removes all nondeterminism from typical OLTP workloads, allowing active replication with no synchronization overhead whatsoever. Further, our system eliminates the requirement for two-phase commit for any kind of distributed transaction, even across multiple nodes within the same replica. By eschewing deadlock detection and two-phase commit, our system under many workloads outperforms traditional systems that allow nondeterministic transaction reordering.
引用
收藏
页码:70 / 80
页数:11
相关论文
共 50 条
  • [1] THE CASE FOR DETERMINISM
    GRENANDER, ME
    [J]. PMLA-PUBLICATIONS OF THE MODERN LANGUAGE ASSOCIATION OF AMERICA, 1995, 110 (02): : 262 - 263
  • [2] DETERMINISM IN PARALLEL SYSTEMS
    RAJLICH, V
    [J]. THEORETICAL COMPUTER SCIENCE, 1983, 26 (1-2) : 225 - 231
  • [3] THE CASE FOR DETERMINISM - REPLY
    BOOTH, W
    [J]. PMLA-PUBLICATIONS OF THE MODERN LANGUAGE ASSOCIATION OF AMERICA, 1995, 110 (02): : 263 - 264
  • [4] The false promise of technological determinism: the case of enterprise resource planning systems
    Grant, D
    Hall, R
    Wailes, N
    Wright, C
    [J]. NEW TECHNOLOGY WORK AND EMPLOYMENT, 2006, 21 (01) : 2 - 15
  • [5] On determinism in modal transition systems
    Benes, N.
    Kretinsky, J.
    Larsen, K. G.
    Srba, J.
    [J]. THEORETICAL COMPUTER SCIENCE, 2009, 410 (41) : 4026 - 4043
  • [6] On Reversibility and Determinism in P Systems
    Alhazov, Artiom
    Morita, Kenichi
    [J]. MEMBRANE COMPUTING, 2010, 5957 : 158 - 168
  • [7] Determinism and locality in quantum systems
    Dickson, WM
    [J]. SYNTHESE, 1996, 107 (01) : 55 - 82
  • [8] ABOUT DETERMINISM IN A CASE OF FRATRICIDE
    MARCHAND, P
    BASSE, F
    [J]. ANNALES MEDICO-PSYCHOLOGIQUES, 1986, 144 (05): : 531 - 534
  • [9] Application-tailored database systems: a case of aspects in an embedded database
    Tesanovic, A
    Sheng, K
    Hansson, J
    [J]. INTERNATIONAL DATABASE ENGINEERING AND APPLICATIONS SYMPOSIUM, PROCEEDINGS, 2004, : 291 - 301
  • [10] SYSTEMS FOR THE YEAR 2000 - THE CASE FOR AN INTEGRATED DATABASE
    STEAD, WW
    [J]. M D COMPUTING, 1991, 8 (02): : 103 - &