Deleting records in a multi-level storage architecture without record locks
First Claim
1. In a unified table architecture of an in-memory computing system having a multi-level storage architecture, the multi-level storage architecture having a first level storage structure to store incoming data requests in a logical row format as data records, a second level storage structure to encode and store the data records in a logical column format, and a main memory to compress and store the encoded data records for long-term storage, the main memory being partitioned into a passive main part and an active main part, a method comprising:
- determining, by one or more processors, whether a record of the data records located in the first level storage structure has an uncommitted write operation;
if the record has the uncommitted write operation, keeping, by the one or more processors, the record in the first level storage structure;
if the record does not have the uncommitted write operation;
executing, by the one or more processors, data change operations on the record;
moving, by the one or more processors, the record from the first level storage to the second level storage;
adding, by the one or more processors, record-moved version information to the record to designate that the record has been moved from the first level storage structure to the second level storage structure; and
merging, by the one or more processors, the record in the second level storage structure into the active main part, the merging into the active main part being based on an encoding scheme specific to a dictionary of the active main part, the dictionary of the active main part being separate from and dependent on a dictionary of the passive main part.
2 Assignments
0 Petitions
Accused Products
Abstract
The multi-level storage system and method of deleting first level storage structure pages or records without record locks. The method includes determining whether a record to be deleted from the first level storage structure has any uncommitted write operation, and if the record has an uncommitted write operation, the record is kept in the first level storage structure. Record-moved version information is added to the record to designate the record being moved from the first level storage structure to the second level storage structure. Data change operations are executed for the record based on the record-moved version information without waiting until the record'"'"'s movement from the first level storage structure to the second level storage structure finishes.
-
Citations
18 Claims
-
1. In a unified table architecture of an in-memory computing system having a multi-level storage architecture, the multi-level storage architecture having a first level storage structure to store incoming data requests in a logical row format as data records, a second level storage structure to encode and store the data records in a logical column format, and a main memory to compress and store the encoded data records for long-term storage, the main memory being partitioned into a passive main part and an active main part, a method comprising:
-
determining, by one or more processors, whether a record of the data records located in the first level storage structure has an uncommitted write operation; if the record has the uncommitted write operation, keeping, by the one or more processors, the record in the first level storage structure; if the record does not have the uncommitted write operation; executing, by the one or more processors, data change operations on the record; moving, by the one or more processors, the record from the first level storage to the second level storage; adding, by the one or more processors, record-moved version information to the record to designate that the record has been moved from the first level storage structure to the second level storage structure; and merging, by the one or more processors, the record in the second level storage structure into the active main part, the merging into the active main part being based on an encoding scheme specific to a dictionary of the active main part, the dictionary of the active main part being separate from and dependent on a dictionary of the passive main part. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A computer implemented method comprising:
-
providing a multi-level storage architecture having a first level storage structure to store incoming data requests in a logical row format as data records, a second level storage structure to encode and store the data records in a logical column format, and a main memory to compress and store the encoded data records for long-term storage, the main memory being partitioned into a passive main part and an active main part; determining whether a record located in the first level storage structure has an uncommitted write operation; if the record has the uncommitted write operation, keeping the record in the first level storage structure; if the record does not have the uncommitted write operation; executing data change operations on the record; moving the record from the first level storage to the second level storage; adding record-moved version information to the record to designate that the record has been moved from the first level storage structure to the second level storage structure; and merging the record in the second level storage structure into the active main part, the merging into the active main part being based on an encoding scheme specific to a dictionary of the active main part, the dictionary of the active main part being separate from and dependent on a dictionary of the passive main part. - View Dependent Claims (13, 14, 15)
-
-
16. A system comprising:
-
at least one programmable processor; a multi-level storage architecture, the multi-level storage architecture having a first level storage structure to store incoming data requests in a logical row format as data records, a second level storage structure to encode and store the data records in a logical column format, and a main memory to compress and store the encoded data records for long-term storage, the main memory being partitioned into a passive main part and an active main part; and a 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 a record of the data records located in the first level storage structure has an uncommitted write operation; if the record has the uncommitted write operation, keeping the record in the first level storage structure; if the record does not have the uncommitted write operation; executing data change operations on the record; moving the record from the first level storage to the second level storage; adding record-moved version information to the record to designate has been moved from the first level storage structure to the second level storage structure; and merging the record in the second level storage structure into the active main part, the merging into the active main part being based on an encoding scheme specific to a dictionary of the active main part, the dictionary of the active main part being separate from and dependent on a dictionary of the passive main part. - View Dependent Claims (17, 18)
-
Specification