中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

Oracle 12C RAC報錯ORA-20001: Statistics Advisor

發布時間:2020-08-10 06:33:02 來源:ITPUB博客 閱讀:361 作者:dbasdk 欄目:關系型數據庫
最近某濤oracle 12C RAC 數據庫是問題不斷,剛剛解決了 ora-07445問題,有的處理新問題,主要報錯如下:
alert日志報錯信息:
ORA-12012: error on auto execute of job "SYS"."ORA$AT_OS_OPT_SY_88"
ORA-20001: Statistics Advisor: Invalid Task Name For the current user <== Note it
ORA-06512: at "SYS.DBMS_STATS", line 46861
ORA-06512: at "SYS.DBMS_STATS_ADVISOR", line 734
ORA-06512: at "SYS.DBMS_STATS_INTERNAL", line 19930
ORA-06512: at "SYS.DBMS_STATS_INTERNAL", line 21934
ORA-06512: at "SYS.DBMS_STATS", line 46851

官方給我的問題原因:
      

Seed database was most likely not created right by package dbms_stats.init_package not being ran. 

Dbms_stats.init_package creates statistics advisor. This procedure is executed during database creation. If something went wrong during database creation,(for example, init_package is not called for some reason), this kind of errors may be seen in alert log when auto job tries to execute. 


解決方法:

Run dbms_stats.init_package()  in the container database to create the tasks correctly: 

$ sqlplus / as sysdba

 EXEC dbms_stats.init_package();


column name format A35
set linesize 120

select name, ctime, how_created
  from sys.wri$_adv_tasks
 where owner_name = 'SYS'
   and name in ('AUTO_STATS_ADVISOR_TASK','INDIVIDUAL_STATS_ADVISOR_TASK');


Output of the query will look like this:

NAME                                 CTIME      HOW_CREATED
----------------------------------- ---------- ------------------------------
AUTO_STATS_ADVISOR_TASK              14-APR-16 CMD
INDIVIDUAL_STATS_ADVISOR_TASK        14-APR-16 CMD


文檔ID : Doc ID 2127675.1
向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

扎鲁特旗| 巴楚县| 辽中县| 南岸区| 邮箱| 永川市| 永新县| 济宁市| 河池市| 六安市| 巴马| 远安县| 乌拉特中旗| 大洼县| 洪雅县| 汉沽区| 于都县| 梁河县| 舒兰市| 洞口县| 江口县| 五河县| 法库县| 湘潭县| 利川市| 丽江市| 惠州市| 枣庄市| 桓台县| 六安市| 时尚| 武功县| 张掖市| 武威市| 通山县| 浮山县| 称多县| 瑞昌市| 柏乡县| 四川省| 秦皇岛市|