An Evaluation of the Advantages and Disadvantages of Deterministic Database Systems

被引:41
|
作者
Ren, Kun [1 ]
Thomson, Alexander [2 ]
Abadi, Daniel J. [3 ]
机构
[1] Northwestern Polytech Univ, Xian, Shaanxi, Peoples R China
[2] Google, Mountain View, CA USA
[3] Yale Univ, New Haven, CT 06520 USA
来源
PROCEEDINGS OF THE VLDB ENDOWMENT | 2014年 / 7卷 / 10期
基金
美国国家科学基金会; 中国国家自然科学基金;
关键词
D O I
10.14778/2732951.2732955
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Recent proposals for deterministic database system designs argue that deterministic database systems facilitate replica-tion since the same input can be independently sent to two different replicas without concern for replica divergence. In addition, they argue that determinism yields performance benefits due to (1) the introduction of deadlock avoidance techniques, (2) the reduction (or elimination) of distributed commit protocols, and (3) lightweight locking. However, these performance benefits are not universally applicable, and there exist several disadvantages of determinism, including (1) the additional overhead of processing transactions for which it is not known in advance what data will be accessed, (2) an inability to abort transactions arbitrarily (e.g., in the case of database or partition overload), and (3) the increased latency required by a preprocessing layer that ensures that the same input is sent to every replica. This paper presents a thorough experimental study that carefully investigates both the advantages and disadvantages of deter-minism, in order to give a database user a more complete understanding of which database to use for a given database workload and cluster configuration.
引用
收藏
页码:821 / 832
页数:12
相关论文
共 50 条