Methods and apparatuses for generating redo records for cloud-based database
AssigneeHuawei Cloud Computing Technologies Co., Ltd.
InventorsJin CHEN, Alexandre DEPOUTOVITCH, Chong CHEN, Jack NG
Life of this patent
Estimating the term…
Abstract
Methods and apparatuses in a cloud-based database management system are described. Data in a database are stored in a plurality of pages in a page store of the database. A plurality of redo log records are received to be applied to the database. The redo log records within a predefined boundary are parsed to determine, for each given redo log record, a corresponding page to which the given log record is to be applied. The redo log records are reordered by corresponding page. The reordered redo log records are stored to be applied to the page store of the database.
Claims20
A method, in a cloud-based database, comprising:
- receiving a plurality of redo log records to be applied to a database, data in the database being stored in a plurality of pages in page stores;
- parsing the plurality of redo log records within a predefined boundary to determine, for each given redo log record, a corresponding page to which the given redo log record is to be applied;
- and
- reordering the plurality of redo log records by corresponding page;
- and
- storing the reordered redo log records to be applied to the page store of the database.
A computer-readable medium storing instructions thereon to be executed by a processor in a cloud-based database, the instructions, when executed, causing operations in a storage abstraction layer of the cloud-based database to:
- receive a plurality of redo log records to be applied to a database, data in the database being stored in a plurality of pages in a page store of the database;
- parse the plurality of log records within a predefined boundary to determine, for each given redo log record, a corresponding page to which the given redo log record is to be applied;
- and
- reorder the plurality of redo log records by corresponding page;
- and
- store the reordered redo log records to be applied to the page store of the database.
Dependencies are inferred from the claim text.