Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Objects with blocks inside undo
"JLchiappa" <blaublau67-grupos_at_yahoo.com.br> wrote in message
news:1119457975.231619.302700_at_o13g2000cwo.googlegroups.com...
Mladen, my desire is exactly to find which objects (and what lines of the tables/indexes, if possible) are protected by the given undo seg : yes, I was thinking in the line of dumping, reallly. I will visit JD´s site, but I have just one more question : afaik dumping will give me an image of the data , not the name of the tables/indexes where the data comes, right ?
Regards,
Chiappa
Probably totally unreadable, but cut and paste into notepad or vi to get to fixed font, then check out record 9 in the block:
alter system dump datafile 2 block 144;
Start dump data blocks tsn: 1 file#: 2 minblk 144 maxblk 144
buffer tsn: 1 rdba: 0x00800090 (2/144)
scn: 0x0000.0675d214 seq: 0x01 flg: 0x00 tail: 0xd2140201
frmt: 0x02 chkval: 0x0000 type: 0x02=KTU UNDO BLOCK
xid: 0x0009.029.00016a1e seq: 0x8f3 cnt: 0x9 irb: 0x9 icl: 0x0 flg: 0x0000 -----^^^^^^^^^^^^^^^^^^^ transaction id of last transaction to use this undoblock
------------------------------------------^^^ number of records used.Rec Offset Rec Offset Rec Offset Rec Offset Rec Offset
0x06 0x1c10 0x07 0x1b6c 0x08 0x1b00 0x09 0x1aa4 ------------------------------------------------^^^^^^^^^^^ Identifies startof record 9
{{ records 1 to 8 removed ))
*-----------------------------
* Rec #0x9 slt: 0x29 objn: 39277(0x0000996d) objd: 39288 tblspc:
9(0x00000009) -----------------------------^^^^^ object_id of object changed ------------------------------------------------------^^^^^ data_object_id
ncol: 3 nnew: 1 size: -2
------^ number of columns in row
--------------^ number of columns changed
col 2: [ 8] 79 79 79 79 79 79 79 79
-----^ column number of column changed.
End dump data blocks tsn: 1 file#: 2 minblk 144 maxblk 144
-- Regards Jonathan Lewis http://www.jlcomp.demon.co.uk/faq/ind_faq.html The Co-operative Oracle Users' FAQ http://www.jlcomp.demon.co.uk/seminar.html Public Appearances - schedule updated April 5th 2005Received on Wed Jun 22 2005 - 12:17:06 CDT