Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: How to extract data directly from a datafile ?

RE: How to extract data directly from a datafile ?

From: Richard Ji <Richard.Ji_at_ztango.com>
Date: Wed, 17 Sep 2003 19:09:39 -0800
Message-ID: <F001.005D0432.20030917190939@fatcity.com>


I wouldn't call it the equivalent of DUL. :) Like I said it's a on a much smaller scale because I wrote it to work with what I have. So it only works with 8i, I have only test it on Linux and Solaris (so yes, it works with both little endian and big endian). There are a few data types it doesn't support yet such as BLOBs, etc. You get the idea.

So a lot more work is needed, and I will probably ask for people to help me out by giving me some data files from various platforms, in varies block sizes, containing varies data.

It's a working version as I have used it but there are a lot of enhancements needed to be able to use it in anyone's environment.

And yes, it's in Java.

Richard Ji

-----Original Message-----
Sent: Wednesday, September 17, 2003 10:00 PM To: Multiple recipients of list ORACLE-L

I am aware its called DUL. And you have written the equivalent of DUL in Java then?

If you understand the high-end/low-end bits, I'm interested in what you think....

> Yes and it's called data unloader DUL. And they charge you
> a fortune for using it. Just ask the other list members. :)
>
> -----Original Message-----
> Sent: Wednesday, September 17, 2003 8:25 PM
> To: Multiple recipients of list ORACLE-L
>
>
> I believe someone has done this within Oracle, ie to read the datafile and
> dump into a flat-file, which you can then SQL*load. Don't know what the
> current status is.
>
> As for OS format converter, I thought its more than just an endian issue -
> with high-order/low-order bits to represent file/block and porting groups
> free to shift the bits as they see fit?
>
> ----- Original Message -----
> To: "Multiple recipients of list ORACLE-L" <ORACLE-L_at_fatcity.com>
> Sent: Thursday, September 18, 2003 10:29 AM
>
>
> > Richard:
> >
> > Not sure whether somebody else also tried this. Sometime back we (yours
> > turley and few others ) tried developing a tool to convert a datafile
> > from one OS format to another OS Format (little endian->big endian or
> > Solaris to NT etc) by reading the datablocks from one format and
> > writing to another format.
> >
> > The original plan was to have a iDUL kind of tool with a fileconverter
> > to covert oracle datafiles from one OS to another OS. So the user will
> > have a choice to download the data from data files or convert from one
> > os to another OS. Since oracle started addressing this facility/feature
> > in the current (for future?) versions we have dropped that idea as we
> > don't want to compete with Oracle :D
> >
> > I would be interested in knwoing abt your tool too ..
> >
> > KG
> >
> >
> >
> >
> > --- Richard Ji <Richard.Ji_at_ztango.com> wrote:
> > > Good idea. I am actually planning on write something like that
> > > myself.
> > > I have wrote on a smaller scale one just to extract data
> > > for our company's database (8.1.7.4) and it was extremely
> > > handy in one of our recovery situation where a complete
> > > recovery wasn't possible.
> > >
> > > And I am using Java as well. So maybe we can combine efforts.
> > >
> > > Richard Ji
> > >
> > > -----Original Message-----
> > > Sent: Wednesday, September 17, 2003 5:50 PM
> > > To: Multiple recipients of list ORACLE-L
> > >
> > >
> > > Shame, maybe you could email the guy who is writing it and ask for
> > > details of where he is with it?
> > >
> > > kind regards
> > >
> > > Pete
> >
> >
> > =====
> > Have a nice day !!
> > ------------------------------------------------------------
> > Best Regards,
> > K Gopalakrishnan,
> > Bangalore, INDIA.
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.net
> > --
> > Author: K Gopalakrishnan
> > INET: kaygopal_at_yahoo.com
> >
> > Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> > San Diego, California -- Mailing list and web hosting services
> > ---------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB ORACLE-L
> > (or the name of mailing list you want to be removed from). You may
> > also send the HELP command for other information (like subscribing).
> >
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Binley Lim
> INET: Binley.Lim_at_xtra.co.nz
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Richard Ji
> INET: Richard.Ji_at_ztango.com
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Binley Lim
  INET: Binley.Lim_at_xtra.co.nz

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Richard Ji
  INET: Richard.Ji_at_ztango.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Sep 17 2003 - 22:09:39 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US