portint database from oracle to postgres

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ghjk
    Contributor
    • Jan 2008
    • 250

    portint database from oracle to postgres

    I want to port oracle database to postgres. How can I do that? Is there any tool for that or do I need to convert query by query?
  • legend97
    New Member
    • Nov 2009
    • 4

    #2
    You have a couple of options.

    If you port straight to Postgres, then you need a tool that can create the tables, indexes, constraints and move the data from Oracle to Postgres. There are tools out there such as EnterpriseDB's migration tool in Postgres Plus Standard Server. It will migrate all the table definitions, indexes, constraints and data for you.

    Postgres Plus Standard Server migration toolkit documentation:


    If you have stored procedures in Oracle that you want to migrate, then you might want to check out Postgres Plus Advanced Server since it has Oracle compatibility and can migrate those procedures, packages, functions, tables, indexes, etc for you. Plus, you get the added benefit of the parser understanding the Oracle extensions to the SQL language, such as functions like DECODE, NVL2, etc so you won't have to rewrite your SQL statements.

    Information about the Oracle Compatibility :

    Flexible Postgres deployment options including on premises and cloud, to fit the needs of your enterprise

    Comment

    • ghjk
      Contributor
      • Jan 2008
      • 250

      #3
      Thank you legend97. I'll try. But I want to use postgres 8. If I use your option is it totally different with version 8?

      Comment

      • legend97
        New Member
        • Nov 2009
        • 4

        #4
        Do you mean PostgreSQL 8 or any 8.X version?

        EnterpriseDB's products are based on Postgres 8.X. For example, Postgres Plus Standard Server core is the same as PostgreSQL 8.4. The Standard Server bundle includes other open source projects that most people end up using, i.e. replication, connectors, pgAdmin, etc.

        So, if you were to move from PostgreSQL to Postgres Plus Standard Server, the move is simply to use pg_dump and then restore....the same steps if you were moving from one version of PostgreSQL to another.

        Comment

        Working...