Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Invalid Procedures
>Hello all,
>
> We have installed a package in a client's
>place. Oracle 8.1.7 is the
>server version.
>Often it happens that the procedures become
>invalid. I want to know because
>of what reason some procedures become invalid.
>
>Thanks and Regards,
>Santosh
>
DDL against the objects the procedures depend on is usually the reason. Playing overenthusiastically with GRANT/REVOKE can also be a (less common) reason. Anything susceptible of modifying the execution plan can also be a culprit. Check what your procedures depend on (DBA_DEPENDENCIES) and check the modification date for these objects in DBA_OBJECTS may give you a clue. Otherwise it may come from maintenance operations (I am not too sure about it, but I wouldn't be shocked if collecting statistics would invalidate procedures to force them to recompile on the fly and take advantage of new stats. It wasn't the case some versions ago but I *think* it has changed).
Regards,
Stephane Faroult
Oriole
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Stephane Faroult INET: sfaroult_at_oriolecorp.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- 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 Thu Feb 27 2003 - 04:44:32 CST