Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: how to compile these object in oracle 8i

Re: how to compile these object in oracle 8i

From: Gunawan Yuwono <gyuwono_at_yahoo.com>
Date: Wed, 07 Mar 2001 13:06:00 -0800
Message-ID: <F001.002C6513.20010307130050@fatcity.com>

>From Metalink:

Problem Description:


 

While querying "user_objects", under the "OBJECT_TYPE" column, you see a value of "UNDEFINED" on some of the objects. What does this signify?

The "dba_objects" view shows LOB object type as UNDEFINED ; but "user_objects" view shows it correctly as LOB. If you run the query:

select object_type from user_objects;

you see some rows showing a value "UNDEFINED".

What is the object type, when "user_objects" view shows object type as UNDEFINED?   Solution Description:


Using the "object_id" column of "user_objects" for the UNDEFINED object, query obj$:

select type# from sys.obj$ where obj#=<object_id>

If type# returned is 42, then it is an object type that was previously called a SUMMARY object. This object is created when one runs:

create materialized view ... command.
[Or equivalently "create snapshot..." command. ]

Explanation:


 

The object is most likely a SUMMARY object associated with materialized views.

References:


[BUG:1188948] SNAPSHOT IS SHOWING AS UNDEFINED IN DBA_OBJECTS IN RDBMS 8.1.6

                 IN SOLARIS 2.6



Gunawan Yuwono
Oracle DBA
Kansas City, USA

Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Gunawan Yuwono
  INET: gyuwono_at_yahoo.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Mar 07 2001 - 15:06:00 CST

Original text of this message

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