Re: Where do you find undo info in trace files, and how

  • From: "Juan Carlos Reyes Pacheco" <jreyes@xxxxxxxxxxxxxxxx>
  • To: <kaygopal@xxxxxxxxx>, "oracle-l@xxxxxxxxxxxxx" <oracle-l@xxxxxxxxxxxxx>
  • Date: Wed, 29 Sep 2004 09:01:11 -0400

 Thanks Gopalakrishnan
What I want is to get all the same info I get setting autotrace, but from
trace file, if you can helpme please.
in this case I'm searching "redo size" source 

SQL> select count(*) from adm.cuentase_me;


Execution Plan
   0      SELECT STATEMENT Optimizer=CHOOSE (Cost=2 Card=1)
   1    0   SORT (AGGREGATE)

        503  recursive calls
          0  db block gets
        157  consistent gets
          3  physical reads
          0  redo size
        245  bytes sent via SQL*Net to client
        417  bytes received via SQL*Net from client
          2  SQL*Net roundtrips to/from client
          6  sorts (memory)
          0  sorts (disk)
          1  rows processed

Juan Carlos Reyes Pacheco
-------Original Message-------
From: K GopalakrishnanDate: 09/29/04 03:35:40
To: jreyes@xxxxxxxxxxxxxxxx; oracle-l@xxxxxxxxxxxxx
Subject: Re: Where do you find undo info in trace files, and how
Here is the sample. It is an undo block dump. Are you looking for block
dumps or undo traces?
* Rec #0x1 slt: 0x2d objn: 31961(0x00007cd9) objd: 31961 tblspc:
* Layer: 11 (Row) opc: 1 rci 0x00
Undo type: Regular undo Begin trans Last buffer split: No
Temp Object: No
Tablespace Undo: No
rdba: 0x00000000
uba: 0x03401ea9.0247.12 ctl max scn: 0x0000.004f0664 prv tx scn:
KDO undo record:
KTB Redo
op: 0x04 ver: 0x01
op: L itl: xid: 0x0034.008.0000088a uba: 0x034546ec.027f.03
flg: C--- lkc: 0 scn: 0x0000.004ef173
KDO Op code: QMD row dependencies Disabled
xtype: XA bdba: 0x03875321 hdba: 0x0382059a
itli: 2 ispac: 0 maxfr: 3239
tabn: 0 lock: 0 nrow: 1
slot[0]: 34
Have a nice day !!
Best Regards,
K Gopalakrishnan,
Co-Author: Oracle Wait Interface: Oracle Press 2004.
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.

Other related posts: