Linux系统中导出Oracle数据


Linux系统中使用exp导出数据时:

连接到: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
已导出 ZHS16CGB231280 字符集和 AL16UTF16 NCHAR 字符集
服务器使用 ZHS16GBK 字符集 (可能的字符集转换)

即将导出指定的表通过常规路径...

这可能是由于Linux用户环境变量中的字符集设置与数据库的字符集设置不同造成的。

我一般都使用ZHS16GBK字符集,于是:

export NLS_LANG="SIMPLIFIED CHINESE.ZHS16GBK"

再导出:

连接到: 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 过程对象和操作

OK了。 

相关内容