A database operating method implemented in a database operating apparatus comprising: sequentially obtaining database operational commands in a target transaction executed by an application server as the application server executes the target transaction, wherein the database operational commands are directed to a database system operating in read committed isolation level; in response to obtaining a non-modifying and non-locking database type command, executing the command in the database system and returning the execution result to the application server to allow the application server to determine a next database operational command that needs to be executed in the target transaction; in response to obtaining a locking non-modifying database type command, executing the obtained database operational command in the database system, storing the obtained database operational command and the execution result in a local memory, and sending the execution result to the application server to allow the application server to determine a next database operational command that needs to be executed in the target transaction; in response to obtaining a modifying database type command, dividing the obtained database operational command into a read command and a write command, executing the read command in the database system to obtain a dataset, storing the dataset into the local memory, applying the write command in the local memory to modify the read dataset, returning the modified dataset to the application server to allow the application server to determine a next database operational command that needs to be executed in the target transaction; in response to obtaining a transaction commit command, sending the locally recorded database operational commands for execution in the database system; if the received execution result is identical to the locally recorded execution result, sending the transaction commit command to the database system to allow the database to commit the target transaction; and if the received execution result is different from the locally recorded execution result, rolling back the target transaction and sending a transaction rollback command to the database system. sequentially obtaining database operational commands in a target transaction executed by an application server as the application server executes the target transaction, wherein the database operational commands are directed to a database system operating in read committed isolation level; in response to obtaining a non-modifying and non-locking database type command, executing the command in the database system and returning the execution result to the application server to allow the application server to determine a next database operational command that needs to be executed in the target transaction; in response to obtaining a locking non-modifying database type command, executing the obtained database operational command in the database system, storing the obtained database operational command and the execution result in a local memory, and sending the execution result to the application server to allow the application server to determine a next database operational command that needs to be executed in the target transaction; in response to obtaining a modifying database type command, dividing the obtained database operational command into a read command and a write command, executing the read command in the database system to obtain a dataset, storing the dataset into the local memory, applying the write command in the local memory to modify the read dataset, returning the modified dataset to the application server to allow the application server to determine a next database operational command that needs to be executed in the target transaction; in response to obtaining a transaction commit command, sending the locally recorded database operational commands for execution in the database system; if the received execution result is identical to the locally recorded execution result, sending the transaction commit command to the database system to allow the database to commit the target transaction; and if the received execution result is different from the locally recorded execution result, rolling back the target transaction and sending a transaction rollback command to the database system.