今天導出一數據庫數據,發現EXP-00091問題;
連接到: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
已導出 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集
服務器使用 AL32UTF8 字符集 (可能的字符集轉換)
. 正在導出表 T_BJ_JZH2013
導出了 34 行
EXP-00091: 正在導出有問題的統計信息。
以前也遇到過,沒仔細研究,今天詳細看了一下。
問題原因:
從導出日誌我們可以看出,客户端字符集是ZHS16GBK,服務器端字符集是AL32UTF8 ,所以導致該問題.
解決辦法:
客户端字符集要設置成和服務器端一致。
下面是測試過程:
服務器端字符集
客户端是windows,導出也是導出到windows。
Microsoft Windows XP [版本 5.1.2600]
(C) 版權所有 1985-2001 Microsoft Corp.
C:\Documents and Settings\DELL>
C:\Documents and Settings\DELL>exp sdyy/wisedu@wiscom file=d:\1.dmp tables=T_BJ_JZH2013
Export: Release 10.2.0.1.0 - Production on 星期二 11月 26 09:51:21 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
連接到: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
已導出 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集
服務器使用 AL32UTF8 字符集 (可能的字符集轉換)
即將導出指定的表通過常規路徑...
. . 正在導出表 T_BJ_JZH2013導出了 34 行
EXP-00091: 正在導出有問題的統計信息。
導出成功終止, 但出現警告。
C:\Documents and Settings\DELL>set NLS_LANG=SIMPLIFIED CHINESE_CHINA.AL32UTF8
C:\Documents and Settings\DELL>exp sdyy/wisedu@wiscom file=d:\1AL32.dmp tables=T_BJ_JZH2013
Export: Release 10.2.0.1.0 - Production on 鏄熸湡浜?11鏈?26 09:55:37 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
榪炴帴鍒? Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
宸插鍑?AL32UTF8 瀛楃闆嗗拰 AL16UTF16 NCHAR 瀛楃闆
鍗衝皢瀵煎嚭鎸囧畾鐨勮〃閫氲繃甯歌璺緞...
. . 姝e湪瀵煎嚭琛? T_BJ_JZH2013瀵煎嚭浜? 34 琛
鎴愬姛緇堟瀵煎嚭, 娌℃湁鍑虹幇璀﹀憡銆?
C:\Documents and Settings\DELL>set NLS_LANG=SIMPLIFIED CHINESE_CHINA.ZHS16GBK
C:\Documents and Settings\DELL>exp sdyy/wisedu@wiscom file=d:\1ZHS.dmp tables=T_BJ_JZH2013
Export: Release 10.2.0.1.0 - Production on 星期二 11月 26 09:56:14 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
連接到: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
已導出 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集
服務器使用 AL32UTF8 字符集 (可能的字符集轉換)
即將導出指定的表通過常規路徑...
. . 正在導出表 T_BJ_JZH2013導出了 34 行
EXP-00091: 正在導出有問題的統計信息。
導出成功終止, 但出現警告。
C:\Documents and Settings\DELL>set NLS_LANG=AMERICAN_AMERICA.AL32UTF8
C:\Documents and Settings\DELL>exp sdyy/wisedu@wiscom file=d:\132.dmp tables=T_BJ_JZH2013
Export: Release 10.2.0.1.0 - Production on Tue Nov 26 09:59:51 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
Export done in AL32UTF8 character set and AL16UTF16 NCHAR character set
About to export specified tables via Conventional Path ...
. . exporting table T_BJ_JZH2013 34 rows exported
Export terminated successfully without warnings.
C:\Documents and Settings\DELL>
問題解決了。
本文章為轉載內容,我們尊重原作者對文章享有的著作權。如有內容錯誤或侵權問題,歡迎原作者聯繫我們進行內容更正或刪除文章。