导出实例上:
[oracle@pttest4 expdpimpdp]$ export ORACLE_SID=pt1; [oracle@pttest4 expdpimpdp]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.1.0 Production on Fri May 29 21:32:50 2015 Copyright (c) 1982, 2009, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> select name from v$database; NAME --------- pt1 SQL> SELECT * FROM V$NLS_PARAMETERS WHERE PARAMETER IN ('NLS_CHARACTERSET', 'NLS_NCHAR_CHARACTERSET'); PARAMETER VALUE ---------------------------------------------------------------- ---------------------------------------------------------------- NLS_CHARACTERSET ZHS16GBK NLS_NCHAR_CHARACTERSET AL16UTF16 SQL>此时,两个实例上字符集一模一样了,保持一致。
OK,一切正常,可以导入到实例2上面了。