Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Invalid Objects when Upgrading
amerar_at_iwc.net wrote:
> Laurenz Albe wrote:
>> amerar_at_iwc.net <amerar_at_iwc.net> wrote: >>> We just (finally) applied patch 4163445, which is the 9.2.0.7 upgrade. >>> Upon completing the upgrade, a few SYS objects became invalid and do >>> not compile: >>> >>> DBMS_METADATA_UTIL >>> DBMS_METADATA >>> DBMS_LOGMNR_SESSION >>> DBMS_INTERNAL_LOGSTDBY >>> DBMS_EXPORT_EXTENSION >>> >>> Just wondering if these are serious, or worth our attention to fix >>> whatever the problems are...... >> You can recompile the packages from sqlplus and type 'show error' to >> get the error messages. Maybe they help. >> >> Yours, >> Laurenz Albe
When you perform an upgrade or apply patches or patchsets, changes may occur to packages, dictionary tables, etc. Any objects that depend on the object that was modified will become invalid. It needs to be recompiled. This is normal standard operating procedure. A major upgrade will often involve changes to the DBMS_STANDARD package which then invalidates just about every PL/SQL block stored in the database.
Sign on as SYS and run the utlrp.sql script to fix these.
HTH,
Brian
-- =================================================================== Brian Peasland oracle_dba_at_nospam.peasland.net http://www.peasland.net Remove the "nospam." from the email address to email me. "I can give it to you cheap, quick, and good. Now pick two out of the three" - UnknownReceived on Wed Jun 14 2006 - 11:26:07 CDT