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: Strange: after TRUNCATE I noticed the obj# differs in a segment hdr dump

Re: Strange: after TRUNCATE I noticed the obj# differs in a segment hdr dump

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Thu, 18 Sep 2003 17:54:25 +0100
Message-ID: <bkcnu5$h1j$1$8300dec7@news.demon.co.uk>

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...

> 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.
Received on Thu Sep 18 2003 - 11:54:25 CDT

Original text of this message

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