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

Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle log files format

Re: Oracle log files format

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Wed, 13 Mar 2002 18:50:56 -0000
Message-ID: <1016045383.2212.0.nnrp-12.9e984b29@news.demon.co.uk>

If you want to play around with learning about the formatting and content of log files, then you can use the command:

alter system dump logfile 'logfilename';

This gives you a trace file holding a symbolic dump of the file. You might want to do:

alter system switch logfile;

and do a limited amount of work before dumping it though, as the symbolic dump is a bit big.

Once you've done this, look for

    REDO RECORD (especially the LENgth information) and

    CHANGE #N
entries.

The use od -x on the file (for unix systems) and you can start to match up the described bits of the dump with the actual hex content.

As with all 'developer only' aspects of Oracle, the dumps haven't necessarily caught up with all the features, so you may find material in the logfile which doesn't appear to be in the dump.

--
Jonathan Lewis
http://www.jlcomp.demon.co.uk

Next Seminar - UK, April 3rd - 5th
http://www.jlcomp.demon.co.uk/seminar.html

Host to The Co-Operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/faq/ind_faq.html

Author of:
Practical Oracle 8i: Building Efficient Databases


lodz wrote in message ...

>Can any body know Oracle DB log file format?
>
>Thanks.
>
>
Received on Wed Mar 13 2002 - 12:50:56 CST

Original text of this message

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