日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

oracle的12012,Oracle 18.3 ORA-12012 ORA-20001

發布時間:2023/12/18 编程问答 27 豆豆
生活随笔 收集整理的這篇文章主要介紹了 oracle的12012,Oracle 18.3 ORA-12012 ORA-20001 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

問題:

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的12012,Oracle 18.3 ORA-12012 ORA-20001的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。