首页> 外国专利> TRANSACTION RECOVERY METHOD IN DATABASE SYSTEM AND DATABASE MANAGEMENT SYSTEM

TRANSACTION RECOVERY METHOD IN DATABASE SYSTEM AND DATABASE MANAGEMENT SYSTEM

机译:数据库系统中的事务恢复方法及数据库管理系统

摘要

A transaction recovery method in a database system and a database management system. A storage device of the database system supports a copy-on-write mode. The method comprises: determining a transaction to be recovered in a database system, wherein the transaction to be recovered is not submitted, and the transaction to be recovered performs an update operation on data in the database system; acquiring, from an update operation log for recording the case where the transaction to be recovered performs the update operation on the data, a physical address of an old value of the data in a storage device, wherein the old value is a value before the update operation; and replacing a physical address of a new value of the data with the physical address of the old value, and setting the physical address of the new value to be invalid, such that a logic address of the data points to the physical address of the old value, wherein the new value is a value after the update operation. Compared with the traditional technology, the method can effectively reduce a write operation when a transaction is recovered, so as to reduce an erasing operation of a storage device. Thus, the service life of the storage device can be prolonged.
机译:数据库系统和数据库管理系统中的事务恢复方法。数据库系统的存储设备支持写时复制模式。该方法包括:确定要在数据库系统中恢复的事务,其中不提交要恢复的事务,并且要恢复的事务对数据库系统中的数据执行更新操作;从更新操作日志中获取用于记录要恢复的交易对数据进行更新操作的情况的数据在存储设备中的旧值的物理地址,其中旧值是更新前的值操作将数据的新值的物理地址替换为旧值的物理地址,并将新值的物理地址设置为无效,使得数据的逻辑地址指向旧值的物理地址值,其中新值是更新操作之后的值。与传统技术相比,该方法可以有效地减少恢复交易时的写操作,从而减少存储设备的擦除操作。因此,可以延长存储设备的使用寿命。

著录项

  • 公开/公告号WO2017190604A1

    专利类型

  • 公开/公告日2017-11-09

    原文格式PDF

  • 申请/专利权人 HUAWEI TECHNOLOGIES CO. LTD.;

    申请/专利号WO2017CN81819

  • 发明设计人 MENG XIAOFENG;SUN DONGWANG;

    申请日2017-04-25

  • 分类号G06F17/30;

  • 国家 WO

  • 入库时间 2022-08-21 13:29:07

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号