Patent ID: 7490179
Filing Date: 2009-02-10
Classification: G06F

Abstract:
1. A computer device for writing transaction data into a disk in write-through mode or a disk and a memory in write-behind mode, comprising: a queue management table for managing a plurality of queues comprising at least one write disk queue and one write memory queue which store the transaction data; queue manager means for obtaining load information and for registering the write memory queue in the queue management table when load exceeds a predetermined threshold value for writing transaction data in write-behind mode, and for deleting the write memory queue in the queue management table when the load is below or equal to the predetermined threshold value for writing transaction data in write-through mode; write disk means for receiving the transaction data stored in the write disk queue, and for writing the received transaction data into the disk; and write memory means for receiving the transaction data stored in the write memory queue, and for writing the received transaction data into a redundant memory, wherein the queue manager means further includes means for applying exclusive locks to the write disk queue and to the write memory queue.