Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

2 databases table comparison

User_19BPUMar 16 2017 — edited Mar 16 2017

Hi,

I want to compare the row-count of 200 tables from one DB with another (which also contains the same 200 tables) to check whether the row count are in sync for these databases, I don't want to write 200 select count(*) from table statements , instead we should come up with a simplified SQL which should either compare these tables and provide the tables which are having discrepancies or is there any where we can compare at the DB level to find the tables which are having discrepancies, finally this operation shouldn't take much time even though some of these tables have huge amount of records. Hence, please let me know how we can create a simplified query to do this activity? is there any opensource tool to check this comparison as well? I am using SQL developer. Please clarify.

Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 13 2017
Added on Mar 16 2017
20 comments
931 views