摘要 |
PURPOSE: A parallel logging method is provided to improve the system performance by preventing bottleneck from the log file. CONSTITUTION: The transaction processing system(100) consists of a transaction manager (120), which generates and manages the transaction according to the transaction start request, transaction arbitration parts(121), which indicates role of the transaction attendant and receives the results, transaction(130), log queue management part(140), log request queue saving part(141), log response queue saving part(142), log manager(150) and log saving part(160). When the applications request transactions by invoking begin function, the transaction manager generates some transaction and identifiers. After transactions, the applications request the termination of the transactions. The transaction manager gives instructions to the transaction arbitration part for prepare and commit. The logging is carried out on the end of the prepare and commit. If the transaction arbitration part requests logging to the log queue manager, it stores the request record in the log request queue saving part. The longest-waiting log manager gets the log request message, does the logging and sends the results.
|