An automated method for comparing a first database and a second database that are intended to be kept in synchronization with each other, wherein applications process changes that are posted to the first and second databases, the method comprising:
- (a) applying changes made to the first database to the second database, and applying changes made to the second database to the first database;
- (b) collecting changes made to the first database resulting from changes posted to the first database into a first change log;
- (c) collecting changes made to the second database resulting from changes posted to the second database into a second change log;
- (d) comparing in a comparison engine representations of the changes in the first change log with representations of the changes in the second change log that correspond to the same respective changes, wherein the first database and the second database are presumed to be in synchronization with each other when the comparison indicates that the representations of the changes in the first change log are identical to the representations of the changes in the second change log, and wherein the first database and the second database are presumed not to be in synchronization with each other when the comparison indicates that the representations of the changes in the first change log are not identical to the representations of the changes in the second change log;
- and
- (e) performing a corrective action when the comparison indicates that the representations of the changes in the first change log are not identical to the representations of the changes in the second change log.