首页> 外国专利> Distributed multi-version commitment ordering protocols for guaranteeing serializability during transaction processing

Distributed multi-version commitment ordering protocols for guaranteeing serializability during transaction processing

机译:分布式多版本承诺订购协议,可确保交易处理期间的可序列化

摘要

In a multi-version database, copies of prior committed versions (snapshots) are kept for access by the read-only transactions. The read- write transactions are selectively aborted to enforce an order of commitment of read-write transactions that is the same as an order of conflicts among the read-write transactions. In a preferred embodiment, the read-write transactions are serialized by maintaining and referencing a graph of conflicts among read-write transactions, and the read-only transactions are serialized by a timestamp mechanism for selection of the snapshots to be read. Each time that a read-write transaction is committed, the read-write transaction is assigned a unique timestamp that is used to timestamp all resources committed by the read-write transaction. Upon starting, each read-only transaction is also assigned a timestamp. Each read-only transaction reads only the latest committed versions of all resources, that are timestamped earlier than the timestamp of the read-only transaction. In a multiprocessing system, the timestamps are issued to global coordinators and distributed locally with atomic commit messages and global queries. Moreover, read-write transactions may selectively access a hierarchy of uncommitted versions to prepare for various possible commitment orders. The hierarchy defines a path for record access and for cascading aborts. A plurality of mutually-conflicting uncommitted versions may be prepared for each transaction to prepare for all possible commitment orders.
机译:在多版本数据库中,保留先前提交的版本(快照)的副本以供只读事务访问。选择性地中止读写事务,以强制执行读写事务的承诺顺序,该顺序与读写事务之间的冲突顺序相同。在优选实施例中,通过维护并参考读写事务之间的冲突图来对读写事务进行序列化,并且通过时间戳机制来对只读事务进行串行化,以选择要读取的快照。每次提交读写事务时,都会为该读写事务分配唯一的时间戳,该时间戳用于为该读写事务提交的所有资源加上时间戳。启动时,还将为每个只读事务分配一个时间戳。每个只读事务仅读取所有资源的最新提交版本,该版本的时间戳早于只读事务的时间戳。在多处理系统中,时间戳被发布给全局协调器,并与原子提交消息和全局查询一起在本地分发。此外,读写事务可以选择性地访问未提交版本的层次结构,以准备各种可能的提交顺序。层次结构定义了用于记录访问和级联中止的路径。可以为每个事务准备多个相互冲突的未提交版本,以准备所有可能的提交订单。

著录项

  • 公开/公告号US5701480A

    专利类型

  • 公开/公告日1997-12-23

    原文格式PDF

  • 申请/专利权人 DIGITAL EQUIPMENT CORPORATION;

    申请/专利号US19930047271

  • 发明设计人 YOAV RAZ;

    申请日1993-04-14

  • 分类号G06F15/00;

  • 国家 US

  • 入库时间 2022-08-22 02:40:35

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号