A data transaction processing method comprising: receiving an application request from a client to perform a data operation in a target data partition, the application request including a partition key corresponding to the target data partition and wherein a state can be set for the partition key which includes a locked state or an unlocked state; determining whether the partition key corresponding to the target data partition received in the application request is locked; in response to determining that the partition key corresponding to the target data partition is in an unlocked state, creating a corresponding data transaction according to the application request, assigning a transaction identifier to the data transaction, and updating the partition key to a locked state; in response to determining that the partition key corresponding to the target data partition is in a locked state, making a response indicating an application failure for the application request for performing the data operation under the partition key received from the client, no database transaction is created, and no transaction identifier is assigned; in response to determining that a transaction identifier is assigned, returning the transaction identifier that is assigned to the data transaction to the client; receiving a data operation carrying the transaction identifier from the client for performing the data operation on the target data partition; performing the data operation based on the target data partition according to the data operation that carries the transaction identifier and is sent by the client; receiving a transaction instruction for processing the data transaction from the client based on the transaction identifier prior to performing the data operation; and processing the data transaction according to the transaction instruction sent by the client, wherein the transaction instruction includes a transaction commit instruction or a transaction cancel instruction. receiving an application request from a client to perform a data operation in a target data partition, the application request including a partition key corresponding to the target data partition and wherein a state can be set for the partition key which includes a locked state or an unlocked state; determining whether the partition key corresponding to the target data partition received in the application request is locked; in response to determining that the partition key corresponding to the target data partition is in an unlocked state, creating a corresponding data transaction according to the application request, assigning a transaction identifier to the data transaction, and updating the partition key to a locked state; in response to determining that the partition key corresponding to the target data partition is in a locked state, making a response indicating an application failure for the application request for performing the data operation under the partition key received from the client, no database transaction is created, and no transaction identifier is assigned; in response to determining that a transaction identifier is assigned, returning the transaction identifier that is assigned to the data transaction to the client; receiving a data operation carrying the transaction identifier from the client for performing the data operation on the target data partition; performing the data operation based on the target data partition according to the data operation that carries the transaction identifier and is sent by the client; receiving a transaction instruction for processing the data transaction from the client based on the transaction identifier prior to performing the data operation; and processing the data transaction according to the transaction instruction sent by the client, wherein the transaction instruction includes a transaction commit instruction or a transaction cancel instruction. <EOS>