A transaction processing method, wherein the method comprises: receiving multiple to-be-processed transactions, and for each to-be-processed transaction: determining whether the to-be-processed transaction is a single-partition transaction or a multi-partition transaction, wherein the single-partition transaction is a transaction of performing an operation in a single data partition and the multi-partition transaction is a transaction of performing an operation in at least two data partitions; when the to-be-processed transaction is a multi-partition transaction, if a transaction type of the multi-partition transaction is a read transaction, adding the multi-partition transaction to a first read transaction queue, otherwise if a transaction type of the multi-partition transaction is a write transaction, adding the multi-partition transaction to a first write transaction queue; when the to-be-processed transaction is a single-partition transaction, if a transaction type of the single-partition transaction is a read transaction, adding the single-partition transaction to a second read transaction queue of a corresponding data partition, otherwise if a transaction type of the single-partition transaction is a write transaction, adding the single-partition transaction to a second write transaction queue of a corresponding data partition; in each write transaction queue, processing a next write transaction only after completing processing on a previous write transaction and in each read transaction queue, processing multiple read transactions in parallel; wherein, when the to-be-processed transaction is a multi-partition transaction, the method further comprises: obtaining data snapshots that correspond to the at least two data partitions and that meet consistency; and performing, based on the data snapshots that correspond to the at least two data partitions and that meet consistency, the operation corresponding to the to-be-processed transaction; wherein the read transaction queues and the write transaction queues are processed in parallel. determining whether the to-be-processed transaction is a single-partition transaction or a multi-partition transaction, wherein the single-partition transaction is a transaction of performing an operation in a single data partition and the multi-partition transaction is a transaction of performing an operation in at least two data partitions; when the to-be-processed transaction is a multi-partition transaction, if a transaction type of the multi-partition transaction is a read transaction, adding the multi-partition transaction to a first read transaction queue, otherwise if a transaction type of the multi-partition transaction is a write transaction, adding the multi-partition transaction to a first write transaction queue; when the to-be-processed transaction is a single-partition transaction, if a transaction type of the single-partition transaction is a read transaction, adding the single-partition transaction to a second read transaction queue of a corresponding data partition, otherwise if a transaction type of the single-partition transaction is a write transaction, adding the single-partition transaction to a second write transaction queue of a corresponding data partition; in each write transaction queue, processing a next write transaction only after completing processing on a previous write transaction and in each read transaction queue, processing multiple read transactions in parallel; wherein, when the to-be-processed transaction is a multi-partition transaction, the method further comprises: obtaining data snapshots that correspond to the at least two data partitions and that meet consistency; and performing, based on the data snapshots that correspond to the at least two data partitions and that meet consistency, the operation corresponding to the to-be-processed transaction; wherein the read transaction queues and the write transaction queues are processed in parallel. obtaining data snapshots that correspond to the at least two data partitions and that meet consistency; and performing, based on the data snapshots that correspond to the at least two data partitions and that meet consistency, the operation corresponding to the to-be-processed transaction; wherein the read transaction queues and the write transaction queues are processed in parallel.