Re: Copying Data from Oracle to PostgreSQL

From: Don Seiler <don(at)seiler(dot)us>
To: Pepe TD Vo <pepevo(at)yahoo(dot)com>
Cc: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Copying Data from Oracle to PostgreSQL
Date: 2019-01-11 16:28:51
Message-ID: CAHJZqBBYch93Bqq=Wj5+Yt87Zy4MS28QachzgRbf9t_G-9S8Hw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Fri, Jan 11, 2019 at 10:23 AM Pepe TD Vo <pepevo(at)yahoo(dot)com> wrote:

>
> Is there a best tool for me to copying data from Oracle to PostgreSQL?
> The Oracle db named is Cidr and had a few schemas, each schemas owned
> their own tables, procedures, triggers, functions. If I create a database
> on Postgres, how do I copy all schemas from Oracle? Or each schema will
> become one of the postgreSQL database?
>

If you just want to copy data, you could set up oracle_fdw and import the
data via a SELECT query from the foreign table(s). If you're looking to
migrate all of those objects (including procedures, functions, etc), then
you'll need something like ora2pg.

Don.
--
Don Seiler
www.seiler.us

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Shreeyansh Dba 2019-01-11 16:29:18 Re: Copying Data from Oracle to PostgreSQL
Previous Message Pepe TD Vo 2019-01-11 16:22:58 Copying Data from Oracle to PostgreSQL