Oracle 12C RAC報錯ORA-20001: Statistics Advisor
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
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29734436/viewspace-2148076/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle 12C RAC 啟動報錯 ORA-00845Oracle
- Oracle 12C Statistics on Column GroupsOracle
- Oracle 12c RAC: MGMTDBOracle
- Oracle 12c ORA-29548 報錯處理Oracle
- oracle 10g rac安裝報錯Oracle 10g
- 12C RAC 打31720486補丁 後報錯處理
- Oracle 12c Rac Set Archive ModeOracleHive
- Oracle 12C RAC DataGuard實戰Oracle
- 深入理解Oracle RAC 12COracle
- 【kingsql分享】關於Oracle RAC 12c R2的EM使用(XDB報錯通用解決之道)SQLOracle
- Oracle 12c rac ocr和votedisk管理Oracle
- rac 命令 srvctl 報錯
- Oracle 12c 使用RMAN搭建物理備庫(RAC to RAC)Oracle
- Oracle 12C RMAN Duplicating the Whole RAC CDB to local RAC CDBOracle
- Oracle 12C RAC CDB資料庫部署Oracle資料庫
- oracle 12c rac 詳細部署教程(一)Oracle
- oracle 12c rac 詳細部署教程(二)Oracle
- RedHat6.5 安裝Oracle 12c RACRedhatOracle
- Config server pool in oracle 12c racServerOracle
- oracle之StatisticsOracle
- Oracle 12c DG備庫啟動報錯standby database requires recoveryOracleDatabaseUI
- [20190816]12c執行exec SYS.PRVT_ADVISOR.DELETE_EXPIRED_TASKS()報錯.txtdelete
- ORACLE 12C RAC 部署應用包準備Oracle
- ORACLE 12C RAC資料庫的啟停Oracle資料庫
- oracle RAC dbca的時候報錯提示cluster nodes are not accessibleOracle
- 【ASM】Oracle RAC css啟動報錯"Duplicate voting file found"ASMOracleCSS
- Oracle 12.2 RAC 報錯ora-600 ora-07445Oracle
- oracle 10G rac 執行dbca 報錯處理方法Oracle 10g
- aix下的oracle oracle 10g rac報ora-04030錯誤AIOracle 10g
- redhat as4 安裝oracle 9204 rac啟動Oracle Cluster Manager報錯!RedhatOracle
- [排錯]安裝Oracle 10g RAC報Failure at final check of Oracle CRS stack 10錯誤Oracle 10gAI
- Oracle Segment AdvisorOracle
- Oracle Column Group StatisticsOracle
- 安裝RAC 報錯 集錦
- Oracle RAC啟動CRS報錯:登陸許可權問題Oracle
- oracle 12c r2 rac 安裝時CLSRSC-400錯誤解決辦法Oracle
- ORACLE 12C RAC 生產環境搭建介紹Oracle
- Oracle 12c RAC構築之二:共享磁碟配置Oracle