×

System and method for writing data dependent upon multiple reads in a distributed database

  • US 7,895,172 B2
  • Filed: 02/19/2008
  • Issued: 02/22/2011
  • Est. Priority Date: 02/19/2008
  • Status: Active Grant
First Claim
Patent Images

1. A distributed computer system for updating data tables, comprising:

  • a plurality of database servers operably coupled to provide a distributed database stored across the plurality of database servers;

    a query processor operably coupled to at least one of the plurality of database servers for performing a transaction to update data by writing a single data record dependent upon a plurality of data records previously read from the distributed database; and

    a storage manager operably coupled to the query processor for writing the single data record to a data table in the distributed database,and an information storage device comprising instructions for validating that the plurality of data records received are current versions of the plurality of data records in the distributed database; and

    writing a single data record dependent upon a plurality of data records previously read from the distributed database comprises determining whether the dependent data records are valid and writing the single data record based on whether the dependent data records are valid;

    wherein validating that the plurality of data records received are current versions of the plurality of data records comprises;

    reading the current versions of the plurality of data records from the distributed database; and

    determining whether there is any local lock on any of the current versions of the plurality of data records.

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