Problem statement -
Replications are usual tasks in industry and its equally important to verify the replication, if replicated database has same data as same as the original database.
Example -
I have database D1 and for testing purpose I am replicating the database D1 to database D2.
Post completion of replication, I want to validate if both databases are identical or not, which can be done using row level comparison, however its the worst solution for the big databases where the length of data could be in terabytes.
Could experts here provide the solution or any hint for such realtime challenges ?
Each database solves the problem in a different way. The method which is used depends on the architecture of the database. Examples:
I'm not sure if you wanted to ask what the challenges are, so just in case: having one database D1 replicated to D2 is hard to compare because of the volume of data, but most importantly, because D1 is in a real-world scenario a "living" database, which is constantly changing.