PL/SQL (MOSC)

MOSC Banner

Testing a database for equality with another database

edited May 11, 2015 5:41AM in PL/SQL (MOSC) 4 commentsAnswered

The following scenario:

I'm doing testing of an application that loads an Oracle database (via OCI) by distinct INSERTs. It's quite a large databse - what is large? - 1,5GB with 13 millions of rows or so.

Next thing I will do is replace this distinct upload by calls to the data pump API.

To be sure that the result ist correct I'll have to have a means to check whether the uploaded database is now absolutely identical to the previously uploaded one.

How could I achieve this? I could run an md5sum over all rows and columns but how would I construct such a PL/SQL statement and how long would it take. Would that be feasible?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center