Ora2Pg is a free tool used to migrate an Oracle database to a PostgreSQL compatible schema. It connects your Oracle database, scan it automatically and extracts its structure or data, it then generates SQL scripts that you can load into PostgreSQL.
I have 2 different database one is dev and the other one is test. While copying dev database to the same postgresql db there is no issue. but while copying test database to the same postgresql db during COPY process of oracle blob data which contains json strings to postgresql database bytea column I get the error below:
DEBUG: Formatting bulk of 125 data (real: 33 rows) for PostgreSQL.
DEBUG: Creating output for 125 tuples
DEBUG: Sending COPY bulk output directly to PostgreSQL backend
Extracted records from table XXX: total_records = 1537658 (avg: 139 recs/sec)
FATAL: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
when I check the database everything is copied successfully but at the end of the process it throws FATAL error.
I have 2 different database one is dev and the other one is test. While copying dev database to the same postgresql db there is no issue. but while copying test database to the same postgresql db during COPY process of oracle blob data which contains json strings to postgresql database bytea column I get the error below:
when I check the database everything is copied successfully but at the end of the process it throws FATAL error.
config:
ora2pg version: 24.1
"PostgreSQL 15.5 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44), 64-bit"
I would appreciate if you help.