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: Corrupted sys.order_object_by_dependency

RE: Corrupted sys.order_object_by_dependency

From: Koivu, Lisa <lisa.koivu_at_efairfield.com>
Date: Mon, 29 Oct 2001 10:31:27 -0800
Message-ID: <F001.003B7576.20011029104452@fatcity.com>

Hi Walter,

I believe this is a bug.  Check Metalink.  I've seen this on 8.1.6 on HP/UX 11.0 before. It also ensured that DBMS_UTILITY.COMPILE_SCHEMA didn't work.  It wouldn't suprise me if the bug was not fixed in 8.1.7.  Our solution was to run a brute-force compilation script that didn't use the dependencies table.  You have to run it 3-4 times, but in the end it took less time than waiting for DBMS_UTILITY when it did work.

What's it like working for Ed's Army?

Lisa Koivu
Oracle Database Monkey
Fairfield Resorts, Inc.
954-935-4117

-----Original Message-----

From:   Kirsch, Walter J (Northrop Grumman) [SMTP:walter.kirsch-eds_at_eds.com]
Sent:   Monday, October 29, 2001 12:55 PM
To:     Multiple recipients of list ORACLE-L
Subject:        Corrupted sys.order_object_by_dependency

> HP-UX 11.0 (32bit); Oracle 8.1.7.0.0
>
> I'm swapping between a pair of tables by renaming them.  After a few
> swaps, the order_objects_by_dependency view goes sour as evident by my
> "recompile_invalid_objects" script, whose guts is as follows:
>
>
>
> select "alter..."
> from  

>        sys.order_object_by_dependency dep

> ,      sys.user_objects               obj
> where  obj.object_id = dep.object_id
> AND    status = 'INVALID'
> order by dep.dlevel desc
> ;
>
>
>        sys.order_object_by_dependency dep
>              *

> ERROR at line 4:
> ORA-01436: CONNECT BY loop in user data
>
> Can anyone suggest a way of fixing the underlying data without recreating
> the database?  Thanks.
>
>
> To keep your marriage brimming,
> with love in the loving cup,
> whenever you're wrong, admit it;
> whenever you're right, shut up.
> -- Ogden Nash
>
>
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Kirsch, Walter J (Northrop Grumman)
  INET: walter.kirsch-eds_at_eds.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 Mon Oct 29 2001 - 12:31:27 CST

Original text of this message

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