From: | "Mikael Carneholm" <Mikael(dot)Carneholm(at)WirelessCar(dot)com> |
---|---|
To: | <krokodylek(at)tenbit(dot)pl>, <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Migrating data from Oracle 9i to PostgreSQL |
Date: | 2006-04-05 20:57:24 |
Message-ID: | 7F10D26ECFA1FB458B89C5B4B0D72C2B3E390C@sesrv12.wirelesscar.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
We have used the pro*c program found in this discussion (for the exact
same purpose):
http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:45902
0243348
It is *blazingly* fast, and creates CSV formatted files suited perfectly
for postgresql's COPY command. Dumping 40Gb of data, sending it over the
network and importing it into postgres takes about an hour and a half
with fsync=true on a single SCSI disk using ext3 mounted with the
data=writeback and noatime options (using a SCSI controller with a
battery backed cache). The bottleneck here is not the dump utility but
the single SCSI disk on the postgres host, so with more disks on the
postgres host you'll probably get even shorter migration time.
- Mikael
-----Original Message-----
From: krokodylek(at)tenbit(dot)pl [mailto:krokodylek(at)tenbit(dot)pl]
Sent: den 4 april 2006 16:02
To: pgsql-general(at)postgresql(dot)org
Subject: Migrating data from Oracle 9i to PostgreSQL
Hi :-)
I sure hope I'm asking in the right place...
Is there any automated or semi-automated way of migrating data from
Oracle database (9.2.0.4) to PostgreSQL one?
I only need the data, nothing else (not stored procedures, indexes,
etc.), the relations are pretty simple, for example:
CREATE TABLE EMAIL
(
UNID VARCHAR2(32 BYTE) NOT NULL,
SUBJECT VARCHAR2(4000 BYTE),
SEND_FROM VARCHAR2(255 BYTE),
PRODUCT_CASE_ID VARCHAR2(32 BYTE),
RECEIVE_DATE DATE,
SEND_TO VARCHAR2(255 BYTE),
SUBMITED_BY VARCHAR2(255 BYTE),
COPY_TO VARCHAR2(255 BYTE),
SEND_BY VARCHAR2(255 BYTE),
PUB INTEGER DEFAULT 0
NOT NULL,
CONTENT CLOB DEFAULT empty_clob(),
RECIPIENT VARCHAR2(255 BYTE)
)
I will be very grateful for any suggestions.
Best regards,
Maciej Zieba
From | Date | Subject | |
---|---|---|---|
Next Message | Simon Riggs | 2006-04-05 21:09:23 | Re: Oracle outer join syntax |
Previous Message | Ricardo Costa | 2006-04-05 20:49:43 |