Patent ID: 9026491
Filing Date: 2015-05-05
Classification: G06F

Abstract:
1. A parallel-processing apparatus for an active node in a database management system (DBMS) replicated into the active node and a standby node, the parallel-processing apparatus comprising a processor and a non-transitory computer-readable storage medium storing software modules comprising instructions for executing on the processor, the software modules comprising: a transaction allocation unit configured to allocate a plurality of master transactions to a plurality of master-transaction replication threads which are executed in parallel; a master-transaction replication parallel-processing unit configured to execute in parallel, processes for synchronous replication of transactions in parallel while maintaining consistency between the active node and the standby node, the execution comprising: a deadlock detection unit configured to detect a deadlock state between a plurality of pairs of the master transactions and the replicated transactions, the plurality of pairs comprising a pair of a first master transaction corresponding to a first replicated transaction and a pair of a second master transaction corresponding to a second replicated transaction, the deadlock state caused by the first master transaction waiting for the first replicated transaction and the second replicated transaction waiting for the second master transaction; and a master-transaction control unit configured to cancel at least one of the plurality of pairs of the master transactions and the replicated transactions for which the deadlock state is detected.