Patent ID: 11880386
Assignee: GRAVIC, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 8:
9. An apparatus for comparing a source database and a target database that are intended to be kept in synchronization with each other, wherein an application processes transactions that are posted to the source database and replicated to the target database, the apparatus comprising:
(a) a replication engine configured to:
(i) collect before images of changes made to records or rows of the source database resulting from transactions posted to the source database into a first change log,
(ii) replicate the before images of changes made to records or rows of the source database to the target database, and
(iii) read current images of records or rows of the target database that correspond to the before images of changes made to records or rows of the source database;

(b) a compare configured to compare representations of the before images of changes made to records or rows of the source database with representations of the current images of records or rows of the target database that correspond to the before images of changes made to records or rows of the source database,
wherein the source database and the target database are presumed to be in synchronization with each other when the comparison indicates that the representations of the before images of changes made to records or rows of the source database match the representations of the current images of records or rows of the target database that correspond to the before images of changes made to records or rows of the source database, and wherein the source database and the target database are presumed not to be in synchronization with each other when the comparison indicates that the representations of the before images of changes made to records or rows of the source database do not match the representations of the current images of records or rows of the target database that correspond to the before images of changes made to records or rows of the source database; and

(c) a processor configured to perform a corrective action when the comparison indicates that the representations of the before images of changes made to records or rows of the source database do not match the representations of the current images of records or rows of the target database that correspond to the before images of changes made to records or rows of the source database.