A computer implemented method in a transaction processing server connected to one or more upstream servers , a primary database , a standby database , and a reading database , wherein the one or more upstream servers transmit one or more transaction requests to the transaction processing server , the transaction processing server reads and writes data from the primary database when there is no failure of the primary database , the transaction processing server reads and writes data from the standby database when there is failure of the primary database , the primary database is synchronized to the reading database within M seconds of an update to the primary database , and wherein the transaction processing server performs the following steps in the event of failure of the primary database : determining the one or more transaction requests that occurred within the M seconds of the failure by requesting the one or more upstream servers to reinitiate the one or more transaction requests that were initiated within the M seconds before the failure of the primary database ; acquiring, from a reinitiated transaction request, a transaction identification and a data variation value related to a data value stored in the primary database ; determining whether an accurate data value corresponding to the transaction identification is already stored in the standby database ; in response to determining that the accurate data value corresponding to the transaction identification is not stored in the standby database : - acquiring the data value requested by the reinitiated transaction request from the reading database ; - determining the accurate data value according to a sum of the data value acquired from the reading database and the data variation value; and - storing the transaction identification and the accurate data value in the standby database . determining the one or more transaction requests that occurred within the M seconds of the failure by requesting the one or more upstream servers to reinitiate the one or more transaction requests that were initiated within the M seconds before the failure of the primary database ; acquiring, from a reinitiated transaction request, a transaction identification and a data variation value related to a data value stored in the primary database ; determining whether an accurate data value corresponding to the transaction identification is already stored in the standby database ; in response to determining that the accurate data value corresponding to the transaction identification is not stored in the standby database : - acquiring the data value requested by the reinitiated transaction request from the reading database ; - determining the accurate data value according to a sum of the data value acquired from the reading database and the data variation value; and - storing the transaction identification and the accurate data value in the standby database . - acquiring the data value requested by the reinitiated transaction request from the reading database ; - determining the accurate data value according to a sum of the data value acquired from the reading database and the data variation value; and - storing the transaction identification and the accurate data value in the standby database . <EOS>