pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pepe TD Vo <pepevo@yahoo.com>
To: Pgsql-admin <pgsql-admin@postgresql.org>
To: Pgsql-general <pgsql-general@postgresql.org>
To: PgAdmin Support List <pgadmin-support@lists.postgresql.org>
To: JC JC <shekharjchandra@hotmail.co.uk>
Subject: Re: migrate off oracle data to postgres
Date: Tue, 31 Mar 2020 16:45:43 +0000 (UTC)
Message-ID: <743748782.1183492.1585673143662@mail.yahoo.com> (raw)
In-Reply-To: <DB6PR0902MB2216CFE91BEAAC14A8329202E5C80@DB6PR0902MB2216.eurprd09.prod.outlook.com>
References: <1587437647.1103378.1585664119295.ref@mail.yahoo.com>
	<1587437647.1103378.1585664119295@mail.yahoo.com>
	<DB6PR0902MB2216EE98F1DF8368DC95A331E5C80@DB6PR0902MB2216.eurprd09.prod.outlook.com>
	<1493124385.1141236.1585669895986@mail.yahoo.com>
	<DB6PR0902MB2216CFE91BEAAC14A8329202E5C80@DB6PR0902MB2216.eurprd09.prod.outlook.com>

@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 https://ora2pg.darold.net/documentation.html 

You need to create ora2pg conf file with TYPE COPY, and ALLOW <LIST OF TABLES separated by space> and remaining other attributes like ORACLE_DSNORACLE_PWDORACLE_USER
similarly PG_DSNPG_USERPG_PWD etc etc.
Cheersjc
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 ddl data 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.
Regardsjc



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  

view thread (11+ messages)  latest in thread

Message-ID: <743748782.1183492.1585673143662@mail.yahoo.com>
Permalink:  ../743748782.1183492.1585673143662@mail.yahoo.com/
Also on:    postgresql.org/message-id/743748782.1183492.1585673143662@mail.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: pepevo@yahoo.com, pgsql-general@postgresql.org, pgadmin-support@lists.postgresql.org, shekharjchandra@hotmail.co.uk
  Subject: Re: migrate off oracle data to postgres
  In-Reply-To: <743748782.1183492.1585673143662@mail.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox