There are a lot of tools can help you to do the database comparison, like SQL Developer, TOAD for Oracle, etc. If the target or source database is a large-scaled one, you can divide the comparison work into fractions.
- Metadata comparison: As I mentioned above, there are several tools can do the comparison.
- Data comparison: Tools might not help a lot, so we should compare by ourselves. One of the comparing items is to compare the rows of tables.