imp-00038


IMP-00038

Table of Contents

1 現象

報錯信息:

IMP-00038: Could not convert to environment character set's handle
IMP-00000: Import terminated unsuccessfully

2 原因

dmp 文件是由expdp工具導出,而導入時使用的是Imp導入,文件格式不匹配。

3 解決方法

使用impdp 導入對應的dmp文件。

[oracle@xycvt28 dump]$ ls
bm.dmp  bm.log  mr.dmp  qita.dmp  rep.log  rep_nodata.dmp  so.log  so_nodata.dmp
[oracle@xycvt28 dump]$ impdp \'\/ as sysdba\' directory=dump_dir dumpfile=bm.dmp logfile=bm.log transform=segment_attributes:n

Import: Release 11.2.0.4.0 - Production on Mon Mar 30 02:09:53 2020

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "SYS"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "SYS"."SYS_IMPORT_FULL_01":  "/******** AS SYSDBA" directory=dump_dir dumpfile=bm.dmp logfile=bm.log transform=segment_attributes:n
Processing object type SCHEMA_EXPORT/USER
ORA-31684: Object type USER:"BM" already exists
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
.......

Author: halberd.lee

Created: 2020-03-30 Mon 20:54

Validate


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM