×

Conditional commit for data in a database

  • US 9,286,341 B2
  • Filed: 06/17/2014
  • Issued: 03/15/2016
  • Est. Priority Date: 03/05/2009
  • Status: Active Grant
First Claim
Patent Images

1. A database, comprising:

  • a database interface, wherein the database interface enables a first transaction comprising a reading of a first set of information from the database at the same time as a second transaction comprising a second conditional write command of at least one element in the first set of information;

    a database updater, wherein the database updater;

    updates, using a processor, the first set of information according to a write command as part of the first transaction;

    receives the second transaction comprising the second conditional write command for updating the at least one element in the first set of information in the database, wherein the second conditional write command includes one or more conditions based at least in part on a value of a database entry of the first set of information, wherein the one or more conditions limit changes allowable to the value of the database entry of the first set of information that occurred after the reading of the first set of information from the database, wherein the one or more conditions detect corruption of data and allow the database to execute read and write commands at full speed in order to reduce overhead associated with access locking;

    updates the at least one element of the first set of information in the event that the one or more conditions in the second conditional write command is met; and

    in the event that the one or more conditions in the second conditional write command is not met, abort the second transaction.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×