您好,登錄后才能下訂單哦!
本篇文章為大家展示了oracle expdp作業外表報錯ORA-20011&KUP-11024&ORA-29913該怎么辦,內容簡明扼要并且容易理解,絕對能使你眼前一亮,通過這篇文章的詳細介紹希望你能有所收獲。
oracle數據庫告警ORA-20011&KUP-11024&ORA-29913,
相關處理如下:
操作系統版本:rhel 2.6.39-400.17.1.el6uek.x86_64
set pagesize 2000
col owner form a30
col created form a25
col last_ddl_time form a25
col object_name form a30
col object_type form a25
SQL> select OWNER,OBJECT_NAME,OBJECT_TYPE, status,
2 to_char(CREATED,'dd-mon-yyyy hh34:mi:ss') created,
3 to_char(LAST_DDL_TIME, 'dd-mon-yyyy hh34:mi:ss') last_ddl_time
4 from dba_objects
5 where object_name like 'ET$%';
OWNER OBJECT_NAME OBJECT_TYPE STATUS CREATED LAST_DDL_TIME
------------------------------ ------------------------------ ------------------------- ------- ------------------------- -------------------------
EXPDP ET$01D400370001 TABLE VALID 09-oct-2015 23:11:41 09-oct-2015 23:11:41
EXPDP ET$01D3186F0001 TABLE VALID 18-dec-2015 02:20:04 18-dec-2015 02:20:04
EXPDP ET$01C303530001 TABLE VALID 15-mar-2015 00:45:46 15-mar-2015 00:45:46
EXPDP ET$01B7017F0001 TABLE VALID 15-mar-2015 00:42:03 15-mar-2015 00:42:03
EXPDP ET$01982C090001 TABLE VALID 08-oct-2015 23:51:06 08-oct-2015 23:51:06
EXPDP ET$00251AEF0001 TABLE VALID 29-dec-2015 00:50:20 29-dec-2015 00:50:20
6 rows selected.
SQL> select owner, TABLE_NAME, DEFAULT_DIRECTORY_NAME, ACCESS_TYPE
from dba_external_tables
order by 1,2;
OWNER TABLE_NAME DEFAULT_DIRECTORY_NAME ACCESS_
------------------------------ ------------------------------ ------------------------------ -------
EXPDP ET$00251AEF0001 EXPDATA CLOB
EXPDP ET$01982C090001 EXPDATA CLOB
EXPDP ET$01B7017F0001 EXPDATA CLOB
EXPDP ET$01C303530001 EXPDATA CLOB
EXPDP ET$01D3186F0001 EXPDATA CLOB
EXPDP ET$01D400370001 EXPDATA CLOB
SYS ALERT_LOG_VIEW BDUMP CLOB
--查詢外部表,報的錯誤和alert日志一樣
SQL> select count(*) from EXPDP.ET$00251AEF0001;
select count(*) from EXPDP.ET$00251AEF0001
*
ERROR at line 1:
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
KUP-11024: This external table can only be accessed from within a Data Pump job.
SQL>
--查看外部表定義
SQL> desc ET$00251AEF0001
ERROR:
ORA-04043: object ET$00251AEF0001 does not exist
3、清理DataPump jobs。
SQL> select 'drop table '||owner||'.'||object_name||' purge ;' from dba_objects where object_name like 'ET$%';
'DROPTABLE'||OWNER||'.'||OBJECT_NAME||'PURGE;'
----------------------------------------------------
drop table EXPDP.ET$01D400370001 purge ;
drop table EXPDP.ET$01D3186F0001 purge ;
drop table EXPDP.ET$01C303530001 purge ;
drop table EXPDP.ET$01B7017F0001 purge ;
drop table EXPDP.ET$01982C090001 purge ;
drop table EXPDP.ET$00251AEF0001 purge ;
6 rows selected.
SQL> drop table EXPDP.ET$01D400370001 purge ;
drop table EXPDP.ET$01D3186F0001 purge ;
drop table EXPDP.ET$01C303530001 purge ;
drop table EXPDP.ET$01B7017F0001 purge ;
drop table EXPDP.ET$01982C090001 purge ;
drop table EXPDP.ET$00251AEF0001 purge ;
Table dropped.
SQL>
Table dropped.
SQL>
Table dropped.
SQL>
Table dropped.
SQL>
Table dropped.
SQL>
Table dropped.
由以上信息可知,數據泵的外部表產生的時間分別是2015年3月份和10月份,經溝通得知該地市數據庫服務
器發生過重裝和機房搬遷:
猜測:可能當時數據庫重裝和機房搬遷,數據庫使用過數據泵備份而數據泵作業沒有成功退出,導致數據泵
作業外部表殘留,影響到數據庫統計信息收集,處理方法就是刪除數據泵作業殘留外部表。個人覺得比較奇
怪的是數據泵作業外部表實體已經不存在,DDL定義已經不存在,但是外部表明卻存在,應該是數據庫字典
信息錯誤。
上述內容就是oracle expdp作業外表報錯ORA-20011&KUP-11024&ORA-29913該怎么辦,你們學到知識或技能了嗎?如果還想學到更多技能或者豐富自己的知識儲備,歡迎關注億速云行業資訊頻道。
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。