ORA-20000:unable to analyze table "XXX"."DBMS_TABCOMP_TEMP_UNCMP",insufficient privileges or does no
RDBMS 11.2.0.1
PLATFORM :AIX 6.1
在alertlog中發現ORA-20000:unable to analyze table "XXX"."DBMS_TABCOMP_TEMP_UNCMP",insufficient privileges or does no exist 告警。
告警具體內容為
gather_stats_job encountered errors.check the trace file.
errors in file XXX
ORA-20000:unable to analyze table "XXX"."XXX",insufficient privileges or does not exist
其中trc檔案的大概內容如下:
MODULE_NAME:DBMS_SCHEDULER
ORA-20000:unable to analyze table "XXX"."XXX",insufficient privileges or does not exist
gather_stats_job:gather_stats_job("XXX","XXX","",...)
ORA-20000:unable to analyze table "XXX"."XXX",insufficient privileges or does not exist
排查過程:
在MOS上檢視錯誤資訊,發現以下文章的內容和錯誤較類似,也提供了相關的思路。
Gather Schema Statistics Errors with APPS.EUL5_B<number> ORA-20000 Unable to analyze TABLE (文件 ID 1680854.1)
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 (文件 ID 1463793.1)
該MOS上關於該錯誤的一些解釋
This 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.
"
These tables are summary tables which only exist when the Discoverer scheduled batch job to create the summaries is still running and will then be dropped.
另外,在查詢DBMS_TABCOMP_TEMP_UNCMP這個表的時候,發現庫中是沒有這個表的。無論是查詢dba_tables 還是desc表。都沒有的。從MOS上的一些解釋可以看到,該表為臨時的表,會被刪掉。而自動優化統計資訊任務在執行的時候,可能資料字典中還認為存在這個表。但實際這個表已經不存在了。所以會出現這個錯誤。從MOS上的解釋看。不影響後續的優化統計資訊的Job的執行。
END。
相關文章
- 【Case】ORA-20000: Unable to set values for table DBMS_TABCOMP_TEMP_UNCMP
- [20240826]奇怪ORA-01031 insufficient privileges報錯.txt
- MySQL:Analyze table導致'waiting for table flush'MySqlAI
- oracle rac dg庫報錯ORA-01031: insufficient privilegesOracle
- error: ‘xxx’ does not name a typeError
- 建立資料庫時“Insufficient privileges”的解決方法DK資料庫
- Analyze table對Oracle效能的提升Oracle
- QT中error: xxx does not name a type xxx錯誤QTError
- sys使用者遠端登入報ORA-01031 insufficient privileges
- ORA-01031: 資料庫恢復時的insufficient privileges錯誤QS資料庫
- warning: React does not recognize the xxx prop on a DOM elementReact
- unable to access ‘https://gitee.com/XXX/XXX.git/‘: Failed to connect to 127.0.0.1 portHTTPGiteeAI127.0.0.1
- linux環境下sqlplus sys/sys@ORCL as sysdba報錯 ORA-01031: insufficient privilegesLinuxSQL
- beego報錯 table name: `xxx` not existsGo
- ubuntu apt update 提示 The repository ‘http://xxx Release‘ does not have a Release fileUbuntuAPTHTTP
- iptables報錯!iptables-restore unable to initialize table 'filterRESTFilter
- oracle表空間不足:ORA-01653: unable to extend tableOracle
- streamlit run執行報錯,Invalid value: File does not exist: XXX.py
- yii2接入pgSQL(查詢不到表The table does not exist: {{%user}})SQL
- ORA-31633: unable to create master table "SYSTEM.SYS_EXPORT_FULL_XX"ASTExport
- 【故障處理】ORA-1688: unable to extend table AUDSYS.AUD$UNIFIEDNifi
- django資料庫同步時報錯“Table 'XXX' already exists”Django資料庫
- Maven建立SSM專案 啟動時報錯Mapped Statements collection does not contain value for xxxMavenSSMAPPAI
- Xcode打包iOS專案報Unable to install xxx而無法安裝app到iPhoneXCodeiOSAPPiPhone
- pgsql 執行建庫指令碼時候出現ERROR: relation "xxx_id_seq" does not existSQL指令碼Error
- 修改MySQL資料型別報 Changing columns for table XXX 錯的問題MySql資料型別
- could not connect to redis Instance at xxx.xxx.xxx.xxx:6379Redis
- 2.2.4.5 Grants of Privileges and Roles: Scenario
- 2.2.4.3.2 Roles and Privileges Granted Commonly
- 2.2.4.2.2 Roles and Privileges Granted Locally
- C++ vector<std::tuple<XXX, XXX, XXX>>C++
- ORA-1653: unable to extend table by 1024 in tablespace(oracle表空間滿了的解決方案)Oracle
- ABAP 資料結構啟用時的錯誤訊息 - combination reference table field does not exist資料結構
- 2.2.4.3 Roles and Privileges Granted Commonly in a CDB
- 2.2.4.2 Privileges and Roles Granted Locally in a CDB
- 【DSL】Elasticsearch之Analyze(分析過程)Elasticsearch
- SAP對工單做101收貨,報錯- Check table TFBEFU_CR entry 10 does not exist–對策
- SAP MM 對採購訂單執行收貨,報錯 - Table T169P entry ZNMI does not exist -