RE: Looking for suggestions - how find cause of sql invalidations
Date: Tue, 18 Jul 2017 13:05:50 -0400
Message-ID: <0b5801d2ffe8$1c994cf0$55cbe6d0$_at_rsiz.com>
Two things (from probably a lot of possibilities) come immediately to mind:
I’m not sure if anyone has compiled a consolidated list of all the possible reasons for invalidation (and it would surely be an evolving list across added features and patches), but if anyone has something like that it deserves publication of the url.
mwf
There is one table involved in the query - and it has 1444 partitions.
I checked LAST_DDL_TIME from dba_objects and I don't see any DDL timestamps that would be related.
I've checked last_analyzed from DBA_TAB_PARTITIONS and that the table hasn't been analyzed during the period of invalidations.
Much of the SQL being executed against this table is "EXECUTE IMMEDIATE" from within pl/sql.
One of the code blocks does have an IF statement that would do a "LOCK TABLE" if the condition is met (I can't tell if that condition is being met however). Would a LOCK TABLE cause invalidations?
Any suggestions on how to crack this particular egg?
Chris
--
http://www.freelists.org/webpage/oracle-l
Received on Tue Jul 18 2017 - 19:05:50 CEST