With the old collector stopped (so the source couldn't change), a one-off script read each PostgreSQL table with a server-side cursor, converted the values (UTC timestamps, Y/N, text IPs, '' → NULL), and inserted them in batches of 5,000. Then it reconciled each table: row counts plus a checksum column, source against target.
python migrate_pg_to_oracle.py — the real cut-over run
source: PostgreSQL 170006 target: Oracle 23.26.3.0.0 (127.0.0.1:1521/FREEPDB1)
source table target table rows secs
--------------------------------------------------------------
meta.job_run job_run 1,489 0.1
meta.ingested_file ingested_file 11,116 0.3
files.file raid_file 344,342 75.3
files.scan raid_scan 4 0.1
files.sorter_move sorter_move 1 0.0
plex.library plex_library 6 0.1
plex.item plex_item 1,597 0.1
plex.account plex_account 67 0.0
plex.watch plex_watch 10 0.0
stats.host_sample host_sample 709 0.0
stats.container_sample container_sample 20,554 0.8
backups.run backup_run 40 0.0
games.event game_event 973 0.1
--------------------------------------------------------------
loaded in 76.9 s
RECONCILIATION
table pg rows ora rows pg checksum ora checksum result
--------------------------------------------------------------------------------------
job_run 1,489 1,489 1,507,808 1,507,808 MATCH
ingested_file 11,116 11,116 77,240,268 77,240,268 MATCH
raid_file 344,342 344,342 2,174,045,554,838 2,174,045,554,838 MATCH
raid_scan 4 4 5,810,096,130,463 5,810,096,130,463 MATCH
sorter_move 1 1 1 1 MATCH
plex_library 6 6 21 21 MATCH
plex_item 1,597 1,597 584,371,950,633 584,371,950,633 MATCH
plex_account 67 67 33,166,619,581 33,166,619,581 MATCH
plex_watch 10 10 55 55 MATCH
host_sample 709 709 7,082,127,847,424 7,082,127,847,424 MATCH
container_sample 20,554 20,554 5,588,332,371,968 5,588,332,371,968 MATCH
backup_run 40 40 354,762 354,762 MATCH
game_event 973 973 63 63 MATCH
--------------------------------------------------------------------------------------
all tables reconciled