首页> 外文期刊>ACM transactions on database systems >B-Tree Concurrency Control and Recovery in Page-Server Database Systems
【24h】

B-Tree Concurrency Control and Recovery in Page-Server Database Systems

机译:页面服务器数据库系统中的B树并发控制和恢复

获取原文

摘要

We develop new algorithms for the management of transactions in a page-shipping client-server database system in which the physical database is organized as a sparse B-tree index. Our starvation-free fine-grained locking protocol combines adaptive callbacks with key-range locking and guarantees repeatable-read-level isolation (i.e., serializability) for transactions containing any number of record insertions, record deletions, and key-range scans. Partial and total rollbacks of client transactions are performed by the client. Each structure modification such as a page split or merge is defined as an atomic action that affects only two levels of the B-tree and is logged using a single redo-only log record, so that the modification never needs to be undone during transaction rollback or restart recovery. The steal-and-no-force buffering policy is applied by the server when flushing updated pages onto disk and by the clients when shipping updated data pages to the server, while pages involved in a structure modification are forced to the server when the modification is finished. The server performs the restart recovery from client and system failures using an AEIES/CSA-based recovery protocol. Our algorithms avoid accessing stale data but allow a data page to be updated by one client transaction and read by many other client transactions simultaneously, and updates may migrate from a data page to another in structure modifications caused by other transactions while the updating transaction is still active.
机译:我们开发了一种新的算法,用于在将物理数据库组织为稀疏B树索引的页面装运客户端-服务器数据库系统中进行事务管理。我们的无饥饿细粒度锁定协议将自适应回调与键范围锁定相结合,并为包含任意数量的记录插入,记录删除和键范围扫描的事务提供了可重复的读取级别隔离(即可序列化)。客户事务的部分和全部回滚是由客户执行的。每个结构修改(例如页面拆分或合并)都被定义为原子操作,该操作仅影响B树的两个级别,并且使用单个仅重做日志记录进行记录,因此在事务回滚期间无需撤消修改或重新启动恢复。当将更新的页面刷新到磁盘上时,服务器将应用窃取和无力缓冲策略;将更新的数据页面发送到服务器时,将由客户端应用,而当结构修改时,涉及结构修改的页面将被强制应用到服务器。完成。服务器使用基于AEIES / CSA的恢复协议从客户端和系统故障中执行重新启动恢复。我们的算法避免访问过时的数据,但允许一个客户事务更新数据页并同时被许多其他客户事务读取,并且在更新事务仍然存在的情况下,更新可能会由于其他事务引起的结构修改而从数据页迁移到另一个数据页活性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号