Patent ID: 8930323
Filing Date: 2015-01-06
Classification: G06F

Abstract:
1. A method for distributing data to a plurality of servers on which data is accessed from a client computer, the method comprising: placing, on each of the plurality of servers, a management table comprising a transaction ID and a value indicative of a state thereof, and a data table comprising a key value, a value, and a lock value; determining a transaction ID on the client computer to start a global transaction; starting a query local transaction on a server processing a local transaction among the plurality of servers; running a query in the query local transaction about all values being referred to in the local transaction; updating all values being updated in the local transaction to a combination of a value before being updated, a value being updated, and the transaction ID as a lock value on the data table; and committing the local transaction; wherein the step of starting the global transaction comprises: causing the client computer to generate the transaction ID; determining a server holding a management map representing a state of the global transaction based on the transaction ID; and starting a local transaction for map entries on the management map representing the state of the global transaction to acquire a lock; using the local transaction to change values of the map entries on the management map representing the state of the global transaction to Committed and to commit; and changing data being updated to current data for all map entries updated in the global transaction and executing a step of deleting data being updated and transaction IDs to terminate the global transaction.