阿里云-云小站(无限量代金券发放中)
【腾讯云】云服务器、云数据库、COS、CDN、短信等热卖云产品特惠抢购

Oracle 18.3 ORA-12012 ORA-20001

187次阅读
没有评论

共计 1826 个字符,预计需要花费 5 分钟才能阅读完成。

问题:   

Oracle 告警日志有大量如下信息,平均每  10 分钟出现一次:

[oracle@oracle-server001 trace]$ pwd

/u01/app/oracle/diag/rdbms/chendb/chendb/trace

[oracle@oracle-server001 trace]$ vi alert_chendb.log

……

2019-01-03T01:28:08.337087+08:00

Errors in file /u01/app/oracle/diag/rdbms/chendb/chendb/trace/chendb_j000_84302.trc:

 ORA-12012: error on auto execute of job “SYS”.”ORA$AT_OS_OPT_SY_2612″ 

 ORA-20001: Statistics Advisor: Invalid task name for the current user 

ORA-06512: at “SYS.DBMS_STATS”, line 49538

ORA-06512: at “SYS.DBMS_STATS_ADVISOR”, line 881

ORA-06512: at “SYS.DBMS_STATS_INTERNAL”, line 21631

ORA-06512: at “SYS.DBMS_STATS_INTERNAL”, line 23763

ORA-06512: at “SYS.DBMS_STATS”, line 49526

2019-01-03T01:38:13.791103+08:00

环境说明:

OS: CentOS Linux release 7.5

DB:Oracle 18.3.0.0.0

问题原因:

Bug 22879263    – BETA 12.2 – ORA-12012 , ORA-20001 AND ORA-06512 FROM ORA$AT_OS_OPT_SY_88 JOB 

解决方案:   

1.Bug is fixed in 12.2.0.1.0.

2.Use following workaround:

 execute ”  EXEC dbms_stats.init_package();  “

—support.oracle.com 上    详细说明如下 

Recurring ORA-12012, ORA-20001, ORA-06512 In Container Database (文档 ID 2420581.1) 

 APPLIES TO: 

 Oracle Database – Enterprise Edition – Version 12.2.0.1 and later 
 Information in this document applies to any platform. 

SYMPTOMS

  • In container database, following errors are seen in the alert log: 

 ORA-12012: error on auto execute of job “SYS”.”ORA$AT_OS_OPT_SY_7165″ 
 ORA-20001: Statistics Advisor: Invalid task name for the current user 
 ORA-06512: at “SYS.DBMS_STATS”, line 47207 
 ORA-06512: at “SYS.DBMS_STATS_ADVISOR”, line 882 
 ORA-06512: at “SYS.DBMS_STATS_INTERNAL”, line 20059 
 ORA-06512: at “SYS.DBMS_STATS_INTERNAL”, line 22201 
 ORA-06512: at “SYS.DBMS_STATS”, line 47197 

CHANGES 

CAUSE 

 This is due to following unpublished bug: 

 Bug 22879263 – BETA 12.2 – ORA-12012 , ORA-20001 AND ORA-06512 FROM ORA$AT_OS_OPT_SY_88 JOB 

SOLUTION

  • Bug is fixed in 12.2.0.1.0. 
  • Use following workaround: 

execute “EXEC dbms_stats.init_package();”

更多 Oracle 相关信息见 Oracle 专题页面 https://www.linuxidc.com/topicnews.aspx?tid=12

正文完
星哥玩云-微信公众号
post-qrcode
 0
星锅
版权声明:本站原创文章,由 星锅 于2022-01-22发表,共计1826字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
【腾讯云】推广者专属福利,新客户无门槛领取总价值高达2860元代金券,每种代金券限量500张,先到先得。
阿里云-最新活动爆款每日限量供应
评论(没有评论)
验证码
【腾讯云】云服务器、云数据库、COS、CDN、短信等云产品特惠热卖中