建立PERFSTAT會使某些物件invalid

westzq1984發表於2009-08-06

SQL> SELECT OBJECT_NAME FROM DBA_OBJECTS WHERE STATUS <> 'VALID';

no rows selected

SQL> @?/rdbms/admin/spcreate.sql

SQL> SELECT OBJECT_NAME FROM DBA_OBJECTS WHERE STATUS <> 'VALID';

OBJECT_NAME
--------------------------------------------------------------------------------------------------------------------------------
DBMS_UTILITY
DBMS_PCLXUTIL
DBMS_JOB
DBMS_STATS
DBMS_PRVTAQIP
DBMS_AQADM_SYS
DBMS_IREFRESH
DBMS_SNAPSHOT
UTL_RECOMP
DRIDDLR

建立PERFSTAT會invalid一些物件,如果程式中存在對這些物件的並行呼叫,可能導致 'library cache lock' 和'library cache pin'

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/8242091/viewspace-611531/,如需轉載,請註明出處,否則將追究法律責任。

相關文章