Abstract:
Problem To cause a system to operate efficiently regardless of the time of day. Solving Means There is provided a system including multiple application servers for accessing shared data and a centralized control unit for centrally controlling a lock applied to the shared data by each of the application servers. Each of the application servers includes a distributed control unit for controlling a lock applied to the shared data by the application server and a selection unit for selecting any one of distributed mode in which a lock is acquired from the distributed control unit and centralized mode in which a lock is acquired from the centralized control unit.
Abstract:
[PROBLEMS] Access efficiency to data base is enhanced. [MEANS FOR SOLVING PROBLEMS] A data base stores a value corresponding to each one of a plurali ty of keys. A system of the present invention executes a plurality of transa ctions on the data base, acquires a referred value of a key from the data ba se which is referred to each transaction in response to its execution, and r ecords the same. In compliance with requests committed in a plurality of tra nsactions, a reply is then requested for a result table judged and arranged for result of each transaction to show whether the values of the keys stored in the database remain unchanged by other transactions and maintain the ref erred values as they are. Further, it is judged whether each transaction is successful based on the result table in reply and a transaction judged to be successful is only committed.