Database recovery method and apparatus
AssigneeHuawei Cloud Computing Technologies Co., Ltd.
InventorsCheng Zhao, Lengdong Wu, Chenyang Niu, Meng Wang, Jiwei Zhang
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Cloud Computing Technologies Co., Ltd.
InventorsCheng Zhao, Lengdong Wu, Chenyang Niu, Meng Wang, Jiwei Zhang
Estimating the term…
This application discloses a database recovery method and apparatus, and pertains to the field of database technologies. After receiving a recovery instruction for a database, a computer device queries, based on a recovery moment indicated by the recovery instruction, an LSN and time association log for an LSN corresponding to the recovery moment, obtains recovery data of the database based on the LSN corresponding to the recovery moment, and performs data recovery on the database based on the recovery data. Then, a start LSN used by a database corresponding to the recovery moment is greater than an LSN corresponding to a current moment. After the database is rolled back from the current moment to a historical moment, an LSN greater than the LSN corresponding to the current moment is applied to the database starting from the LSN corresponding to the current moment.
A database recovery method, wherein the method comprises:
A database recovery apparatus, comprising:
A non-transitory machine-readable storage medium having instructions stored therein, which when executed by a processor, cause the processor to:
Dependencies are inferred from the claim text.