Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Strange: after TRUNCATE I noticed the obj# differs in a segment hdr dump
It's the data_object_id (if you look in dba_objects). or dataobj# in obj$. The obj# is indexed, and identifies an object logically, the dataobj# is not indexed, and identifies the physical storage of the data in the logical object.
For a simple table, the two start off the same, but if you move the table, or truncate the table, then a new data object id is generated for the effectively new physical location.
-- Regards Jonathan Lewis http://www.jlcomp.demon.co.uk The educated person is not the person who can answer the questions, but the person who can question the answers -- T. Schick Jr One-day tutorials: http://www.jlcomp.demon.co.uk/tutorial.html ____Finland__September 22nd - 24th ____Norway___September 25th - 26th ____UK_______December (UKOUG conference) Three-day seminar: see http://www.jlcomp.demon.co.uk/seminar.html ____USA__October ____UK___November The Co-operative Oracle Users' FAQ http://www.jlcomp.demon.co.uk/faq/ind_faq.html "Spendius" <spendius_at_muchomail.com> wrote in message news:aba30b75.0309180657.595cb7ee_at_posting.google.com...Received on Thu Sep 18 2003 - 11:54:25 CDT
> I've noticed that the line
> > Map Header:: next 0x... #extents: 1 obj#: 23896 flag:...
>
> in a trace file (resulting from an ALTER SYSTEM DUMP DATAFILE
> command) changes and that the value of obj# is incremented (yet
> nothing's changed in SYS.OBJ$ or DBA_OBJECTS -fortunately-).
>
> Does anyone know where does this value come from/where it's
> stored ? (when I do SELECT name FROM sys.obj$ WHERE obj#=newValue
> I get "no rows selected")
>
> Thanks.