Re: Exporting TBs of data in Oracle schema/database into CSV formatto migrate into PostgreSQL

Поиск
Список
Период
Сортировка
Искать
От
Laurenz Albe
Тема
Re: Exporting TBs of data in Oracle schema/database into CSV formatto migrate into PostgreSQL
Дата
Msg-id
ee5a27d790ac43d4358b6353f37d09eee4214bbf.camel@cybertec.at
Ответ на
Список
Дерево обсуждения
Exporting TBs of data in Oracle schema/database into CSV format tomigrate into PostgreSQL Prashant Kulkarni <ppk10.prashant@gmail.com>
Re: Exporting TBs of data in Oracle schema/database into CSV formatto migrate into PostgreSQL manish yadav <manishy174@yahoo.co.in>
Re: Exporting TBs of data in Oracle schema/database into CSV formatto migrate into PostgreSQL pinker <pinker@onet.eu>
RE: Exporting TBs of data in Oracle schema/database into CSV formatto migrate into PostgreSQL <soumik.bhattacharjee@kpn.com>
Re: Exporting TBs of data in Oracle schema/database into CSV formatto migrate into PostgreSQL "Peter M. Groen" <peter@osdev.nl>
Re: Exporting TBs of data in Oracle schema/database into CSV formatto migrate into PostgreSQL Thomas Kellerer <shammat@gmx.net>
Re: Exporting TBs of data in Oracle schema/database into CSV formatto migrate into PostgreSQL Pepe TD Vo <pepevo@yahoo.com>
Re: Exporting TBs of data in Oracle schema/database into CSV formatto migrate into PostgreSQL "Jonah H. Harris" <jonah.harris@gmail.com>
Re: Exporting TBs of data in Oracle schema/database into CSV formatto migrate into PostgreSQL Pepe TD Vo <pepevo@yahoo.com>
Re: Exporting TBs of data in Oracle schema/database into CSV formatto migrate into PostgreSQL Laurenz Albe <laurenz.albe@cybertec.at>
Re: Exporting TBs of data in Oracle schema/database into CSV formatto migrate into PostgreSQL Avinash Kumar <avinash.vallarapu@gmail.com>
Re: Exporting TBs of data in Oracle schema/database into CSV formatto migrate into PostgreSQL Laurenz Albe <laurenz.albe@cybertec.at>
Re: Exporting TBs of data in Oracle schema/database into CSV formatto migrate into PostgreSQL Pepe TD Vo <pepevo@yahoo.com>
Re: Exporting TBs of data in Oracle schema/database into CSV formatto migrate into PostgreSQL Laurenz Albe <laurenz.albe@cybertec.at>
Re: Exporting TBs of data in Oracle schema/database into CSV formatto migrate into PostgreSQL Avinash Kumar <avinash.vallarapu@gmail.com>
Re: Exporting TBs of data in Oracle schema/database into CSV formatto migrate into PostgreSQL Laurenz Albe <laurenz.albe@cybertec.at>
Re: Exporting TBs of data in Oracle schema/database into CSV formatto migrate into PostgreSQL Avinash Kumar <avinash.vallarapu@gmail.com>
Re: Exporting TBs of data in Oracle schema/database into CSV formatto migrate into PostgreSQL Scott Ribe <scott_ribe@elevated-dev.com>
Re: Exporting TBs of data in Oracle schema/database into CSV formatto migrate into PostgreSQL Avinash Kumar <avinash.vallarapu@gmail.com>
Re: Exporting TBs of data in Oracle schema/database into CSV formatto migrate into PostgreSQL Marlene Villanueva <villanuevamarlene906@gmail.com>
Re: Exporting TBs of data in Oracle schema/database into CSV formatto migrate into PostgreSQL Ron <ronljohnsonjr@gmail.com>
On Mon, 2020-04-20 at 14:02 +0000, Pepe TD Vo wrote:
> we can access Oracle table within Postgres?  How?  Need to create a database link
> and/or how can both talk to each other?

That would be the Oracle foreign data wrapper:
https://laurenz.github.io/oracle_fdw/

> 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?

You cannot use an Oracle dump, because that is in a proprietary format.

Using the foreign data wrapper, you define a foreign table in PostgreSQL.
When you select from that table, the data are directly fetched from Oracle.

Then you can do

   INSERT INTO localtable SELECT * FROM foreign_table;

to transfer the data, without any intermediary file storage.
In a way, the data are streamed from Oracle to PostgreSQL.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com



В списке pgsql-admin по дате отправления
От: Pepe TD Vo
Дата:
От: manish yadav
Дата:
FAQ