Assuming one schema, something like this, unload USER_OBJECTS into a table before the transfer.
CREATE TABLE SAVED_USER_OBJECTS AS SELECT * FROM USER_OBJECTS
Then for confirmation after migration
SELECT object_type, object_name FROM SAVED_USER_OBJECTS
MINUS
SELECT object_type, object_name FROM USER_OBJECTS
One of the problems is that you intentionally deleted objects between versions, you also need to remove from SAVED_USER_OBJECTS. Also, it will not be visible if the wrong version of the objects exists.
If you have several schemes, then each scheme requires the same OR OR use ALL_OBJECTS and extract / compare for the corresponding user schemes.
You can also make a hash / checksum for object_type || object_name for the whole schema (save before / compare after), but the cost of the calculation will not differ from comparing two tables in the indices.
source
share