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
[oracle@test 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 SYS@test(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 SYS@test(test)>
从MOS上的一些解释可以看到,该表为临时的表,会被删掉。而自动优化统计信息任务在执行的时候,可能数据字典中还认为存在这个表。但实际这个表已经不存在了。
所以会出现这个错误。从MOS上的解释看。不影响后续的优化统计信息的Job的执行。
日积月累