I am involved in a migration project from Oracle to PostgreSQL, and I am looking for a way to automate testing a large number of queries converted from Oracle syntax to PostgreSQL. It is assumed that the data has been successfully transferred, so there is no need to verify this. I can crack the solution from scratch using Perl or Python, but there may be simpler ways. I looked at the database testing framework, lke Test :: DBUnut or pgTap, but they assume that the user supplies the results for verification, and in my case they are obtained from the database from which we are moving. The question is, is there an existing database tool or testing environment for querying old (Oracle) and new (PostgreSQL) databases, get the results and compare them, highlighting the differences and any errors that may occur in the process?
alexk source share