×

Differentiated secondary index maintenance in log structured NoSQL data stores

  • US 9,218,383 B2
  • Filed: 03/15/2013
  • Issued: 12/22/2015
  • Est. Priority Date: 03/15/2013
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for operating multi-node data stores, the method comprising:

  • storing at least one data table in at least one first computing node;

    storing at least one index table in at least one second computing node, the index table providing keys used for accessing data in said first computing node and other multi-node data stores; and

    performing operations that update or read the at least one data table accessed from the at least one first computing node and the at least one index table accessed from the at least one second computing node, the operations optimizing between latency in updating or reading the at least one data table and the at least one index table and data consistency maintained between data entries in the at least one data table and data entries pointed by indices in the at least one index table,wherein the data recorded in the at least one data table includes at least one tuple <

    k, v, t>

    , where k represents a key, v represents a new value of the key, and t represents a timestamp which indicates that the new value of the key is added to the at least one data table, and said method further comprises;

    synchronously inserting a new index entry into the at least one index table upon inserting a corresponding new data entry to the at least one data table, andsynchronously deleting a corresponding stale index entry in the at least one index table upon the insertion of the corresponding new index entry to the at least one index table,wherein the new data entry is represented by the tuple <

    k, v, t>

    , to the at least one data table, and the new index entry inserted into the at least one index table is represented by a tuple <

    v⊕

    k, null, t>

    , where ⊕

    represents a byte array concatenation operation.

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