From: Pepe TD Vo <pepevo@yahoo.com>
To: pgsql-admin@lists.postgresql.org, Thomas Kellerer <shammat@gmx.net>
Subject: Re: Exporting TBs of data in Oracle schema/database into CSV format to migrate into PostgreSQL
Date: Mon, 20 Apr 2020 14:02:53 +0000 (UTC)
Message-ID: <172687860.2288957.1587391373846@mail.yahoo.com> (raw)
In-Reply-To: <c5b9987a-ad9e-ce37-d734-2fb38d1d7330@gmx.net>
References: <CAOLrvP6sSTH2Mq5q29-9Jdk3JrR-PGT5WE+eN=8xnqKg8vnvbw@mail.gmail.com>
<c5b9987a-ad9e-ce37-d734-2fb38d1d7330@gmx.net>
Mr. Kellerer,
we can access Oracle table within Postgres? How? Need to create a database link and/or how can both talk to each other?
My data is from production, can turn off the foreign key. Is there a way to copy data from Oracle to Postgres faster? Should I export the Oracle data table via dump file as text/csv and insert it into Postgres? Can we use an oracle dump file?
thank you.
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 Monday, April 20, 2020, 09:28:18 AM EDT, Thomas Kellerer <shammat@gmx.net> wrote:
Prashant Kulkarni schrieb am 20.04.2020 um 13:53:
> Hi Team,
>
> Please can you let me know the menthds/tools/approches to export
> large amount of data (TBs) present in the schemas into the
> CSV/delimated format as we have to import that into PostgreSQL
> later.
>
> I tried for options like SQL Developer/Toad but those are not
> feasible for vast data size, these tool are OK for GBs of data to
> export.
>
> Kindly let me know if you have any solution to complete this task.
Using a foreign table would remove the need to dump and transfer
the data to begin with.
Then you could access the Oracle table directly from within Postgres:
insert into some_table (...)
select ...
from oracle_fdw_table;
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, shammat@gmx.net
Subject: Re: Exporting TBs of data in Oracle schema/database into CSV format to migrate into PostgreSQL
In-Reply-To: <172687860.2288957.1587391373846@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