dbTalk Databases Forums  

Migrate blob field from Postgres to Oracle

comp.databases.postgresql comp.databases.postgresql


Discuss Migrate blob field from Postgres to Oracle in the comp.databases.postgresql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Big George
 
Posts: n/a

Default Migrate blob field from Postgres to Oracle - 09-13-2010 , 02:31 PM






Hello, I need to migrate a database from postgres to Oracle

My Postgres box has this software version:
- PostgreSQL 7.4.2
- O/S: Conectiva Linux 10

My Oracle box has this software:
- Oracle 10gR1
- O/S: Windows Server 2003

I could use PgAdmin and make txt files of data for each table and then
import them to Oracle. My problem is that there is one table that
contains Blob field. How can I migrate this table to my Oracle?
I thought to use pg_dump utility, but would Oracle recognize the
output dmp?

Reply With Quote
  #2  
Old   
Mladen Gogala
 
Posts: n/a

Default Re: Migrate blob field from Postgres to Oracle - 09-13-2010 , 11:12 PM






On Mon, 13 Sep 2010 12:31:20 -0700, Big George wrote:

Quote:
Hello, I need to migrate a database from postgres to Oracle

My Postgres box has this software version: - PostgreSQL 7.4.2
- O/S: Conectiva Linux 10

My Oracle box has this software:
- Oracle 10gR1
- O/S: Windows Server 2003

I could use PgAdmin and make txt files of data for each table and then
import them to Oracle. My problem is that there is one table that
contains Blob field. How can I migrate this table to my Oracle? I
thought to use pg_dump utility, but would Oracle recognize the output
dmp?
Use pg_dump --inserts. It will generate plain insert commands which
should be executed smoothly on the Oracle side. Oracle doesn't have the
copy command, so this is the simplest method, though not the fastest. The
fastest would be to write a SQL loader script and load the table into
Oracle RDBMS using sqlldr.



--
http://mgogala.byethost5.com

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.