Unix Technical Forum

migrating Mediumblob from mysql to oracle.

This is a discussion on migrating Mediumblob from mysql to oracle. within the Oracle Database forums, part of the Database Server Software category; --> How to migrate mediumblob from mysql to oracle.Since the column contains more than 500MB of data it's diifcult to ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-25-2008, 12:57 AM
JAI
 
Posts: n/a
Default migrating Mediumblob from mysql to oracle.

How to migrate mediumblob from mysql to oracle.Since the column contains more
than 500MB of data it's diifcult to migrate.I'm using SQL*LOADER for
migration.This is my CTL file

load data
infile 'AS_db.txt'
into table AS_DB
fields terminated by ','
trailing nullcols
(PACKAGE_PK integer,
ORDER_NUM integer,
"DATA" lobfile(constant "C:\omwb\sqlloader_scripts\MySQL3\13-12-2005_16-34-56\
Oracle\as_db.txt") terminated by EOF)
Here the problem is i have given the same file "AS_DB.txt" in both inifile
section and lobfile section.

IS there anyother way it can be achieved.


Thanks in Advance,
JAI
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-25-2008, 12:58 AM
DA Morgan
 
Posts: n/a
Default Re: migrating Mediumblob from mysql to oracle.

JAI wrote:
> How to migrate mediumblob from mysql to oracle.Since the column contains more
> than 500MB of data it's diifcult to migrate.I'm using SQL*LOADER for
> migration.This is my CTL file
>
> load data
> infile 'AS_db.txt'
> into table AS_DB
> fields terminated by ','
> trailing nullcols
> (PACKAGE_PK integer,
> ORDER_NUM integer,
> "DATA" lobfile(constant "C:\omwb\sqlloader_scripts\MySQL3\13-12-2005_16-34-56\
> Oracle\as_db.txt") terminated by EOF)
> Here the problem is i have given the same file "AS_DB.txt" in both inifile
> section and lobfile section.
>
> IS there anyother way it can be achieved.
>
>
> Thanks in Advance,
> JAI


DBMS_LOB built-in package.

www.psoug.org
click on Morgan's Library
click on DBMS_LOB
look at the demos at the bottom of the page
--
Daniel A. Morgan
http://www.psoug.org
damorgan@x.washington.edu
(replace x with u to respond)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:40 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com