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

TRANSACTION RECOVERY METHOD IN DATABASE SYSTEM AND DATABASE MANAGEMENT SYSTEM

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

摘要

The present application discloses a transaction recovery method in a database system and a database management system, where a storage device of the database system supports copy on write. The method includes: determining a to-be-recovered transaction in the database system, where the to-be-recovered transaction is not committed, and the to-be-recovered transaction has performed an update operation on data in the database system; obtaining, from an update operation log used to record the update operation that is performed on the data by the to-be-recovered transaction, a physical address of an old value of the data in the storage device, where the old value is a value of the data 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 invalid, so that a logical address of the data points to the physical address of the old value, where the new value is a value of the data after the update operation. In comparison with a conventional technology, in the present application, write operations can be effectively reduced during transaction recovery. Erase operations on the storage device are further reduced, thereby prolonging a lifetime of the storage device.
机译:本申请公开了一种数据库系统和数据库管理系统中的事务恢复方法,其中数据库系统的存储设备支持写时复制。该方法包括:确定数据库系统中的待恢复事务,其中未提交待恢复事务,并且待恢复事务已经对数据库系统中的数据执行了更新操作;从用于记录待恢复事务对数据执行的更新操作的更新操作日志中,获取存储设备中数据的旧值的物理地址,其中旧值是更新操作之前的数据;将数据的新值的物理地址替换为旧值的物理地址,并将新值的物理地址设置为无效,以使数据的逻辑地址指向旧值的物理地址,其中新值是更新操作后的数据值。与传统技术相比,在本申请中,可以在事务恢复期间有效地减少写操作。进一步减少了对存储设备的擦除操作,从而延长了存储设备的寿命。

著录项

  • 公开/公告号EP3441890A1

    专利类型

  • 公开/公告日2019-02-13

    原文格式PDF

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

    申请/专利号EP20170792430

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

    申请日2017-04-25

  • 分类号G06F17/30;

  • 国家 EP

  • 入库时间 2022-08-21 12:27:04

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号