Обсуждение: migrate off oracle data to postgres

Поиск
Список
Период
Сортировка

migrate off oracle data to postgres

От
Pepe TD Vo
Дата:
Hello,

I have a huge data on Oracle, would you please suggest how to migrate all data off Oracle to Postgres?  Do I need to export into csv and upload to postgres?  Ora2pg is limited data from oracle to postgresql right?


Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success

Re: migrate off oracle data to postgres

От
John Wiencek
Дата:
You should explore EnterprisDB’s Migration ToolKit (MTK).


Regards

John Wiencek

On Mar 31, 2020, at 9:15 AM, Pepe TD Vo <pepevo@yahoo.com> wrote:

Hello,

I have a huge data on Oracle, would you please suggest how to migrate all data off Oracle to Postgres?  Do I need to export into csv and upload to postgres?  Ora2pg is limited data from oracle to postgresql right?


Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success

Re: migrate off oracle data to postgres

От
John Wiencek
Дата:
You should explore EnterprisDB’s Migration ToolKit (MTK).


Regards

John Wiencek

On Mar 31, 2020, at 9:15 AM, Pepe TD Vo <pepevo@yahoo.com> wrote:

Hello,

I have a huge data on Oracle, would you please suggest how to migrate all data off Oracle to Postgres?  Do I need to export into csv and upload to postgres?  Ora2pg is limited data from oracle to postgresql right?


Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success

Re: migrate off oracle data to postgres

От
John Wiencek
Дата:
You should explore EnterprisDB’s Migration ToolKit (MTK).


Regards

John Wiencek

On Mar 31, 2020, at 9:15 AM, Pepe TD Vo <pepevo@yahoo.com> wrote:

Hello,

I have a huge data on Oracle, would you please suggest how to migrate all data off Oracle to Postgres?  Do I need to export into csv and upload to postgres?  Ora2pg is limited data from oracle to postgresql right?


Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success

Re: migrate off oracle data to postgres

От
Thomas Kellerer
Дата:
Pepe TD Vo schrieb am 31.03.2020 um 16:15:
> I have a huge data on Oracle, would you please suggest how to migrate
> all data off Oracle to Postgres?  Do I need to export into csv and
> upload to postgres?  Ora2pg is limited data from oracle to postgresql
> right?
Not sure what you mean here.

Ora2Pg can migrate the table definitions and copy data as well.






Re: migrate off oracle data to postgres

От
JC JC
Дата:
In my view ora2pg can do most of the stuff you requested.
ora2pg can be used to generate the DDL from oracle to postgres based on attributes set in ora2pg conf file (for example TYPE TABLE, will allow getting oracle DDL in an output file, TYPE COPY will bring the data). No doubt you need to set remaining attributes based on the requirement.

Export to CSV is not required, as mentioned TYPE COPY will do a load of data if you like it to do Direct Data Streaming.
As of my limited experience I never encountered any issue on the limit on data being transferred, but definitely the load time vary depending on the environment.

Regards
jc





From: Pepe TD Vo <pepevo@yahoo.com>
Sent: 31 March 2020 15:15
To: Pgsql-admin <pgsql-admin@postgresql.org>; Pgsql-general <pgsql-general@postgresql.org>; PgAdmin Support List <pgadmin-support@lists.postgresql.org>
Subject: migrate off oracle data to postgres
 
Hello,

I have a huge data on Oracle, would you please suggest how to migrate all data off Oracle to Postgres?  Do I need to export into csv and upload to postgres?  Ora2pg is limited data from oracle to postgresql right?


Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success

Re: migrate off oracle data to postgres

От
JC JC
Дата:
In my view ora2pg can do most of the stuff you requested.
ora2pg can be used to generate the DDL from oracle to postgres based on attributes set in ora2pg conf file (for example TYPE TABLE, will allow getting oracle DDL in an output file, TYPE COPY will bring the data). No doubt you need to set remaining attributes based on the requirement.

Export to CSV is not required, as mentioned TYPE COPY will do a load of data if you like it to do Direct Data Streaming.
As of my limited experience I never encountered any issue on the limit on data being transferred, but definitely the load time vary depending on the environment.

Regards
jc





From: Pepe TD Vo <pepevo@yahoo.com>
Sent: 31 March 2020 15:15
To: Pgsql-admin <pgsql-admin@postgresql.org>; Pgsql-general <pgsql-general@postgresql.org>; PgAdmin Support List <pgadmin-support@lists.postgresql.org>
Subject: migrate off oracle data to postgres
 
Hello,

I have a huge data on Oracle, would you please suggest how to migrate all data off Oracle to Postgres?  Do I need to export into csv and upload to postgres?  Ora2pg is limited data from oracle to postgresql right?


Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success

Re: migrate off oracle data to postgres

От
JC JC
Дата:
In my view ora2pg can do most of the stuff you requested.
ora2pg can be used to generate the DDL from oracle to postgres based on attributes set in ora2pg conf file (for example TYPE TABLE, will allow getting oracle DDL in an output file, TYPE COPY will bring the data). No doubt you need to set remaining attributes based on the requirement.

Export to CSV is not required, as mentioned TYPE COPY will do a load of data if you like it to do Direct Data Streaming.
As of my limited experience I never encountered any issue on the limit on data being transferred, but definitely the load time vary depending on the environment.

Regards
jc





From: Pepe TD Vo <pepevo@yahoo.com>
Sent: 31 March 2020 15:15
To: Pgsql-admin <pgsql-admin@postgresql.org>; Pgsql-general <pgsql-general@postgresql.org>; PgAdmin Support List <pgadmin-support@lists.postgresql.org>
Subject: migrate off oracle data to postgres
 
Hello,

I have a huge data on Oracle, would you please suggest how to migrate all data off Oracle to Postgres?  Do I need to export into csv and upload to postgres?  Ora2pg is limited data from oracle to postgresql right?


Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success

Re: migrate off oracle data to postgres

От
Pepe TD Vo
Дата:
I have tables dddata definitions already.  Only need to move the data over off Oracle to Postgres

Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success


On Tuesday, March 31, 2020, 11:46:58 AM EDT, JC JC <shekharjchandra@hotmail.co.uk> wrote:


#yiv3534479505 P {margin-top:0;margin-bottom:0;}
In my view ora2pg can do most of the stuff you requested.
ora2pg can be used to generate the DDL from oracle to postgres based on attributes set in ora2pg conf file (for example TYPE TABLE, will allow getting oracle DDL in an output file, TYPE COPY will bring the data). No doubt you need to set remaining attributes based on the requirement.

Export to CSV is not required, as mentioned TYPE COPY will do a load of data if you like it to do Direct Data Streaming.
As of my limited experience I never encountered any issue on the limit on data being transferred, but definitely the load time vary depending on the environment.

Regards
jc





From: Pepe TD Vo <pepevo@yahoo.com>
Sent: 31 March 2020 15:15
To: Pgsql-admin <pgsql-admin@postgresql.org>; Pgsql-general <pgsql-general@postgresql.org>; PgAdmin Support List <pgadmin-support@lists.postgresql.org>
Subject: migrate off oracle data to postgres
 
Hello,

I have a huge data on Oracle, would you please suggest how to migrate all data off Oracle to Postgres?  Do I need to export into csv and upload to postgres?  Ora2pg is limited data from oracle to postgresql right?


Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success

Re: migrate off oracle data to postgres

От
Pepe TD Vo
Дата:
I have tables dddata definitions already.  Only need to move the data over off Oracle to Postgres

Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success


On Tuesday, March 31, 2020, 11:46:58 AM EDT, JC JC <shekharjchandra@hotmail.co.uk> wrote:


#yiv3534479505 P {margin-top:0;margin-bottom:0;}
In my view ora2pg can do most of the stuff you requested.
ora2pg can be used to generate the DDL from oracle to postgres based on attributes set in ora2pg conf file (for example TYPE TABLE, will allow getting oracle DDL in an output file, TYPE COPY will bring the data). No doubt you need to set remaining attributes based on the requirement.

Export to CSV is not required, as mentioned TYPE COPY will do a load of data if you like it to do Direct Data Streaming.
As of my limited experience I never encountered any issue on the limit on data being transferred, but definitely the load time vary depending on the environment.

Regards
jc





From: Pepe TD Vo <pepevo@yahoo.com>
Sent: 31 March 2020 15:15
To: Pgsql-admin <pgsql-admin@postgresql.org>; Pgsql-general <pgsql-general@postgresql.org>; PgAdmin Support List <pgadmin-support@lists.postgresql.org>
Subject: migrate off oracle data to postgres
 
Hello,

I have a huge data on Oracle, would you please suggest how to migrate all data off Oracle to Postgres?  Do I need to export into csv and upload to postgres?  Ora2pg is limited data from oracle to postgresql right?


Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success

Re: migrate off oracle data to postgres

От
Pepe TD Vo
Дата:
I have tables dddata definitions already.  Only need to move the data over off Oracle to Postgres

Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success


On Tuesday, March 31, 2020, 11:46:58 AM EDT, JC JC <shekharjchandra@hotmail.co.uk> wrote:


#yiv3534479505 P {margin-top:0;margin-bottom:0;}
In my view ora2pg can do most of the stuff you requested.
ora2pg can be used to generate the DDL from oracle to postgres based on attributes set in ora2pg conf file (for example TYPE TABLE, will allow getting oracle DDL in an output file, TYPE COPY will bring the data). No doubt you need to set remaining attributes based on the requirement.

Export to CSV is not required, as mentioned TYPE COPY will do a load of data if you like it to do Direct Data Streaming.
As of my limited experience I never encountered any issue on the limit on data being transferred, but definitely the load time vary depending on the environment.

Regards
jc





From: Pepe TD Vo <pepevo@yahoo.com>
Sent: 31 March 2020 15:15
To: Pgsql-admin <pgsql-admin@postgresql.org>; Pgsql-general <pgsql-general@postgresql.org>; PgAdmin Support List <pgadmin-support@lists.postgresql.org>
Subject: migrate off oracle data to postgres
 
Hello,

I have a huge data on Oracle, would you please suggest how to migrate all data off Oracle to Postgres?  Do I need to export into csv and upload to postgres?  Ora2pg is limited data from oracle to postgresql right?


Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success

Re: migrate off oracle data to postgres

От
Adrian Klaver
Дата:
On 3/31/20 8:51 AM, Pepe TD Vo wrote:
> I have tables ddl data definitions already.  Only need to move the data 
> over off Oracle to Postgres

PostgreSQL Foreign Data Wrapper for Oracle:

http://laurenz.github.io/oracle_fdw/


-- 
Adrian Klaver
adrian.klaver@aklaver.com



Re: migrate off oracle data to postgres

От
Adrian Klaver
Дата:
On 3/31/20 8:51 AM, Pepe TD Vo wrote:
> I have tables ddl data definitions already.  Only need to move the data 
> over off Oracle to Postgres

PostgreSQL Foreign Data Wrapper for Oracle:

http://laurenz.github.io/oracle_fdw/


-- 
Adrian Klaver
adrian.klaver@aklaver.com



Re: migrate off oracle data to postgres

От
Adrian Klaver
Дата:
On 3/31/20 8:51 AM, Pepe TD Vo wrote:
> I have tables ddl data definitions already.  Only need to move the data 
> over off Oracle to Postgres

PostgreSQL Foreign Data Wrapper for Oracle:

http://laurenz.github.io/oracle_fdw/


-- 
Adrian Klaver
adrian.klaver@aklaver.com



Re: migrate off oracle data to postgres

От
Virendra Kumar
Дата:
FDW for oracle and ora2pg both are too slow compared to offload data in a file and load into PostgreSQL. When I was doing one of my migrations I found the best solution was to download data using sqlldr on to the database host where PostgreSQL instance is running and load it using COPY command.


Regards,
Virendra Kumar

On Tuesday, March 31, 2020, 8:55:17 AM PDT, Adrian Klaver <adrian.klaver@aklaver.com> wrote:


On 3/31/20 8:51 AM, Pepe TD Vo wrote:

> I have tables ddl data definitions already.  Only need to move the data
> over off Oracle to Postgres


PostgreSQL Foreign Data Wrapper for Oracle:

http://laurenz.github.io/oracle_fdw/


--
Adrian Klaver
adrian.klaver@aklaver.com



Re: migrate off oracle data to postgres

От
Virendra Kumar
Дата:
FDW for oracle and ora2pg both are too slow compared to offload data in a file and load into PostgreSQL. When I was doing one of my migrations I found the best solution was to download data using sqlldr on to the database host where PostgreSQL instance is running and load it using COPY command.


Regards,
Virendra Kumar

On Tuesday, March 31, 2020, 8:55:17 AM PDT, Adrian Klaver <adrian.klaver@aklaver.com> wrote:


On 3/31/20 8:51 AM, Pepe TD Vo wrote:

> I have tables ddl data definitions already.  Only need to move the data
> over off Oracle to Postgres


PostgreSQL Foreign Data Wrapper for Oracle:

http://laurenz.github.io/oracle_fdw/


--
Adrian Klaver
adrian.klaver@aklaver.com



Re: migrate off oracle data to postgres

От
Virendra Kumar
Дата:
FDW for oracle and ora2pg both are too slow compared to offload data in a file and load into PostgreSQL. When I was doing one of my migrations I found the best solution was to download data using sqlldr on to the database host where PostgreSQL instance is running and load it using COPY command.


Regards,
Virendra Kumar

On Tuesday, March 31, 2020, 8:55:17 AM PDT, Adrian Klaver <adrian.klaver@aklaver.com> wrote:


On 3/31/20 8:51 AM, Pepe TD Vo wrote:

> I have tables ddl data definitions already.  Only need to move the data
> over off Oracle to Postgres


PostgreSQL Foreign Data Wrapper for Oracle:

http://laurenz.github.io/oracle_fdw/


--
Adrian Klaver
adrian.klaver@aklaver.com



Re: migrate off oracle data to postgres

От
JC JC
Дата:
I am sure you might be referring this 

You need to create ora2pg conf file with TYPE COPY, and ALLOW <LIST OF TABLES separated by space> and remaining other attributes like 
ORACLE_DSN
ORACLE_PWD
ORACLE_USER

similarly 
PG_DSN
PG_USER
PG_PWD 
etc 
etc.

Cheers
jc


From: Pepe TD Vo <pepevo@yahoo.com>
Sent: 31 March 2020 16:51
To: Pgsql-admin <pgsql-admin@postgresql.org>; Pgsql-general <pgsql-general@postgresql.org>; PgAdmin Support List <pgadmin-support@lists.postgresql.org>; JC JC <shekharjchandra@hotmail.co.uk>
Subject: Re: migrate off oracle data to postgres
 
I have tables dddata definitions already.  Only need to move the data over off Oracle to Postgres

Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success


On Tuesday, March 31, 2020, 11:46:58 AM EDT, JC JC <shekharjchandra@hotmail.co.uk> wrote:


In my view ora2pg can do most of the stuff you requested.
ora2pg can be used to generate the DDL from oracle to postgres based on attributes set in ora2pg conf file (for example TYPE TABLE, will allow getting oracle DDL in an output file, TYPE COPY will bring the data). No doubt you need to set remaining attributes based on the requirement.

Export to CSV is not required, as mentioned TYPE COPY will do a load of data if you like it to do Direct Data Streaming.
As of my limited experience I never encountered any issue on the limit on data being transferred, but definitely the load time vary depending on the environment.

Regards
jc





From: Pepe TD Vo <pepevo@yahoo.com>
Sent: 31 March 2020 15:15
To: Pgsql-admin <pgsql-admin@postgresql.org>; Pgsql-general <pgsql-general@postgresql.org>; PgAdmin Support List <pgadmin-support@lists.postgresql.org>
Subject: migrate off oracle data to postgres
 
Hello,

I have a huge data on Oracle, would you please suggest how to migrate all data off Oracle to Postgres?  Do I need to export into csv and upload to postgres?  Ora2pg is limited data from oracle to postgresql right?


Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success

Re: migrate off oracle data to postgres

От
JC JC
Дата:
I am sure you might be referring this 

You need to create ora2pg conf file with TYPE COPY, and ALLOW <LIST OF TABLES separated by space> and remaining other attributes like 
ORACLE_DSN
ORACLE_PWD
ORACLE_USER

similarly 
PG_DSN
PG_USER
PG_PWD 
etc 
etc.

Cheers
jc


From: Pepe TD Vo <pepevo@yahoo.com>
Sent: 31 March 2020 16:51
To: Pgsql-admin <pgsql-admin@postgresql.org>; Pgsql-general <pgsql-general@postgresql.org>; PgAdmin Support List <pgadmin-support@lists.postgresql.org>; JC JC <shekharjchandra@hotmail.co.uk>
Subject: Re: migrate off oracle data to postgres
 
I have tables dddata definitions already.  Only need to move the data over off Oracle to Postgres

Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success


On Tuesday, March 31, 2020, 11:46:58 AM EDT, JC JC <shekharjchandra@hotmail.co.uk> wrote:


In my view ora2pg can do most of the stuff you requested.
ora2pg can be used to generate the DDL from oracle to postgres based on attributes set in ora2pg conf file (for example TYPE TABLE, will allow getting oracle DDL in an output file, TYPE COPY will bring the data). No doubt you need to set remaining attributes based on the requirement.

Export to CSV is not required, as mentioned TYPE COPY will do a load of data if you like it to do Direct Data Streaming.
As of my limited experience I never encountered any issue on the limit on data being transferred, but definitely the load time vary depending on the environment.

Regards
jc





From: Pepe TD Vo <pepevo@yahoo.com>
Sent: 31 March 2020 15:15
To: Pgsql-admin <pgsql-admin@postgresql.org>; Pgsql-general <pgsql-general@postgresql.org>; PgAdmin Support List <pgadmin-support@lists.postgresql.org>
Subject: migrate off oracle data to postgres
 
Hello,

I have a huge data on Oracle, would you please suggest how to migrate all data off Oracle to Postgres?  Do I need to export into csv and upload to postgres?  Ora2pg is limited data from oracle to postgresql right?


Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success

Re: migrate off oracle data to postgres

От
JC JC
Дата:
I am sure you might be referring this 

You need to create ora2pg conf file with TYPE COPY, and ALLOW <LIST OF TABLES separated by space> and remaining other attributes like 
ORACLE_DSN
ORACLE_PWD
ORACLE_USER

similarly 
PG_DSN
PG_USER
PG_PWD 
etc 
etc.

Cheers
jc


From: Pepe TD Vo <pepevo@yahoo.com>
Sent: 31 March 2020 16:51
To: Pgsql-admin <pgsql-admin@postgresql.org>; Pgsql-general <pgsql-general@postgresql.org>; PgAdmin Support List <pgadmin-support@lists.postgresql.org>; JC JC <shekharjchandra@hotmail.co.uk>
Subject: Re: migrate off oracle data to postgres
 
I have tables dddata definitions already.  Only need to move the data over off Oracle to Postgres

Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success


On Tuesday, March 31, 2020, 11:46:58 AM EDT, JC JC <shekharjchandra@hotmail.co.uk> wrote:


In my view ora2pg can do most of the stuff you requested.
ora2pg can be used to generate the DDL from oracle to postgres based on attributes set in ora2pg conf file (for example TYPE TABLE, will allow getting oracle DDL in an output file, TYPE COPY will bring the data). No doubt you need to set remaining attributes based on the requirement.

Export to CSV is not required, as mentioned TYPE COPY will do a load of data if you like it to do Direct Data Streaming.
As of my limited experience I never encountered any issue on the limit on data being transferred, but definitely the load time vary depending on the environment.

Regards
jc





From: Pepe TD Vo <pepevo@yahoo.com>
Sent: 31 March 2020 15:15
To: Pgsql-admin <pgsql-admin@postgresql.org>; Pgsql-general <pgsql-general@postgresql.org>; PgAdmin Support List <pgadmin-support@lists.postgresql.org>
Subject: migrate off oracle data to postgres
 
Hello,

I have a huge data on Oracle, would you please suggest how to migrate all data off Oracle to Postgres?  Do I need to export into csv and upload to postgres?  Ora2pg is limited data from oracle to postgresql right?


Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success

Re: migrate off oracle data to postgres

От
Pepe TD Vo
Дата:
@JC - I do have ora2pg set up last year in test environment already and that what I suggested team using insert script to run in Postgres.  And I am not sure how long it would take to load? 1T data. Though if there's a tool liked MySQL workbench to pull the oracle export data pump and import into MySQL.

Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success


On Tuesday, March 31, 2020, 12:09:13 PM EDT, JC JC <shekharjchandra@hotmail.co.uk> wrote:


#yiv7970034777 P {margin-top:0;margin-bottom:0;}
I am sure you might be referring this 

You need to create ora2pg conf file with TYPE COPY, and ALLOW <LIST OF TABLES separated by space> and remaining other attributes like 
ORACLE_DSN
ORACLE_PWD
ORACLE_USER

similarly 
PG_DSN
PG_USER
PG_PWD 
etc 
etc.

Cheers
jc


From: Pepe TD Vo <pepevo@yahoo.com>
Sent: 31 March 2020 16:51
To: Pgsql-admin <pgsql-admin@postgresql.org>; Pgsql-general <pgsql-general@postgresql.org>; PgAdmin Support List <pgadmin-support@lists.postgresql.org>; JC JC <shekharjchandra@hotmail.co.uk>
Subject: Re: migrate off oracle data to postgres
 
I have tables dddata definitions already.  Only need to move the data over off Oracle to Postgres

Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success


On Tuesday, March 31, 2020, 11:46:58 AM EDT, JC JC <shekharjchandra@hotmail.co.uk> wrote:


In my view ora2pg can do most of the stuff you requested.
ora2pg can be used to generate the DDL from oracle to postgres based on attributes set in ora2pg conf file (for example TYPE TABLE, will allow getting oracle DDL in an output file, TYPE COPY will bring the data). No doubt you need to set remaining attributes based on the requirement.

Export to CSV is not required, as mentioned TYPE COPY will do a load of data if you like it to do Direct Data Streaming.
As of my limited experience I never encountered any issue on the limit on data being transferred, but definitely the load time vary depending on the environment.

Regards
jc





From: Pepe TD Vo <pepevo@yahoo.com>
Sent: 31 March 2020 15:15
To: Pgsql-admin <pgsql-admin@postgresql.org>; Pgsql-general <pgsql-general@postgresql.org>; PgAdmin Support List <pgadmin-support@lists.postgresql.org>
Subject: migrate off oracle data to postgres
 
Hello,

I have a huge data on Oracle, would you please suggest how to migrate all data off Oracle to Postgres?  Do I need to export into csv and upload to postgres?  Ora2pg is limited data from oracle to postgresql right?


Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success

Re: migrate off oracle data to postgres

От
Pepe TD Vo
Дата:
@JC - I do have ora2pg set up last year in test environment already and that what I suggested team using insert script to run in Postgres.  And I am not sure how long it would take to load? 1T data. Though if there's a tool liked MySQL workbench to pull the oracle export data pump and import into MySQL.

Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success


On Tuesday, March 31, 2020, 12:09:13 PM EDT, JC JC <shekharjchandra@hotmail.co.uk> wrote:


#yiv7970034777 P {margin-top:0;margin-bottom:0;}
I am sure you might be referring this 

You need to create ora2pg conf file with TYPE COPY, and ALLOW <LIST OF TABLES separated by space> and remaining other attributes like 
ORACLE_DSN
ORACLE_PWD
ORACLE_USER

similarly 
PG_DSN
PG_USER
PG_PWD 
etc 
etc.

Cheers
jc


From: Pepe TD Vo <pepevo@yahoo.com>
Sent: 31 March 2020 16:51
To: Pgsql-admin <pgsql-admin@postgresql.org>; Pgsql-general <pgsql-general@postgresql.org>; PgAdmin Support List <pgadmin-support@lists.postgresql.org>; JC JC <shekharjchandra@hotmail.co.uk>
Subject: Re: migrate off oracle data to postgres
 
I have tables dddata definitions already.  Only need to move the data over off Oracle to Postgres

Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success


On Tuesday, March 31, 2020, 11:46:58 AM EDT, JC JC <shekharjchandra@hotmail.co.uk> wrote:


In my view ora2pg can do most of the stuff you requested.
ora2pg can be used to generate the DDL from oracle to postgres based on attributes set in ora2pg conf file (for example TYPE TABLE, will allow getting oracle DDL in an output file, TYPE COPY will bring the data). No doubt you need to set remaining attributes based on the requirement.

Export to CSV is not required, as mentioned TYPE COPY will do a load of data if you like it to do Direct Data Streaming.
As of my limited experience I never encountered any issue on the limit on data being transferred, but definitely the load time vary depending on the environment.

Regards
jc





From: Pepe TD Vo <pepevo@yahoo.com>
Sent: 31 March 2020 15:15
To: Pgsql-admin <pgsql-admin@postgresql.org>; Pgsql-general <pgsql-general@postgresql.org>; PgAdmin Support List <pgadmin-support@lists.postgresql.org>
Subject: migrate off oracle data to postgres
 
Hello,

I have a huge data on Oracle, would you please suggest how to migrate all data off Oracle to Postgres?  Do I need to export into csv and upload to postgres?  Ora2pg is limited data from oracle to postgresql right?


Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success

Re: migrate off oracle data to postgres

От
Pepe TD Vo
Дата:
@JC - I do have ora2pg set up last year in test environment already and that what I suggested team using insert script to run in Postgres.  And I am not sure how long it would take to load? 1T data. Though if there's a tool liked MySQL workbench to pull the oracle export data pump and import into MySQL.

Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success


On Tuesday, March 31, 2020, 12:09:13 PM EDT, JC JC <shekharjchandra@hotmail.co.uk> wrote:


#yiv7970034777 P {margin-top:0;margin-bottom:0;}
I am sure you might be referring this 

You need to create ora2pg conf file with TYPE COPY, and ALLOW <LIST OF TABLES separated by space> and remaining other attributes like 
ORACLE_DSN
ORACLE_PWD
ORACLE_USER

similarly 
PG_DSN
PG_USER
PG_PWD 
etc 
etc.

Cheers
jc


From: Pepe TD Vo <pepevo@yahoo.com>
Sent: 31 March 2020 16:51
To: Pgsql-admin <pgsql-admin@postgresql.org>; Pgsql-general <pgsql-general@postgresql.org>; PgAdmin Support List <pgadmin-support@lists.postgresql.org>; JC JC <shekharjchandra@hotmail.co.uk>
Subject: Re: migrate off oracle data to postgres
 
I have tables dddata definitions already.  Only need to move the data over off Oracle to Postgres

Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success


On Tuesday, March 31, 2020, 11:46:58 AM EDT, JC JC <shekharjchandra@hotmail.co.uk> wrote:


In my view ora2pg can do most of the stuff you requested.
ora2pg can be used to generate the DDL from oracle to postgres based on attributes set in ora2pg conf file (for example TYPE TABLE, will allow getting oracle DDL in an output file, TYPE COPY will bring the data). No doubt you need to set remaining attributes based on the requirement.

Export to CSV is not required, as mentioned TYPE COPY will do a load of data if you like it to do Direct Data Streaming.
As of my limited experience I never encountered any issue on the limit on data being transferred, but definitely the load time vary depending on the environment.

Regards
jc





From: Pepe TD Vo <pepevo@yahoo.com>
Sent: 31 March 2020 15:15
To: Pgsql-admin <pgsql-admin@postgresql.org>; Pgsql-general <pgsql-general@postgresql.org>; PgAdmin Support List <pgadmin-support@lists.postgresql.org>
Subject: migrate off oracle data to postgres
 
Hello,

I have a huge data on Oracle, would you please suggest how to migrate all data off Oracle to Postgres?  Do I need to export into csv and upload to postgres?  Ora2pg is limited data from oracle to postgresql right?


Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success

Re: migrate off oracle data to postgres

От
JC JC
Дата:
Though I am not very experienced in this, I am working on a migration project from Oracle to Postgres using ora2pg from around 5+ months. 
The source data from which I migrate is of size 64 GB and I use AWS environment and run ora2pg in parallel by specifying the parameters in ora2pg utility. I migrate 3 schemas containing around 192 tables data and it takes around 2.5+ hrs (in normal windows environment other then AWS it use to take more than 9 hrs for the same size of data) and then I do some checks like count of source objects, and count of rows in the source as well as destination data. This is to check if the data is imported as required, Later I do lot of other stuff to validate the data.

I am sure 1TeraByte of data will take a long time, again it depends on the environment and system configuration it is running.
Not must idea on MySQL workbench tool, sorry.


From: Pepe TD Vo <pepevo@yahoo.com>
Sent: 31 March 2020 17:45
To: Pgsql-admin <pgsql-admin@postgresql.org>; Pgsql-general <pgsql-general@postgresql.org>; PgAdmin Support List <pgadmin-support@lists.postgresql.org>; JC JC <shekharjchandra@hotmail.co.uk>
Subject: Re: migrate off oracle data to postgres
 
@JC - I do have ora2pg set up last year in test environment already and that what I suggested team using insert script to run in Postgres.  And I am not sure how long it would take to load? 1T data. Though if there's a tool liked MySQL workbench to pull the oracle export data pump and import into MySQL.

Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success


On Tuesday, March 31, 2020, 12:09:13 PM EDT, JC JC <shekharjchandra@hotmail.co.uk> wrote:


I am sure you might be referring this 

You need to create ora2pg conf file with TYPE COPY, and ALLOW <LIST OF TABLES separated by space> and remaining other attributes like 
ORACLE_DSN
ORACLE_PWD
ORACLE_USER

similarly 
PG_DSN
PG_USER
PG_PWD 
etc 
etc.

Cheers
jc


From: Pepe TD Vo <pepevo@yahoo.com>
Sent: 31 March 2020 16:51
To: Pgsql-admin <pgsql-admin@postgresql.org>; Pgsql-general <pgsql-general@postgresql.org>; PgAdmin Support List <pgadmin-support@lists.postgresql.org>; JC JC <shekharjchandra@hotmail.co.uk>
Subject: Re: migrate off oracle data to postgres
 
I have tables dddata definitions already.  Only need to move the data over off Oracle to Postgres

Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success


On Tuesday, March 31, 2020, 11:46:58 AM EDT, JC JC <shekharjchandra@hotmail.co.uk> wrote:


In my view ora2pg can do most of the stuff you requested.
ora2pg can be used to generate the DDL from oracle to postgres based on attributes set in ora2pg conf file (for example TYPE TABLE, will allow getting oracle DDL in an output file, TYPE COPY will bring the data). No doubt you need to set remaining attributes based on the requirement.

Export to CSV is not required, as mentioned TYPE COPY will do a load of data if you like it to do Direct Data Streaming.
As of my limited experience I never encountered any issue on the limit on data being transferred, but definitely the load time vary depending on the environment.

Regards
jc





From: Pepe TD Vo <pepevo@yahoo.com>
Sent: 31 March 2020 15:15
To: Pgsql-admin <pgsql-admin@postgresql.org>; Pgsql-general <pgsql-general@postgresql.org>; PgAdmin Support List <pgadmin-support@lists.postgresql.org>
Subject: migrate off oracle data to postgres
 
Hello,

I have a huge data on Oracle, would you please suggest how to migrate all data off Oracle to Postgres?  Do I need to export into csv and upload to postgres?  Ora2pg is limited data from oracle to postgresql right?


Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success

Re: migrate off oracle data to postgres

От
JC JC
Дата:
Though I am not very experienced in this, I am working on a migration project from Oracle to Postgres using ora2pg from around 5+ months. 
The source data from which I migrate is of size 64 GB and I use AWS environment and run ora2pg in parallel by specifying the parameters in ora2pg utility. I migrate 3 schemas containing around 192 tables data and it takes around 2.5+ hrs (in normal windows environment other then AWS it use to take more than 9 hrs for the same size of data) and then I do some checks like count of source objects, and count of rows in the source as well as destination data. This is to check if the data is imported as required, Later I do lot of other stuff to validate the data.

I am sure 1TeraByte of data will take a long time, again it depends on the environment and system configuration it is running.
Not must idea on MySQL workbench tool, sorry.


From: Pepe TD Vo <pepevo@yahoo.com>
Sent: 31 March 2020 17:45
To: Pgsql-admin <pgsql-admin@postgresql.org>; Pgsql-general <pgsql-general@postgresql.org>; PgAdmin Support List <pgadmin-support@lists.postgresql.org>; JC JC <shekharjchandra@hotmail.co.uk>
Subject: Re: migrate off oracle data to postgres
 
@JC - I do have ora2pg set up last year in test environment already and that what I suggested team using insert script to run in Postgres.  And I am not sure how long it would take to load? 1T data. Though if there's a tool liked MySQL workbench to pull the oracle export data pump and import into MySQL.

Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success


On Tuesday, March 31, 2020, 12:09:13 PM EDT, JC JC <shekharjchandra@hotmail.co.uk> wrote:


I am sure you might be referring this 

You need to create ora2pg conf file with TYPE COPY, and ALLOW <LIST OF TABLES separated by space> and remaining other attributes like 
ORACLE_DSN
ORACLE_PWD
ORACLE_USER

similarly 
PG_DSN
PG_USER
PG_PWD 
etc 
etc.

Cheers
jc


From: Pepe TD Vo <pepevo@yahoo.com>
Sent: 31 March 2020 16:51
To: Pgsql-admin <pgsql-admin@postgresql.org>; Pgsql-general <pgsql-general@postgresql.org>; PgAdmin Support List <pgadmin-support@lists.postgresql.org>; JC JC <shekharjchandra@hotmail.co.uk>
Subject: Re: migrate off oracle data to postgres
 
I have tables dddata definitions already.  Only need to move the data over off Oracle to Postgres

Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success


On Tuesday, March 31, 2020, 11:46:58 AM EDT, JC JC <shekharjchandra@hotmail.co.uk> wrote:


In my view ora2pg can do most of the stuff you requested.
ora2pg can be used to generate the DDL from oracle to postgres based on attributes set in ora2pg conf file (for example TYPE TABLE, will allow getting oracle DDL in an output file, TYPE COPY will bring the data). No doubt you need to set remaining attributes based on the requirement.

Export to CSV is not required, as mentioned TYPE COPY will do a load of data if you like it to do Direct Data Streaming.
As of my limited experience I never encountered any issue on the limit on data being transferred, but definitely the load time vary depending on the environment.

Regards
jc





From: Pepe TD Vo <pepevo@yahoo.com>
Sent: 31 March 2020 15:15
To: Pgsql-admin <pgsql-admin@postgresql.org>; Pgsql-general <pgsql-general@postgresql.org>; PgAdmin Support List <pgadmin-support@lists.postgresql.org>
Subject: migrate off oracle data to postgres
 
Hello,

I have a huge data on Oracle, would you please suggest how to migrate all data off Oracle to Postgres?  Do I need to export into csv and upload to postgres?  Ora2pg is limited data from oracle to postgresql right?


Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success

Re: migrate off oracle data to postgres

От
JC JC
Дата:
Though I am not very experienced in this, I am working on a migration project from Oracle to Postgres using ora2pg from around 5+ months. 
The source data from which I migrate is of size 64 GB and I use AWS environment and run ora2pg in parallel by specifying the parameters in ora2pg utility. I migrate 3 schemas containing around 192 tables data and it takes around 2.5+ hrs (in normal windows environment other then AWS it use to take more than 9 hrs for the same size of data) and then I do some checks like count of source objects, and count of rows in the source as well as destination data. This is to check if the data is imported as required, Later I do lot of other stuff to validate the data.

I am sure 1TeraByte of data will take a long time, again it depends on the environment and system configuration it is running.
Not must idea on MySQL workbench tool, sorry.


From: Pepe TD Vo <pepevo@yahoo.com>
Sent: 31 March 2020 17:45
To: Pgsql-admin <pgsql-admin@postgresql.org>; Pgsql-general <pgsql-general@postgresql.org>; PgAdmin Support List <pgadmin-support@lists.postgresql.org>; JC JC <shekharjchandra@hotmail.co.uk>
Subject: Re: migrate off oracle data to postgres
 
@JC - I do have ora2pg set up last year in test environment already and that what I suggested team using insert script to run in Postgres.  And I am not sure how long it would take to load? 1T data. Though if there's a tool liked MySQL workbench to pull the oracle export data pump and import into MySQL.

Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success


On Tuesday, March 31, 2020, 12:09:13 PM EDT, JC JC <shekharjchandra@hotmail.co.uk> wrote:


I am sure you might be referring this 

You need to create ora2pg conf file with TYPE COPY, and ALLOW <LIST OF TABLES separated by space> and remaining other attributes like 
ORACLE_DSN
ORACLE_PWD
ORACLE_USER

similarly 
PG_DSN
PG_USER
PG_PWD 
etc 
etc.

Cheers
jc


From: Pepe TD Vo <pepevo@yahoo.com>
Sent: 31 March 2020 16:51
To: Pgsql-admin <pgsql-admin@postgresql.org>; Pgsql-general <pgsql-general@postgresql.org>; PgAdmin Support List <pgadmin-support@lists.postgresql.org>; JC JC <shekharjchandra@hotmail.co.uk>
Subject: Re: migrate off oracle data to postgres
 
I have tables dddata definitions already.  Only need to move the data over off Oracle to Postgres

Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success


On Tuesday, March 31, 2020, 11:46:58 AM EDT, JC JC <shekharjchandra@hotmail.co.uk> wrote:


In my view ora2pg can do most of the stuff you requested.
ora2pg can be used to generate the DDL from oracle to postgres based on attributes set in ora2pg conf file (for example TYPE TABLE, will allow getting oracle DDL in an output file, TYPE COPY will bring the data). No doubt you need to set remaining attributes based on the requirement.

Export to CSV is not required, as mentioned TYPE COPY will do a load of data if you like it to do Direct Data Streaming.
As of my limited experience I never encountered any issue on the limit on data being transferred, but definitely the load time vary depending on the environment.

Regards
jc





From: Pepe TD Vo <pepevo@yahoo.com>
Sent: 31 March 2020 15:15
To: Pgsql-admin <pgsql-admin@postgresql.org>; Pgsql-general <pgsql-general@postgresql.org>; PgAdmin Support List <pgadmin-support@lists.postgresql.org>
Subject: migrate off oracle data to postgres
 
Hello,

I have a huge data on Oracle, would you please suggest how to migrate all data off Oracle to Postgres?  Do I need to export into csv and upload to postgres?  Ora2pg is limited data from oracle to postgresql right?


Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success