Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Anyone have a copy of DUL ??
Hi!
Yes, you have to start from very beginning, you have be able to decode number & date columns, have to know internal row structure, block structure, be able to find the start of tab$ and clu$, you have to be able to read extent maps from segment headers (in LMT you don't have anything in uet$ nor fet$ tables), you got to be able to read chained & migrated rows, cluster tables (some base tables are clustered), read rollback segments if want consistent data... ... etc.
That way it's possible to read data out from any datafile. The problem is that if you're missing data dictionary (have lost system TS) and don't have a reasonable backup, you don't know the names of your tables nor column names.
A lot easier would be to write an "online" dul, which queries data dictionary for location of extents and object definitions for example and then scans only relevant datablocks. That way one doesn't have to start decoding data dictionary from scratch. But this approach has other problems like data consistency issues (if some blocks have been modified in buffer cache & haven't been written to datafiles).
Tanel.
> Wouldn't something like DUL need to read Oracle's dictionary? My
impression
> is that a lot of stuff in the data files is heavily encoded, like date and
> number formats. Wouldn't you need the dictionary to understand where one
> column stops and the next starts, and maybe even where one row ends and
the
> next begins?
>
> Dennis Williams
> DBA, 80%OC
P,100%DBALifetouch,Inc.dwilliams_at_lifetouch.zl6-----OriginalMessage-----SentT
hursday,September18,2003740AMToMultiplerecipientsoflistORACLE-LThereareDULsm
anual.httpwww.fors.comvelpuri2dul_ucg8.htmlMaybeinterestingforsomeone.-----M
ensaje original-----
> De: ml-errors_at_fatcity.com [mailto:ml-errors_at_fatcity.com]En nombre de
> Pete Finnigan
> Enviado el: jueves, 18 de septiembre de 2003 13:55
> Para: Multiple recipients of list ORACLE-L
> Asunto: Re: How to extract data directly from a datafile ?
>
>
> Hi Tanel,
>
> A free DUL in C would be very nice to have and to study the source code
> of. maybe you should also contact Kurt van Meerbeek of jDUL project on
> sourceforge, maybe you have some ideas or info he doesn't have that
> could help his efforts or of course Richard's efforts.
>
> kind regards
>
> Pete
> --
> Pete Finnigan
> email:pete_at_petefinnigan.com
> Web site: http://www.petefinnigan.com - Oracle security audit specialists
> Book:Oracle security step-by-step Guide - see http://store.sans.org for
> details.
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Pete Finnigan
> INET: oracle_list_at_peterfinnigan.demon.co.uk
>
> 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: Juan Miranda
> INET: j.miranda_at_sermatica.es
>
> 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: DENNIS WILLIAMS
> INET: DWILLIAMS_at_LIFETOUCH.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: Tanel Poder INET: tanel.poder.003_at_mail.ee 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 Thu Sep 18 2003 - 10:14:41 CDT