首页> 外国专利> Record-level locking and page-level recovery in a database management system

Record-level locking and page-level recovery in a database management system

机译:数据库管理系统中的记录级锁定和页面级恢复

摘要

Disclosure of approaches for processing database transactions against a database. In one approach, a first transaction is received that specifies an operation for changing state of a first record stored in a first database page. In processing the operation, the state of the record is changed, and information is stored in a companion page. The information includes a transaction identifier, data describing the specified operation, a page identifier of the first page, a before look and an after look of the first record for an update operation, and an after look of the first record for an insert operation. In response to a commit of the first transaction, a process determines whether a second transaction, that specifies a change in state for a second stored in the first page, is in-process. In response to determining that the second transaction is in process, the companion page is stored in an audit trail. In response to determining that no such second transaction is in process, a transaction identifier of the first transaction and associated data of the first page are stored in the audit trail.
机译:公开了针对数据库处理数据库事务的方法。在一种方法中,接收第一交易,该第一交易指定用于改变存储在第一数据库页面中的第一记录的状态的操作。在处理操作时,记录的状态会更改,信息会存储在伴随页面中。该信息包括事务标识符,描述指定操作的数据,第一页的页面标识符,用于更新操作的第一记录的前外观和后外观以及用于插入操作的第一记录的后外观。响应于第一事务的提交,过程确定是否正在进行第二事务,该第二事务指定了存储在第一页面中的第二事务的状态改变。响应于确定第二交易正在进行中,伴随页面被存储在审计追踪中。响应于确定没有正在进行这样的第二交易,将第一交易的交易标识符和第一页的关联数据存储在审计追踪中。

著录项

  • 公开/公告号EP2113852A2

    专利类型

  • 公开/公告日2009-11-04

    原文格式PDF

  • 申请/专利权人 UNISYS CORPORATION;

    申请/专利号EP20090159181

  • 发明设计人 BRUSO KELSEY L.;PLASEK JAMES M.;

    申请日2009-04-30

  • 分类号G06F17/30;

  • 国家 EP

  • 入库时间 2022-08-21 19:14:42

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号