A method executed on a computer (400), comprising: In response to a batch job being ready to run on a source
database server (105; 210) in an active-
active environment, send (410), through one or more processors, an initial data transfer between the source
database server and a destination
database server (110; 220) with a synchronization start point for when to begin executing the batch job on both the source
database server and the destination
database server; Execute (420) the batch job by the one or more processors on both the source
database server and the destination database server, starting from the synchronization start point; In response to either the source database server or the destination database server encountering a
commit instruction for a unit of the batch job, halting either the source database server or the destination database server that encountered the
commit instruction, by one or more processors; Sending (430) a second data transfer between the source database server and the destination database server by the one or more processors to query whether either the source database server or the destination database server that has not encountered the
commit instruction is ready to complete the commit instruction; and In response to either the source database server or the destination database server confirming that either the source database server or the destination database server is ready to complete the commit instruction, the commit instruction is completed by one or more processors on both the source database server and the destination database server.