The invention discloses a
distributed transaction processing method and
system, and belongs to the technical field of
database systems, the method is suitable for a
distributor, and the method comprises the following steps: obtaining
transaction processing information of a current to-be-processed transaction, determining a
target site for
processing the transaction, sending the
transaction processing information to the
target site, and sending the
transaction processing information to the
target site; after the target site receives the transaction
processing information, if new transaction processing information is not received within a preset time period, transaction processing is carried out according to the transaction processing information, and a transaction processing result is obtained and fed back; and otherwise, taking the current to-be-processed transaction and a new to-be-processed transaction received in the preset time period as target processing transactions, sorting according to the timestamps, sequentially processing the transactions, obtaining a transaction processing result, feeding back the transaction processing result to the
distributor, and feeding back the result by the
distributor according to the transaction processing result. By implementing the method and the device, the problem of low processing efficiency caused by transaction processing by using a traditional lock mechanism in the prior art can be solved.