通過資料庫鏈匯出遇到ORA-39126錯誤
在11.2.0.2資料庫中通過NETWORK_LINK方式匯出或匯入10.2.0.3資料庫中的表,出現了這個錯誤。
詳細錯誤如下:
[oracle@Oracle112 dmp]$ impdp system/password noLOGFILE=y tables=xyyzone.TAB_COMM_DISCOVERY_QAHISTORY,xyyzone.TAB_COMM_DISCOVERY_VOTEHISTORY,xyyzone.TAB_COMM_DISCOVERY_CONSUMER,xyyzone.TAB_COMM_DISCOVERY_SHOPPING network_link=dblink2_112_107;
Import: Release 11.2.0.2.0 - Production on Wed Mar 16 04:44:36 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Starting "SYSTEM"."SYS_IMPORT_TABLE_01": system/******** noLOGFILE=y tables=xyyzone.TAB_COMM_DISCOVERY_QAHISTORY,xyyzone.TAB_COMM_DISCOVERY_VOTEHISTORY,xyyzone.TAB_COMM_DISCOVERY_CONSUMER,xyyzone.TAB_COMM_DISCOVERY_SHOPPING network_link=dblink2_112_107
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.GET_TABLE_DATA_OBJECTS []
ORA-00920: invalid relational operator
ORA-06512: at "SYS.DBMS_METADATA", line 1546
ORA-06512: at "SYS.DBMS_METADATA", line 1583
ORA-06512: at "SYS.DBMS_METADATA", line 1891
ORA-06512: at "SYS.DBMS_METADATA", line 3956
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.KUPW$WORKER", line 8353
----- PL/SQL Call Stack -----
object line object
handle number name
0x136b50808 19208 package body SYS.KUPW$WORKER
0x136b50808 8385 package body SYS.KUPW$WORKER
0x136b50808 12748 package body SYS.KUPW$WORKER
0x136b50808 4742 package body SYS.KUPW$WORKER
0x136b50808 9110 package body SYS.KUPW$WORKER
0x136b50808 1688 package body SYS.KUPW$WORKER
0x137e37d68 2 anonymous block
Job "SYSTEM"."SYS_IMPORT_TABLE_01" stopped due to fatal error at 04:44:38
[oracle@Oracle112 dmp]$ expdp system/password directory=dmp dumpfile=xyyzone_table_110316.dp noLOGFILE=y tables=xyyzone.TAB_COMM_DISCOVERY_QAHISTORY,xyyzone.TAB_COMM_DISCOVERY_VOTEHISTORY,xyyzone.TAB_COMM_DISCOVERY_CONSUMER,xyyzone.TAB_COMM_DISCOVERY_SHOPPING network_link=dblink2_112_107
Export: Release 11.2.0.2.0 - Production on Wed Mar 16 04:46:21 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Starting "SYSTEM"."SYS_EXPORT_TABLE_01": system/******** directory=dmp dumpfile=xyyzone_table_110316.dp noLOGFILE=y tables=xyyzone.TAB_COMM_DISCOVERY_QAHISTORY,xyyzone.TAB_COMM_DISCOVERY_VOTEHISTORY,xyyzone.TAB_COMM_DISCOVERY_CONSUMER,xyyzone.TAB_COMM_DISCOVERY_SHOPPING network_link=dblink2_112_107
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 11.56 MB
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA [TABLE_DATA:"XYYZONE"."TAB_COMM_POINTS_HISTORY":"YMAX"]
ORA-00920: invalid relational operator
ORA-06512: at "SYS.DBMS_METADATA", line 1546
ORA-06512: at "SYS.DBMS_METADATA", line 1583
ORA-06512: at "SYS.DBMS_METADATA", line 1891
ORA-06512: at "SYS.DBMS_METADATA", line 3956
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 8358
----- PL/SQL Call Stack -----
object line object
handle number name
0x136b50808 19208 package body SYS.KUPW$WORKER
0x136b50808 8385 package body SYS.KUPW$WORKER
0x136b50808 2935 package body SYS.KUPW$WORKER
0x136b50808 9054 package body SYS.KUPW$WORKER
0x136b50808 1688 package body SYS.KUPW$WORKER
0x1358a19a0 2 anonymous block
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 11.56 MB
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA [TABLE_DATA:"XYYZONE"."TAB_COMM_POINTS_HISTORY":"YMAX"]
ORA-00920: invalid relational operator
ORA-06512: at "SYS.DBMS_METADATA", line 1546
ORA-06512: at "SYS.DBMS_METADATA", line 1583
ORA-06512: at "SYS.DBMS_METADATA", line 1891
ORA-06512: at "SYS.DBMS_METADATA", line 3956
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 8358
----- PL/SQL Call Stack -----
object line object
handle number name
0x136b50808 19208 package body SYS.KUPW$WORKER
0x136b50808 8385 package body SYS.KUPW$WORKER
0x136b50808 2935 package body SYS.KUPW$WORKER
0x136b50808 9054 package body SYS.KUPW$WORKER
0x136b50808 1688 package body SYS.KUPW$WORKER
0x1358a19a0 2 anonymous block
Job "SYSTEM"."SYS_EXPORT_TABLE_01" stopped due to fatal error at 04:46:52
[oracle@Oracle112 dmp]$ expdp system/password directory=dmp dumpfile=xyyzone_table_110316.dp noLOGFILE=y tables=xyyzone.TAB_COMM_DISCOVERY_QAHISTORY,xyyzone.TAB_COMM_DISCOVERY_VOTEHISTORY,xyyzone.TAB_COMM_DISCOVERY_CONSUMER,xyyzone.TAB_COMM_DISCOVERY_SHOPPING network_link=dblink2_112_107 version=10.2.0.3
Export: Release 11.2.0.2.0 - Production on Wed Mar 16 04:52:55 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Starting "SYSTEM"."SYS_EXPORT_TABLE_02": system/******** directory=dmp dumpfile=xyyzone_table_110316.dp noLOGFILE=y tables=xyyzone.TAB_COMM_DISCOVERY_QAHISTORY,xyyzone.TAB_COMM_DISCOVERY_VOTEHISTORY,xyyzone.TAB_COMM_DISCOVERY_CONSUMER,xyyzone.TAB_COMM_DISCOVERY_SHOPPING network_link=dblink2_112_107 version=10.2.0.3
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 11.56 MB
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA [TABLE_DATA:"XYYZONE"."TAB_COMM_POINTS_HISTORY":"YMAX"]
ORA-00920: invalid relational operator
ORA-06512: at "SYS.DBMS_METADATA", line 1546
ORA-06512: at "SYS.DBMS_METADATA", line 1583
ORA-06512: at "SYS.DBMS_METADATA", line 1891
ORA-06512: at "SYS.DBMS_METADATA", line 3956
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 8358
----- PL/SQL Call Stack -----
object line object
handle number name
0x136b50808 19208 package body SYS.KUPW$WORKER
0x136b50808 8385 package body SYS.KUPW$WORKER
0x136b50808 2935 package body SYS.KUPW$WORKER
0x136b50808 9054 package body SYS.KUPW$WORKER
0x136b50808 1688 package body SYS.KUPW$WORKER
0x15b980c98 2 anonymous block
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 11.56 MB
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA [TABLE_DATA:"XYYZONE"."TAB_COMM_POINTS_HISTORY":"YMAX"]
ORA-00920: invalid relational operator
ORA-06512: at "SYS.DBMS_METADATA", line 1546
ORA-06512: at "SYS.DBMS_METADATA", line 1583
ORA-06512: at "SYS.DBMS_METADATA", line 1891
ORA-06512: at "SYS.DBMS_METADATA", line 3956
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 8358
----- PL/SQL Call Stack -----
object line object
handle number name
0x136b50808 19208 package body SYS.KUPW$WORKER
0x136b50808 8385 package body SYS.KUPW$WORKER
0x136b50808 2935 package body SYS.KUPW$WORKER
0x136b50808 9054 package body SYS.KUPW$WORKER
0x136b50808 1688 package body SYS.KUPW$WORKER
0x15b980c98 2 anonymous block
Job "SYSTEM"."SYS_EXPORT_TABLE_02" stopped due to fatal error at 04:53:25
可以看到,無論是嘗試IMPDP直接匯入,還是嘗試利用EXPDP進行遠端的匯出,都會碰到ORA-39126和ORA-920錯誤。嘗試匯出時指定版本10.2.0.3,問題依舊。
檢查metalink,確認是Bug 10115400。當執行NETWORK_LINK方式的匯入或匯出時,如果遠端資料庫是10.2版本,且通過TABLES引數指定了多個表,就會引發這個問題。11.2的各個版本都可能出現這個問題。Oracle計劃在12.1解決這個問題。
這個錯誤的影響倒是不大,只不過就是麻煩一些,需要在源資料庫匯出對應的表,然後ftp到本地,然後通過impdp匯入。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/4227/viewspace-689680/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 恢復MySQL資料庫建立儲存過程是遇到錯誤MySql資料庫儲存過程
- 資料庫 MySQL 資料匯入匯出資料庫MySql
- vue2匯入專案遇到錯誤Vue
- 資料庫文件編寫,如何通過Navicat把表導成表格?資料庫快速匯出為excel表格資訊,excel匯出到word表格資料庫Excel
- ORACLE匯入遇到ORACLE錯誤959解決方法Oracle
- Mysql 資料庫匯入與匯出MySql資料庫
- oracle 備份資料庫,匯出資料庫Oracle資料庫
- sql server資料庫附加錯誤的解決過程SQLServer資料庫
- SQL Server資料庫出現邏輯錯誤的資料恢復SQLServer資料庫資料恢復
- SQL資料庫的匯入和匯出SQL資料庫
- 解決遷移資料庫錯誤,索引長度過長資料庫索引
- oracle12c還原資料庫遇到的問題-將一個11.2.0.1的資料泵匯出檔案匯入12.1.0.2版本報錯Oracle資料庫
- Oracle資料庫——資料匯出時出現匯出成功終止, 但出現警告。Oracle資料庫
- Oracle資料庫匯入匯出。imp匯入命令和exp匯出命令Oracle資料庫
- MySQL匯出資料庫指令碼MySql資料庫指令碼
- 訪問資料庫出現Object reference not set to an instance of an object錯誤資料庫Object
- mysql 匯入匯出資料庫以及函式、儲存過程的介紹MySql資料庫函式儲存過程
- Dedecms錯誤警告:連線資料庫失敗,出錯怎麼解決?資料庫
- Error infos:DedeCms錯誤警告:連線資料庫失敗,可能資料庫密碼不對或資料庫伺服器出錯!Error資料庫密碼伺服器
- Error infos: DedeCms錯誤警告:連線資料庫失敗,可能資料庫密碼不對或資料庫伺服器出錯!Error資料庫密碼伺服器
- SQL Server DACPAC資料庫部署錯誤SQLServer資料庫
- ORA-01653錯誤是Oracle資料庫中常見的錯誤Oracle資料庫
- Oracle匯出資料庫與還原Oracle資料庫
- 阿里雲資料庫連線資料庫錯誤:如何解決?阿里資料庫
- 將資料庫中資料匯出為excel表格資料庫Excel
- 2.3 通過DBCA建立資料庫資料庫
- 通過duplicat恢復資料庫資料庫
- Dedecms錯誤警告:連線資料庫失敗,可能資料庫密碼不對或資料庫伺服器出錯怎麼解決?資料庫密碼伺服器
- photoshop匯出png發生未知錯誤的解決方案,ps匯出發生未知錯誤怎麼解決
- 錯誤處理:如何通過 error、deferred、panic 等處理錯誤?Error
- 網站連線資料庫配置錯誤網站資料庫
- 網站提示資料庫連線錯誤網站資料庫
- 資料庫報ORA-01839的錯誤資料庫
- OracleDatabase——資料庫表空間dmp匯出與匯入OracleDatabase資料庫
- 達夢資料庫遷移資料/複製表/匯入匯出2資料庫
- 透過 ETL 匯出 Hive 中的資料Hive
- oracl 資料庫 sqlplus 匯出資料為sql檔案資料庫SQL
- [Docker核心之容器、資料庫檔案的匯入匯出、容器映象的匯入匯出]Docker資料庫
- Mysql資料庫是如何通過索引定位資料MySql資料庫索引