Обсуждение: Database Migration

Поиск
Список
Период
Сортировка

Database Migration

От
"Khan, Mahmood Ahram"
Дата:

Hi,

 

 


  1. What are necessary steps we should follow for migration of a production database from Oracle 10g (10.2.0.1) to PostgreSQL 8.2.4?
  2. What are the most common issues we get and how to fix them in migration procedure?
  3. Any tools available for doing this migration activity. If yes, the URLs of the tools.

 

 

 

 

Thanks & Best Regards

 

M.AHRAM KHAN 

 

Re: Database Migration

От
Kevin Kempter
Дата:
On Wednesday 03 October 2007 01:01:00 Khan, Mahmood Ahram wrote:
> Hi,
>
>
>
>
>
>
> 1.    What are necessary steps we should follow for migration of a
> production database from Oracle 10g (10.2.0.1) to PostgreSQL 8.2.4?
> 2.    What are the most common issues we get and how to fix them in
> migration procedure?
> 3.    Any tools available for doing this migration activity. If yes,
> the URLs of the tools.
>
>
>
>
>
>
>
>
>
> Thanks & Best Regards
>
>
>
> M.AHRAM KHAN


EnterpriseDB has a toolset to migrate data from Oracle into EnterpriseDB
(which of course is PostgreSQL plus). I'm not sure if their tool migrates
from Oracle into generic PostgreSQL as well - I had heard that this was in
the works. It might be worth a look.






Re: Database Migration

От
"Joshua D. Drake"
Дата:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Khan, Mahmood Ahram wrote:
> Hi,
>
>
> 1.    What are necessary steps we should follow for migration of a
> production database from Oracle 10g (10.2.0.1) to PostgreSQL 8.2.4?
> 2.    What are the most common issues we get and how to fix them in
> migration procedure?
> 3.    Any tools available for doing this migration activity. If yes,
> the URLs of the tools.

In general it is not very difficult, there are exceptions of course but
it is more time consuming than difficult.

You can use Orafce:

http://pgfoundry.org/projects/orafce/

This will get you a lot of compatibility with data types and function.

The #1 complaint I hear about migrating to Oracle is the lack of the
Oracle feature Packages. Some of this can be simulated (very little)
with the use of schemas but for the most part you should just consider
rewriting all your procedures in your favorite pl language.

Sincerely,

Joshua D. Drake



>
>
>
>
>
>
>
>
>
> Thanks & Best Regards
>
>
>
> M.AHRAM KHAN
>
>
>
>


- --

      === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564   24x7/Emergency: +1.800.492.2240
PostgreSQL solutions since 1997  http://www.commandprompt.com/
            UNIQUE NOT NULL
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHA7w4ATb/zqfZUUQRAnPyAJ9JMV6Y/bG2aJYeY2Ov8nTdoT9lGgCdHpof
4r/eGjn1J3Kbf8aRTGWU54Q=
=q24e
-----END PGP SIGNATURE-----

Re: Database Migration

От
Devrim GÜNDÜZ
Дата:
Hi,

On Wed, 2007-10-03 at 09:01 -0600, Kevin Kempter wrote:
> I'm not sure if their tool migrates  from Oracle into generic
> PostgreSQL as well

After migrating to EDB, you can run PostgreSQL's pg_dump against EDB and
dump the database. Of course, schema will probably need to be edited
before that dump is reloaded to PostgreSQL.

Regards,
--
Devrim GÜNDÜZ
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, ODBCng - http://www.commandprompt.com/



Вложения