问题背景:
客户反馈impdp到新的环境中报错
检查字符均为AL32UTF8
报错如下
1 处理对象类型 SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE 2 3 处理对象类型 SCHEMA_EXPORT/VIEW/VIEW 4 5 ORA-39346: 对象 SCHEMA_EXPORT/VIEW/VIEW 的字符集转换过程中数据丢失 6 ORA-39126: 在 KUPW$WORKER.PUT_DDLS [VIEW:"ECOLOGY"."V_Z5"] 中 Worker 发生意外致命错误 7 ORA-06502: PL/SQL: 数字或值错误 8 LPX-00225: end-element tag "COL_LIST_ITEM" does not match start-element tag "NAME" 9 ORA-06512: 在 "SYS.DBMS_SYS_ERROR", line 95 10 ORA-06512: 在 "SYS.KUPW$WORKER", line 11259
1 ----- PL/SQL Call Stack ----- 2 3 object line object 4 5 handle number name 6 7 000000037DB45B80 27116 package body SYS.KUPW$WORKER 8 9 000000037DB45B80 11286 package body SYS.KUPW$WORKER 10 11 000000037DB45B80 21860 package body SYS.KUPW$WORKER 12 000000037DB45B80 4516 package body SYS.KUPW$WORKER 13 000000037DB45B80 12063 package body SYS.KUPW$WORKER 14 000000037DB45B80 2081 package body SYS.KUPW$WORKER 15 000000039FD9B3F0 2 anonymous block 16 17 18 Updated message at duplicate: 1001 19 In procedure SEND_MSG. Fatal=0 20 21 Error count: 1
看报错应该是在导入视图的时候失败了
导入的时候加了exclude=view 参数,成功导入,但是这样视图没有导入,问题还需要分析