GATHER_STATS_JOB encountered errors. ORA-20000
2018-03-12 00:00
337 查看
[size=130%]DBMS_STATS: GATHER_STATS_JOB encountered errors. ORA-20000: Unable to set values for table DBMS_TABCOMP_TEMP_UNCMP: does not exist or insufficient privileges
[size=130%]
[size=130%]In this Document
SymptomsChangesCauseSolutionReferences
Applies to: Oracle Database - Enterprise Edition - Version 11.2.0.2 and later
Information in this document applies to any platform.
Symptoms
Alert log shows the error messages below: ...
Begin automatic SQL Tuning Advisor run for special tuning task "SYS_AUTO_SQL_TUNING_TASK"
2012-05-24 22:00:13.107000 +02:00
DBMS_STATS: GATHER_STATS_JOB encountered errors. Check the trace file.
Errors in file /data01/oracle/diag/rdbms/octoprd/OCTOPRD2/trace/OCTOPRD2_j002_2772.trc:
ORA-20000: Unable to set values for table DBMS_TABCOMP_TEMP_UNCMP: does not exist or insufficient privileges
...
Complete stack of errors in the trace may also contain: ...
ORA-20011: Approximate NDV failed:
ORA-08103: object no longer exists
...
ChangesNone
CauseThis issue matches Bug 9939773 which was closed as not a bug as explained by the following description:
"
The compression advisor creates intermediate tables (creates/drops tables DBMS_TABCOMP_TEMP_UNCMP). In case a GATHER_STATS_JOB is run at the same time , the table(s) will be in the list of tables to be analyzed. In case the table is automatically dropped by the compression advisory job before the GATHER_STATS_JOB has reached to that table in the list, the ORA-2000 will be hit. When DBMS_STATS finds it is no longer available, it writes to the alert log.This is no different from the case where a user table is dropped during a statistics gather.
"
Solution You can ignore this error due to following:
The error is non-critical.
Other objects won't be affected by this error and gather stats job continues safely on other user objects. The error will not result in the termination of the gather stats job for the rest of the tables.
The message in the alert log is only informative.
ReferencesNOTE:1247864.1 - DataPump Export Raises ORA-31693 ORA-2354 ORA-942 On DBMS_TABCOMP_TEMP_CMP And DBMS_TABCOMP_TEMP_UNCMP
[size=130%]
以上技术由重庆思庄提供
[size=130%]
[size=130%]In this Document
SymptomsChangesCauseSolutionReferences
Applies to: Oracle Database - Enterprise Edition - Version 11.2.0.2 and later
Information in this document applies to any platform.
Symptoms
Alert log shows the error messages below: ...
Begin automatic SQL Tuning Advisor run for special tuning task "SYS_AUTO_SQL_TUNING_TASK"
2012-05-24 22:00:13.107000 +02:00
DBMS_STATS: GATHER_STATS_JOB encountered errors. Check the trace file.
Errors in file /data01/oracle/diag/rdbms/octoprd/OCTOPRD2/trace/OCTOPRD2_j002_2772.trc:
ORA-20000: Unable to set values for table DBMS_TABCOMP_TEMP_UNCMP: does not exist or insufficient privileges
...
Complete stack of errors in the trace may also contain: ...
ORA-20011: Approximate NDV failed:
ORA-08103: object no longer exists
...
ChangesNone
CauseThis issue matches Bug 9939773 which was closed as not a bug as explained by the following description:
"
The compression advisor creates intermediate tables (creates/drops tables DBMS_TABCOMP_TEMP_UNCMP). In case a GATHER_STATS_JOB is run at the same time , the table(s) will be in the list of tables to be analyzed. In case the table is automatically dropped by the compression advisory job before the GATHER_STATS_JOB has reached to that table in the list, the ORA-2000 will be hit. When DBMS_STATS finds it is no longer available, it writes to the alert log.This is no different from the case where a user table is dropped during a statistics gather.
"
Solution You can ignore this error due to following:
The error is non-critical.
Other objects won't be affected by this error and gather stats job continues safely on other user objects. The error will not result in the termination of the gather stats job for the rest of the tables.
The message in the alert log is only informative.
ReferencesNOTE:1247864.1 - DataPump Export Raises ORA-31693 ORA-2354 ORA-942 On DBMS_TABCOMP_TEMP_CMP And DBMS_TABCOMP_TEMP_UNCMP
[size=130%]
以上技术由重庆思庄提供
相关文章推荐
- ORA-20011 ORA-29913 and ORA-29400 with Associated KUP-XXXXX Errors from DBMS_STATS.GATHER_STATS_JOB
- ORA-08103 & GATHER_STATS_JOB
- 修改10g自动统计信息收集作业GATHER_STATS_JOB到仅仅周末执行
- Troubleshooting ORA-3137 [12333] Errors Encountered When Using Oracle JDBC Driver (文档 ID 1361107.1)
- Does GATHER_STATS_JOB gather all objects' stats every time?
- 如何检查GATHER_STATS_JOB任务的执行情况
- Troubleshooting ORA-3137 [12333] Errors Encountered When Using Oracle JDBC Driver (文档 ID 1361107.1)
- 鸡肋收集统计信息JOB-GATHER_STATS_JOB
- BSLN_MAINTAIN_STATS_JOB Job Failed With ORA-04063
- GATHER_STATS_JOB: Stopped by Scheduler. Consider increasing the maintenance window duration if this happens frequently.
- Oracle 10g: Checklist To Diagnose Issues Related To Automatic Run Of Job GATHER_STATS_JOB (Doc ID 80
- ORA-12012: error on auto execute of job “SYS”.”BSLN_MAINTAIN_STATS_JOB”
- Does GATHER_STATS_JOB gather all objects’ stats every time?
- ORA-12012: error on auto execute of job "SYS"."BSLN_MAINTAIN_STATS_JOB" ORA-01950: no privileges on
- GATHER_STATS_JOB任务
- 由GATHER_STATS_JOB引发的堵塞
- 如何检查GATHER_STATS_JOB任务的执行情况
- 如何检查GATHER_STATS_JOB任务的执行情况
- DBA_SCHEDULER_JOBS——gather_stats_job
- Oracle 10g GATHER_STATS_JOB作业周六6点开始运行的原因