Hi,
not sure if I fully understand what you are trying to achieve, however as far as the deleted documents (post or during migration) IMHO you have two options:
- given you are using proper CMOD technique to delete or unload you can find relevant info by querying the System Log (or respective SLn table)
- The long route would be to do reconcile row counts of each of the migrated segment tables
The new arrivals; a great help would be to have all segments closed just before migration, so the "long running" migration can progress with static data not be "polluted" with new ingestion(s). Then after the "long migration" you can just re-run process on delta found in currently open segment.
Other route would be to subtract load_ids; from arsag.load_id on source system subtract the arsag.load_id on target system ; the difference gives you number of new ingestions to your source system since migration begun.
Sure, you can also get the information from System Log and/or System Load (if present).
Hope this helps or at least give you some pointers.
Cheers,
N.