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 existsql
[oracle@test trace]$ sqlplus / as sysdbaoracle
SQL*Plus: Release 11.2.0.4.0 Production on Sat Sep 21 22:19:41 2019app
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 optionsci
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';it
no rows selectedio
22:19:43 SYS@test(test)> test
從MOS上的一些解釋能夠看到,該表爲臨時的表,會被刪掉。而自動優化統計信息任務在執行的時候,可能數據字典中還認爲存在這個表。但實際這個表已經不存在了。
因此會出現這個錯誤。從MOS上的解釋看。不影響後續的優化統計信息的Job的執行。object