Transaction processing method and apparatus, and computer system
摘要:
A transaction processing method, an apparatus, and a computer system are provided. According to the method, after receiving a transaction processing request, status information of the transaction is recorded in a non-volatile memory, where the transaction processing request carries transaction data of a transaction, where the status information of the transaction includes a transaction status, a transaction identifier, and an address, and where the transaction status is an uncommitted state. The transaction data is written to the non-volatile memory according to the address. Then, the transaction status of the transaction is modified to a committed state according to the transaction identifier. Further, after writing the transaction data to an external memory of the computer system from the non-volatile memory, the transaction status of the transaction is modified to a backup state according to the transaction identifier. A transaction data processing speed can be increased in the foregoing manner.
信息查询
0/0