A data processing apparatus includes a storage device having a replication
generation function for replicating a data base to create a replication
data base, and stores data and a plurality of log information in
transaction processing that uses the data in the storage device, selects
a transaction that is performing a data operation without meeting a
predetermined condition after synchronization between the data base and
the replication data base is released, and performs the data operation
cancellation processing to the replication data base by the selected
transaction. It also selects a transaction, which meets the predetermined
condition and is not performing a data operation to the replication data
base, to perform a data operation to the replication data base with the
selected transaction. It then becomes possible to reduce the burden for
the data processing apparatus during using the replication data base.