Re: Oracle to Postgres migration open source tool

Lists: pgsql-general
From: akp geek <akpgeek(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Oracle to Postgres migration open source tool
Date: 2011-07-07 13:55:45
Message-ID: CACnhOfJNOiJ1B6EgESOOf9okQ9XTX4uN=BjFUjaESPfkuKBnqA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Hi all -

Are there any open source tools available for migrating from
oracle to postgres. We have 20 tables in oracles that we needed to get to
postgres. Appreciate your help

Regards


From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: akp geek <akpgeek(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Oracle to Postgres migration open source tool
Date: 2011-07-07 14:02:40
Message-ID: 4E15BC80.8050401@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

On 7/07/2011 9:55 PM, akp geek wrote:
> Hi all -
>
> Are there any open source tools available for migrating
> from oracle to postgres. We have 20 tables in oracles that we needed to
> get to postgres. Appreciate your help

One avenue you may wish to investigate is ETL tools like Talend. See Google.

EnterpriseDB offer an enhanced version of PostgreSQL with add-on Oracle
compatibility features to ease porting. This might be worth looking into.

Numerous companies offer consulting services for PostgreSQL, some of
which will cover Oracle migrations/conversions. See:
http://www.postgresql.org/support/professional_support

As for specific oracle to PostgreSQL migration tools: Tried Google yet?

--
Craig Ringer

POST Newspapers
276 Onslow Rd, Shenton Park
Ph: 08 9381 3088 Fax: 08 9388 2258
ABN: 50 008 917 717
http://www.postnewspapers.com.au/


From: casp <cesulbaran(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Cc: cesulbaran(at)gmail(dot)com
Subject: Re: Oracle to Postgres migration open source tool
Date: 2011-07-07 14:05:32
Message-ID: 1310047532.3277.6.camel@casp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Good truth migration between Oracle and PostgreSQL are not things
difficult:
Indicates that your database has:

Tables: 20
Shema:?
functions:?
Views:?

They need help to migrate ... Or what are you suggestions if you need a
tool that already does this task for you good people have a tool
interprisedb postgres'm not recommending eye but no way they already
have. : s

El jue, 07-07-2011 a las 09:55 -0400, akp geek escribió:
> We have 20 tables in oracles that we needed to get to postgres
--
______________________________________
Ing. Cesar A. Sulbaran P.
Junior Web Developer. (RUBY AND RUBY ON RAILS)
User 100% Open Sources.
Postgresql dba.
Kernel: 2.6.32-5--bigmen
http://www.google.com/profiles/cesulbaran


From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Oracle to Postgres migration open source tool
Date: 2011-07-07 14:14:07
Message-ID: 20110707141407.GA56515@shinkuro.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

On Thu, Jul 07, 2011 at 09:55:45AM -0400, akp geek wrote:
> Hi all -
>
> Are there any open source tools available for migrating from
> oracle to postgres. We have 20 tables in oracles that we needed to get to
> postgres. Appreciate your help

I have used ora2pg. It was not seamless -- I had to do some whacking
around of the produced files, and I had a pretty good idea of what
changes were needed in the ora2pg tool to improve things, but I didn't
have time to implement them. It was still a lot easier than trying to
do it all by hand.

A

--
Andrew Sullivan
ajs(at)crankycanuck(dot)ca


From: salah jubeh <s_jubeh(at)yahoo(dot)com>
To: casp <cesulbaran(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Cc: cesulbaran(at)gmail(dot)com
Subject: Re: Oracle to Postgres migration open source tool
Date: 2011-07-07 14:21:59
Message-ID: 1310048519.8728.YahooMailRC@web161513.mail.bf1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Hello,

I do no have any experience with oracle, try to dump the oracle database in
plain format and then try to execute the DDL and DML statements. It might be
cumbersome to fix all the errors you might get. But as an initial solution give
it a shot.

Regards

________________________________
From: casp <cesulbaran(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Cc: cesulbaran(at)gmail(dot)com
Sent: Thu, July 7, 2011 4:05:32 PM
Subject: Re: [GENERAL] Oracle to Postgres migration open source tool

Good truth migration between Oracle and PostgreSQL are not things
difficult:
Indicates that your database has:

Tables: 20
Shema:?
functions:?
Views:?

They need help to migrate ... Or what are you suggestions if you need a
tool that already does this task for you good people have a tool
interprisedb postgres'm not recommending eye but no way they already
have. : s

El jue, 07-07-2011 a las 09:55 -0400, akp geek escribió:
> We have 20 tables in oracles that we needed to get to postgres
--
______________________________________
Ing. Cesar A. Sulbaran P.
Junior Web Developer. (RUBY AND RUBY ON RAILS)
User 100% Open Sources.
Postgresql dba.
Kernel: 2.6.32-5--bigmen
http://www.google.com/profiles/cesulbaran


From: Jacqui Caren-home <jacqui(dot)caren(at)ntlworld(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Oracle to Postgres migration open source tool
Date: 2011-07-07 15:38:58
Message-ID: 4E15D312.7000902@ntlworld.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

On 07/07/2011 15:21, salah jubeh wrote:
>
> Hello,
>
> I do no have any experience with oracle, try to dump the oracle database in plain format and then try to execute the DDL and DML statements. It might be cumbersome to fix all the errors you might get.
> But as an initial solution give it a shot.

I have migrated mysql, oracle, ingres and SqlSvr databases to Postgres and in pretty much all cases
around 30% of the activity has been application specific code changes or replacing Oracle
or SS7 specific optimisations with pg equivalents.

An example is the insert then update order issue on a unique keyed table.

The order does make a differenet in processing time and if within a stored procedure
I often find the procedure has to be redone to ensure it performs as expected.
Things like this tend to be missed by automated Ora->Pg toolsets.

I have never used the commercial Oracle "portability" layers but have heard good things about them.
If you have no procedural code or triggers then migration is usually a few days application review
work...

Jacqui


From: Lennin Caro <lennin(dot)caro(at)yahoo(dot)com>
To: akp geek <akpgeek(at)gmail(dot)com>, Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Oracle to Postgres migration open source tool
Date: 2011-07-07 15:51:31
Message-ID: 1310053891.51518.YahooMailClassic@web59512.mail.ac4.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

--- On Thu, 7/7/11, Craig Ringer <craig(at)postnewspapers(dot)com(dot)au> wrote:

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
Subject: Re: [GENERAL] Oracle to Postgres migration open source tool
To: "akp geek" <akpgeek(at)gmail(dot)com>
Cc: "pgsql-general" <pgsql-general(at)postgresql(dot)org>
Date: Thursday, July 7, 2011, 2:02 PM

On 7/07/2011 9:55 PM, akp geek wrote:
> Hi all -
>
>                 Are there any open source tools available for migrating
> from oracle to postgres. We have 20 tables in oracles that we needed to
> get to postgres. Appreciate your help

One avenue you may wish to investigate is ETL tools like Talend. See Google.

EnterpriseDB offer an enhanced version of PostgreSQL with add-on Oracle compatibility features to ease porting. This might be worth looking into.

Numerous companies offer consulting services for PostgreSQL, some of which will cover Oracle migrations/conversions. See:
  http://www.postgresql.org/support/professional_support

As for specific oracle to PostgreSQL migration tools: Tried Google yet?

--
Craig Ringer

POST Newspapers
276 Onslow Rd, Shenton Park
Ph: 08 9381 3088     Fax: 08 9388 2258
ABN: 50 008 917 717
http://www.postnewspapers.com.au/

-- Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

i have used ora2pg migrate oracle database to postgresql
http://pgfoundry.org/projects/ora2pg


From: akp geek <akpgeek(at)gmail(dot)com>
To: Lennin Caro <lennin(dot)caro(at)yahoo(dot)com>
Cc: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Oracle to Postgres migration open source tool
Date: 2011-07-07 16:01:56
Message-ID: CACnhOfL-MuhhEwmesPc2XgWiwRidMQw9_KxLvCYp-LeD=P+JeQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Thank you all for the responses. All we have is just table migrations, no
procedures, triggers involved. I will try to do the migration using ora2pg.
I downloaded it, while installing it I am getting an error. Will try to
resolve that and proceed

Writing
/export/home/postgres/perl_5_10_0/lib/perl5/site_perl/5.10.0/sun4-solaris/auto/Ora2Pg/.packlist
sh install_all.sh
install_all.sh: test: argument expected
gmake: *** [install_all] Error 1

Thanks again

Regards

On Thu, Jul 7, 2011 at 11:51 AM, Lennin Caro <lennin(dot)caro(at)yahoo(dot)com> wrote:

> --- On *Thu, 7/7/11, Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>* wrote:
>
>
> From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
>
> Subject: Re: [GENERAL] Oracle to Postgres migration open source tool
> To: "akp geek" <akpgeek(at)gmail(dot)com>
> Cc: "pgsql-general" <pgsql-general(at)postgresql(dot)org>
> Date: Thursday, July 7, 2011, 2:02 PM
>
> On 7/07/2011 9:55 PM, akp geek wrote:
> > Hi all -
> >
> > Are there any open source tools available for migrating
> > from oracle to postgres. We have 20 tables in oracles that we needed to
> > get to postgres. Appreciate your help
>
> One avenue you may wish to investigate is ETL tools like Talend. See
> Google.
>
> EnterpriseDB offer an enhanced version of PostgreSQL with add-on Oracle
> compatibility features to ease porting. This might be worth looking into.
>
> Numerous companies offer consulting services for PostgreSQL, some of which
> will cover Oracle migrations/conversions. See:
> http://www.postgresql.org/support/professional_support
>
> As for specific oracle to PostgreSQL migration tools: Tried Google yet?
>
> --
> Craig Ringer
>
> POST Newspapers
> 276 Onslow Rd, Shenton Park
> Ph: 08 9381 3088 Fax: 08 9388 2258
> ABN: 50 008 917 717
> http://www.postnewspapers.com.au/
>
> -- Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org<http://mc/compose?to=pgsql-general(at)postgresql(dot)org>
> )
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>
> i have used ora2pg migrate oracle database to postgresql
> http://pgfoundry.org/projects/ora2pg
>
>
>


From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: akp geek <akpgeek(at)gmail(dot)com>
Cc: Lennin Caro <lennin(dot)caro(at)yahoo(dot)com>, Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Oracle to Postgres migration open source tool
Date: 2011-07-07 16:29:45
Message-ID: 20110707162945.GD56515@shinkuro.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

On Thu, Jul 07, 2011 at 12:01:56PM -0400, akp geek wrote:
> Thank you all for the responses. All we have is just table migrations, no
> procedures, triggers involved. I will try to do the migration using ora2pg.
> I downloaded it, while installing it I am getting an error. Will try to
> resolve that and proceed
>
> Writing
> /export/home/postgres/perl_5_10_0/lib/perl5/site_perl/5.10.0/sun4-solaris/auto/Ora2Pg/.packlist
> sh install_all.sh
> install_all.sh: test: argument expected
> gmake: *** [install_all] Error 1

It tries to test using a bunch of Oracle modules, and those modules
install with some sort of fake dependency (ISTR it was $ORACLE_HOME,
but it's a dim memory now -- there was something about installing
client-only libraries IIRC). So you have to bodge up your environment
to get the Perl modules installed, then you need to _re_-bodge to make
sure you're actually pointing at the actual Oracle installation you
want to use.

A

--
Andrew Sullivan
ajs(at)crankycanuck(dot)ca