×

DELTA STORE GIVING ROW-LEVEL VERSIONING SEMANTICS TO A NON-ROW-LEVEL VERSIONING UNDERLYING STORE

  • US 20150046413A1
  • Filed: 08/06/2013
  • Published: 02/12/2015
  • Est. Priority Date: 08/06/2013
  • Status: Active Grant
First Claim
Patent Images

1. A method for a database system, comprising:

  • establishing a column-based in-memory database including a main store and a delta store, wherein the main store does not allow concurrent transactions on a same table and the delta store has a plurality of row-visibility bitmaps implementing a row-level versioning mechanism that allows concurrent transactions on the same table;

    receiving a transaction associated with the column-based in-memory database;

    for each table read by the transaction, determining a version of the table in the delta store that represents a transaction-consistent snapshot of the database visible to the transaction, wherein each table is represented in the main store and the delta store, and each version of the table is represented by one or more bitmaps;

    upon execution of a Data Manipulation Language (DML) as part of the transaction, for each table written by the transaction, recording data changes generated by the transaction in the one or more bitmaps that represent a private version of the table; and

    upon commit of the transaction, for each table written by the transaction, generating a new public version of the table based on the private version of the table, wherein the public version represents a new transaction-consistent snapshot of the database visible to subsequent transactions.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×