473,386 Members | 1,602 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

portint database from oracle to postgres

250 100+
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?
Nov 5 '09 #1
3 2711
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:
http://www.enterprisedb.com/docs/en/...6.htm#P75_8073

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 :

http://www.enterprisedb.com/products...as/overview.do
Nov 5 '09 #2
ghjk
250 100+
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?
Nov 6 '09 #3
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.
Nov 7 '09 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Erwin Brandstetter | last post by:
I am rather new to PostgreSQL.What I am looking for ist this: An example database that demonstrates the usage of all the core PostgreSQL features. It is one thing to read extensive documentation,...
5
by: Christian Traber | last post by:
Hi, I'll try to switch from Oracle to postgres for some small applications. Is it possible to build functions like Oracle's nvl or decode with pgplsql? How can I make a function like nvl that...
1
by: Martin_Hurst | last post by:
Is it possible to establish a connection from within a postgres database to another external database on the network, i.e., not a java or scripting connection, BUT by some type of table definition...
1
by: Eric | last post by:
Hi, I would like to know if a daemon exist to intercept Oracle queries and translate to postgresql query... I have a windows app (AccPac) that connect to an Oracle server via ODBC. I would...
19
by: Andy B | last post by:
Hello, Sorry for this newbish question. Briefly, my problem: ------------------ I expect the database I'm working on to reach something in the order of 12-16 Gigabytes, and I am interested...
0
by: Maus | last post by:
For connecting a DB (Oracle in this case) in JDBC I know the follow java instructions: Class.forName("oracle.jdbc.driver.OracleDriver"); String dbUrl = ...
11
by: David Pradier | last post by:
Hi ! I've just inherited the responsibility of a postgresql database of roughly 480 tables and 6460 columns, mainly without constraints, not even foreign keys. I'd like to make it a little...
12
by: Sean Davis | last post by:
I am working on a simple script to read from one database (oracle) and write to another (postgresql). I retrieve the data from oracle in chunks and drop the data to postgresql continuously. The...
33
by: bill | last post by:
In an application I am writing the user can define a series of steps to be followed. I save them in a sql database using the field "order" (a smallint) as the primary key. (there are in the range...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.