首页> 外文期刊>The VLDB journal >Distributed snapshot isolation: global transactions pay globally, local transactions pay locally
【24h】

Distributed snapshot isolation: global transactions pay globally, local transactions pay locally

机译:分布式快照隔离:全局事务在全球范围内支付,本地事务在本地范围内支付

获取原文
获取原文并翻译 | 示例
           

摘要

Modern database systems employ Snapshot Isolation to implement concurrency control and isolation because it promises superior query performance compared to lock-based alternatives. Furthermore, Snapshot Isolation never blocks readers, which is an important property for modern information systems, which have mixed workloads of heavy OLAP queries and short update transactions. This paper revisits the problem of implementing Snapshot Isolation in a distributed database system and makes three important contributions. First, a complete definition of Distributed Snapshot Isolation is given, thereby extending existing definitions from the literature. Based on this definition, a set of criteria is proposed to efficiently implement Snapshot Isolation in a distributed system. Second, the design space of alternative methods to implement Distributed Snapshot Isolation is presented based on this set of criteria. Third, a new approach to implement Distributed Snapshot Isolation is devised; we refer to this approach as Incremental. The results of comprehensive performance experiments with the TPC-C benchmark show that the Incremental approach significantly outperforms any other known method from the literature. Furthermore, the Incremental approach requires no a priori knowledge of which nodes of a distributed system are involved in executing a transaction. Also, the Incremental approach can execute transactions that involve data from a single node only with the same efficiency as a centralized database system. This way, the Incremental approach takes advantage of sharding or other ways to improve data locality. The cost for synchronizing transactions in a distributed system is only paid by transactions that actually involve data from several nodes. All these properties make the Incremental approach more practical than related methods proposed in the literature.
机译:现代数据库系统采用快照隔离来实现并发控制和隔离,因为与基于锁的替代方法相比,它具有更高的查询性能。此外,快照隔离永远不会阻塞读取器,这对于现代信息系统来说是重要的属性,因为现代信息系统具有繁重的OLAP查询和短暂的更新事务的混合工作负载。本文回顾了在分布式数据库系统中实现快照隔离的问题,并做出了三个重要贡献。首先,给出了分布式快照隔离的完整定义,从而扩展了文献中的现有定义。基于此定义,提出了一组标准,以在分布式系统中有效地实现快照隔离。其次,基于这套标准,介绍了实现分布式快照隔离的替代方法的设计空间。第三,设计了一种实现分布式快照隔离的新方法。我们将这种方法称为“增量”。使用TPC-C基准进行的综合性能实验的结果表明,增量方法明显优于文献中的任何其他已知方法。此外,增量式方法不需要先验知识即可知道分布式系统的哪些节点参与执行交易。同样,增量方法只能以与集中式数据库系统相同的效率执行涉及来自单个节点的数据的事务。这样,增量方法利用分片或其他方法来改善数据局部性。在分布式系统中同步事务的成本仅由实际上涉及来自多个节点的数据的事务支付。所有这些特性使增量方法比文献中提出的相关方法更加实用。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号