Path: dp-news.maxwell.syr.edu!spool.maxwell.syr.edu!drn.maxwell.syr.edu!news.maxwell.syr.edu!postnews.google.com!f14g2000cwb.googlegroups.com!not-for-mail
From: "Jack" <sqljack@hotmail.com>
Newsgroups: comp.databases.oracle
Subject: object_id vs data_object_id in user_objects
Date: 2 Mar 2005 15:50:45 -0800
Organization: http://groups.google.com
Lines: 31
Message-ID: <1109807445.283923.45670@f14g2000cwb.googlegroups.com>
NNTP-Posting-Host: 12.167.156.2
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1109807449 3658 127.0.0.1 (2 Mar 2005 23:50:49 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 2 Mar 2005 23:50:49 +0000 (UTC)
User-Agent: G2/0.2
Complaints-To: groups-abuse@google.com
Injection-Info: f14g2000cwb.googlegroups.com; posting-host=12.167.156.2;
   posting-account=C8pXrw0AAAAQZwC0GnCs2IzeAeyQKIUa
Xref: dp-news.maxwell.syr.edu comp.databases.oracle:29288

I would like to ask for clarification on the meaning of these two
columns. According to the 9i Ref, object_id is the dictionary object
number of the object and data_object_id is the dictionary object number
of the segment that contains the object.

First question, what's the difference? Sorry to sound philosophic here,
but how could an object exist without a segment? Obviously it does, but
I could sure use some description of how to interpret the difference.

Second question,

Scenario:

Insert and commit two rows in a table.

Query user_objects for the table, object_id and data_object_id have the
identical value: 31264.

Delete both rows and commit, the columns still have identical values.

Reinsert the rows, commit and truncate the table, object_id is still
31264, data_object_id is now 31265.

Maybe the answer to my first question will clear this up, but at this
point I'm baffled about how the "style" of removing rows from a table
can cause the table's segment id to change? Isn't it the same segment?

Thanks for any illumination anyone can throw.

Jack

