-
公开(公告)号:US20190073277A1
公开(公告)日:2019-03-07
申请号:US16182202
申请日:2018-11-06
Applicant: Huawei Technologies Co., Ltd.
Inventor: Xiaofeng Meng , Dongwang Sun
Abstract: A transaction recovery method in a database system and a database management system, where the database management system determines a transaction in the database system, which is not committed, and has performed an update operation on data in the database system, obtains, from an update operation log recording the update operation, 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, replaces a physical address of a new value of the data with the physical address of the old value, and sets the physical address of the new value to invalid such 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.