ORACLE 11g ORA-20000: Unable to analyze TABLE "AA"."CMP3$87651", insufficient privileges or does not exist

前端之家收集整理的这篇文章主要介绍了ORACLE 11g ORA-20000: Unable to analyze TABLE "AA"."CMP3$87651", insufficient privileges or does not exist前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。


Sat Sep 21 06:00:00 2019
Begin automatic sql Tuning Advisor run for special tuning task "SYS_AUTO_sql_TUNING_TASK"
End automatic sql Tuning Advisor run for special tuning task "SYS_AUTO_sql_TUNING_TASK"
Sat Sep 21 22:01:51 2019
DBMS_STATS: GATHER_STATS_JOB encountered errors. Check the trace file.
Errors in file /u01/app/oracle/diag/rdbms/test/test/trace/test_j000_24672.trc:
ORA-20000: Unable to analyze TABLE "AA"."CMP3$87651",insufficient privileges or does not exist


[[email protected] trace]$ sqlplus / as sysdba

sql*Plus: Release 11.2.0.4.0 Production on Sat Sep 21 22:19:41 2019

Copyright (c) 1982,2013,Oracle. All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning,OLAP,Data Mining and Real Application Testing options

22:19:41 [email protected](test)> select OWNER,OBJECT_NAME,OBJECT_TYPE,CREATED,LAST_DDL_TIME,STATUS,TEMPORARY from dba_objects where OBJECT_NAME=‘CMP3$87651‘;

no rows selected

22:19:43 [email protected](test)>

从MOS上的一些解释可以看到,该表为临时的表,会被删掉。而自动优化统计信息任务在执行的时候,可能数据字典中还认为存在这个表。但实际这个表已经不存在了。所以会出现这个错误。从MOS上的解释看。不影响后续的优化统计信息的Job的执行。

猜你在找的Oracle相关文章