模擬ORA-04043並解決(dba_* does not exist)
建立兩張模擬表
SQL> select * from v$version;
BANNER
------------------------------------------------------------------
Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
PL/SQL Release 9.2.0.4.0 - Production
CORE 9.2.0.3.0 Production
TNS for Linux: Version 9.2.0.4.0 - Production
NLSRTL Version 9.2.0.4.0 - Production
SQL> create table sys_xifenfei as
2 select * from dba_tables;
Table created.
SQL> create table chf.chf_xifenfei as
2 select * from dba_tables;
Table created. |
啟動資料庫到mount狀態查詢表
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount;
ORACLE instance started.
Total System Global Area 353441008 bytes
Fixed Size 451824 bytes
Variable Size 184549376 bytes
Database Buffers 167772160 bytes
Redo Buffers 667648 bytes
Database mounted.
SQL> desc dba_tables;
ERROR:
ORA-04043: object dba_tables does not exist
SQL> desc sys_xifenfei
ERROR:
ORA-04043: object sys_xifenfei does not exist
SQL> desc chf.chf_xifenfei
ERROR:
ORA-04043: object chf.chf_xifenfei does not exist |
開啟資料庫查詢
SQL> alter database open;
Database altered.
SQL> select count(*) from sys_xifenfei;
select count(*) from sys_xifenfei
*
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> select count(*) from chf.chf_xifenfei;
COUNT(*)
----------
868
SQL> select count(*) from dba_tables;
select count(*) from dba_tables
*
ERROR at line 1:
ORA-00942: table or view does not exist |
解決問題
SQL> alter system flush shared_pool;
System altered.
SQL> select count(*) from dba_tables;
COUNT(*)
----------
869
SQL> select count(*) from sys_xifenfei;
COUNT(*)
----------
867 |
MOS解釋
ORA-4043 On DBA_* Views If They Are Described In Mount Stage [ID 296235.1]
Available workarounds are:
1) Don't describe the dba_* views at mount stage.
OR
2) If you issue DESC of any DBA_*views at mount stage,
then shutdown and restart the DB instance.
OR
3) Flush the shared pool.
SQL> Alter system flush shared_pool;
and then reissue the failing command. |
在10g中open庫後提示也為類此ORA-04043: object dba_tables does not exist
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23071790/viewspace-734309/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORA-04043: object DBA_DATA_FILES does not existObject
- 【Oracle】-【許可權-ORA-04043】- object does not existOracleObject
- ORA-24756: transaction does not exist問題解決
- The user specified as a definer ('wx_root'@'%') does not exist 解決方案
- mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解決方法MySql
- asmcmd does not exist in directoryASM
- expdp ORA-31626: job does not exist 解決方案
- The operation, ‘DecodeJpeg/contents‘, does not exist in the graph.錯誤解決方法
- Oracle ORA - 01720 grant option does not exist for..報錯解決Oracle
- The file '/MasterPage.master' does not exist. 類錯誤解決方法AST
- javax.media does not existJava
- Error: The directory named as part of the path ./log/supervisord.log does not exist解決方案Error
- Android解決The APK file app-debug.apk does not exist on disk.AndroidAPKAPP
- o2cb_ctl: Cluster "ocfs2" does not exist 錯誤解決
- ORA-27101 Shared memory realm does not exist錯誤解決方案
- Property [title] does not exist on this collection instance
- Waring: /dev/centos/swap does not existdevCentOS
- PatchObject constructor:Input file does not existObjectStruct
- git中出現”the requested upstream branch ‘origin/master‘ does not exist“問題的解決GitAST
- 解決Spark讀取Hive分割槽表出現Input path does not exist的問題SparkHive
- PSQLexception: ERROR : type "signed" does not existSQLExceptionError
- Laravel Class env does not exist 問題排查Laravel
- SNMP TABLE ERROR : Requested table is empty or does not existError
- ORA-00942: table or view does not existView
- FAQ:Field DATABASE does not exist; see long textDatabase
- Check table 169P: entry XXXX does not exist的解決
- relation with OID 637165 does not exist
- Gpssworld模擬(二):並排排隊系統模擬
- ORA-04042 procedure, function, package, or package body does not existFunctionPackage
- PL/SQL: ORA-00942: table or view does not existSQLView
- ORA-12545 TNS: Host or Object Does not ExistObject
- 解決react-native run-ios報錯問題--Print: Entry, ":CFBundleIdentifier", Does Not ExistReactiOSIDE
- Property 'context' does not exist on type 'NodeRequire'.ts(2339)ContextUI
- 智慧座艙模擬測試解決方案
- 車聯網模擬測試解決方案
- 車輛OTA模擬測試解決方案
- itl競爭模擬與解決系列(二)
- 【BUG】鴻蒙模擬器虛擬化問題的解決方案鴻蒙