Deleting Records In A Multi-Level Storage Architecture
1 Assignment
0 Petitions
Accused Products
Abstract
Deleting a data record from the second level storage or main store is disclosed. A look-up is performed for the data record in the first level storage, where the data record is defined by a row identifier. If the row identifier is found in the first level storage, a look-up is performed for an updated row identifier representing an update of the data record in the second level storage and the main store, the update of the data record being defined by an updated row identifier. If the updated row identifier is found in the second level storage, an undo log is generated from the first level storage to invalidate a row identifier of the row identifier. A flag is generated representing an invalid updated row identifier, and a redo log is generated to restore the data record in the first level storage.
18 Citations
31 Claims
-
1-12. -12. (canceled)
-
13. A method to direct comprising:
-
determining whether an updated row identifier representing an update of a data record is present in a second level storage of a unified table architecture of an in-memory database having a multi-level storage architecture, the multi-level storage architecture comprising a first level storage structure to store incoming data requests in a logical row format as data records and the second level storage structure to encode and store the data records in a logical column format, the determining occurring in response to finding a row identifier for the data record in a table of the first level storage; and
,generating an undo log to invalidate the row identifier defining the data record in the table in the first level storage or generating, by one or more processors, a redo log to restore the data record in the first level storage, the generating of the undo log occurring in response to the determining that the updated row identifier is present in the second level storage and the generating of the undo log occurring in response to determining that the updated row identifier is not present in the second level storage; wherein the determining and the generating are performed by one or more processors. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20)
-
-
21. A computer implemented method comprising:
-
determining whether an updated row identifier representing an update of a data record is present in a second level storage of a unified table architecture of an in-memory database having a multi-level storage architecture, the multi-level storage architecture comprising a first level storage structure to store incoming data requests in a logical row format as data records and the second level storage structure to encode and store the data records in a logical column format, the determining occurring in response to finding a row identifier for the data record in a table of the first level storage; and
,generating an undo log to invalidate the row identifier defining the data record in the table in the first level storage or generating, by one or more processors, a redo log to restore the data record in the first level storage, the generating of the undo log occurring in response to the determining that the updated row identifier is present in the second level storage and the generating of the undo log occurring in response to determining that the updated row identifier is not present in the second level storage; wherein the determining and the generating are performed by one or more processors. - View Dependent Claims (22, 23)
-
-
24. A system comprising:
-
at least one programmable processor; a non-transitory, machine-readable medium storing instructions that, when executed by the at least one processor, cause the at least one programmable processor to perform operations comprising; determining whether an updated row identifier representing an update of a data record is present in a second level storage of a unified table architecture of an in-memory database having a multi-level storage architecture, the multi-level storage architecture comprising a first level storage structure to store incoming data requests in a logical row format as data records and the second level storage structure to encode and store the data records in a logical column format, the determining occurring in response to finding a row identifier for the data record in a table of the first level storage; and
,generating an undo log to invalidate the row identifier defining the data record in the table in the first level storage or generating, by one or more processors, a redo log to restore the data record in the first level storage, the generating of the undo log occurring in response to the determining that the updated row identifier is present in the second level storage and the generating of the undo log occurring in response to determining that the updated row identifier is not present in the second level storage. - View Dependent Claims (25, 26, 27, 28, 29, 30, 31)
-
Specification