[ORACLE-ORA]EXP-56 ORA-00932 (Inconsistent Datatypes) EXP ID 339938.1
Applies to:
Oracle Server - Personal Edition - Version: 10.1.0.2 to 10.2.0.3 - Release: 10.1 to 10.2Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 10.2.0.3 [Release: 10.1 to 10.2]
Oracle Server - Standard Edition - Version: 10.1.0.2 to 10.2.0.3 [Release: 10.1 to 10.2]
Information in this document applies to any platform.
***Checked for relevance on 14-SEP-2011***
Symptoms
A full database export from a Oracle10g database aborts with:
. exporting cluster definitions
EXP-00056: ORACLE error 932 encountered
ORA-00932: inconsistent datatypes: expected BLOB, CLOB got CHAR
EXP-00056: ORACLE error 932 encountered
ORA-00932: inconsistent datatypes: expected BLOB, CLOB got CHAR
EXP-00000: Export terminated unsuccessfully
EXP-00000: Export terminated unsuccessfully
If export was started with SYS schema, a table level export may also fail with:
Current user changed to TEST
. . exporting table DOC_ARCHIVE 16 rows exported
Current user changed to SYS
EXP-00011: SYS.; does not exist
Export terminated successfully with warnings.
Cause
One possible cause (note there might be others):
Script. $ORACLE_HOME/rdbms/admin/catmeta.sql has been run recently.
There are several invalid SYS.KU$_% views in the dictionary:
SET lines 120 pages 2000
COL status FOR a9
COL object_type FOR a20;
COL owner.object FOR a50
SELECT status, object_id, object_type, owner||'.'||object_name "OWNER.OBJECT"
FROM dba_objects
WHERE status != 'VALID' AND object_name NOT LIKE 'BIN$%'
ORDER BY 4,2;
STATUS OBJECT_ID OBJECT_TYPE OWNER.OBJECT
--------- ---------- --------------- --------------------------------
INVALID 7105 PACKAGE BODY SYS.DBMS_METADATA
INVALID 6683 VIEW SYS.KU$_10_1_COMMENT_VIEW
INVALID 6788 VIEW SYS.KU$_10_1_IND_STATS_VIEW
INVALID 6778 VIEW SYS.KU$_10_1_PIND_STATS_VIEW
INVALID 6752 VIEW SYS.KU$_10_1_PTAB_STATS_VIEW
INVALID 6770 VIEW SYS.KU$_10_1_SPIND_STATS_VIEW
INVALID 6748 VIEW SYS.KU$_10_1_TAB_ONLY_STATS_VIEW
... (etc)
A query in SQL*Plus on sys.ku$_xmlschema_view also fails with ORA-932:
COL url FOR a60 WRA
SELECT url, local, stripped_val
FROM sys.ku$_xmlschema_view;
ORA-00932: inconsistent datatypes: expected BLOB, CLOB got CHAR
Solution
For reasons having to do with compatibility, the XDB objects cannot be created by the catproc.sql script. The script. catproc.sql therefore calls the catmeta.sql script, which contains fake object views for XDB objects.
The real object views are defined in the catmetx.sql script. (this script. is invoked by catxdbv.sql which is invoked by catqm.sql).
Solution #1
Run following scripts while connected as SYS user:
SQL> connect / as sysdba
SQL> @?/rdbms/admin/catmetx.sql
SQL> @?/rdbms/admin/utlrp.sql
SQL> exit
Afterwards, re-run the export.
or:
Solution #2
Run the export with the Export DataPump client. E.g.:
dumpfile=expdp_full.dmp logfile=expdp_full.log full=y
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15747463/viewspace-751808/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- EXP-00056: ORACLE error 932 encountered(ORA-00932: inconsistent datatypes)OracleError
- ORA-00600: [qerrmObnd1], [932], [ORA-00932: inconsistent datatypes
- inconsistent datatypes: expected - got CLOB錯誤一例Go
- Oracle 10G中 EXP物件時報ORA-00932Oracle 10g物件
- Datatypes (1) : ROWID and UROWID
- 文件筆記--Datatypes筆記
- Using Byte and Char with Character Datatypes
- TabError: inconsistent use of tabs and spaces in indentationError
- spring aop The hierarchy of the type is inconsistentSpring
- exp匯出出現:ORA-00904::invalididentifierIDE
- OCR integrity results are inconsistent amongst the nodes.
- 正規表示式之(exp),(?:exp),(?=exp) 理解
- exp匯出出現:ORA-00904: : invalid identifierIDE
- EXP error EXP-00003 EXP-00091 EXP-00015Error
- [Elasticsearch Reference 2x] Mapping - Field datatypesElasticsearchAPP
- exp匯出出現:ORA-00904: "POLTYP": invalid identifierIDE
- EXP-00062: invalid source statements for an object typeObject
- Oracle expOracle
- EXP-00106:Invalid Database Link PasswordsDatabase
- Warning: ORA-16714: the value of property ArchiveLagTarget is inconsistentHive
- 交易資訊被篡改 錯誤碼:CONTEXT_INCONSISTENTContext
- EXP--解決EXP-00091的方法
- exp/imp工具
- exp 總結
- Oracle imp/expOracle
- 翻譯:《實用的Python程式設計》02_01_DatatypesPython程式設計
- ERROR: The LVM time stamp for shared volume group: datavg is inconsistentErrorLVM
- ORA-29707: inconsistent value 2 for initialization parameter cluster_database_Database
- 【EXP/IMP】使用EXP /IMP工具“模糊”匯出和匯入
- Exp匯出報錯EXP-00091分析解決
- EXP--解決EXP-00091的方法 (轉貼)
- [20210723]Database link and user defined datatypes.txtDatabase
- Oracle OCP(54):EXPOracle
- oracle exp和impOracle
- JavaScript Math.exp()JavaScript
- Oracle-exp命令Oracle
- oracle imp和expOracle
- exp imp資料