exp-00056 exp-00000 匯出終止失敗的處理

eric0435發表於2013-02-28
C:\Users\dell>exp ufgov/ufgov@orcl file=d:\hddatabackup\ufgov_20130228.dmp log=d:\hddatabackup\ufgov_20130228.log buffer=40960000

Export: Release 10.2.0.1.0 - Production on 星期四 2月 28 10:13:48 2013

Copyright (c) 1982, 2005, Oracle.  All rights reserved.


EXP-00056:
EXP-00000: Export terminated unsuccessfully

這是一個很普通的錯誤,通常是由於EXP程式在執行某條命令錯誤所造成的,可以透過自己手動執行如下指令碼解決,
@D:\Program_Files\oracle\product\10.2.0\db_1\RDBMS\ADMIN\catmeta.sql
@D:\Program_Files\oracle\product\10.2.0\db_1\RDBMS\ADMIN\catexp.sql

C:\Users\dell>exp ufgov/ufgov@orcl file=d:\hddatabackup\ufgov_20130228.dmp log=d:\hddatabackup\ufgov_20130228.log buffer=40960000

EXP-00056: ORACLE error 932 encountered
ORA-00932: inconsistent datatypes: expected BLOB, CLOB got CHAR
EXP-00000: Export terminated unsuccessfully

如果是測試庫,可以嘗試:
sqlplus /nolog

SQL> connect / as sysdba
SQL> @D:\Program_Files\oracle\product\10.2.0\db_1\RDBMS\ADMIN\catmetx.sql
SQL> @D:\Program_Files\oracle\product\10.2.0\db_1\RDBMS\ADMIN\utlrp.sql
SQL> exit


如果是生產庫,先做備份,可以考慮升級,不行再嘗試。
C:\Users\dell>exp ufgov/ufgov@orcl file=d:\hddatabackup\ufgov_20130228.dmp log=d:\hddatabackup\ufgov_20130228.log buffer=40960000

連線到: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
已匯出 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集

即將匯出指定的使用者...
. 正在匯出 pre-schema 過程物件和操作
. 正在匯出使用者 UFGOV 的外部函式庫名
. 匯出 PUBLIC 型別同義詞
. 正在匯出專用型別同義詞
. 正在匯出使用者 UFGOV 的物件型別定義
即將匯出 UFGOV 的物件...
. 正在匯出資料庫連結
. 正在匯出序號
. 正在匯出簇定義
. 即將匯出 UFGOV 的表透過常規路徑...
. . 正在匯出表                ADJUST_FZYE_TEMP匯出了           0 行
. . 正在匯出表                ADJUST_KMYE_TEMP匯出了           0 行
. . 正在匯出表                       BBSRCYWLX匯出了           0 行
. . 正在匯出表                        BBYWLXDM匯出了           0 行
. . 正在匯出表                           BG_BB匯出了           0 行
...............

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26015009/viewspace-754931/,如需轉載,請註明出處,否則將追究法律責任。

相關文章