今天導出一數據庫數據,發現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 >
? ? 問題解決了。
?
更多文章、技術交流、商務合作、聯系博主
微信掃碼或搜索:z360901061

微信掃一掃加我為好友
QQ號聯系: 360901061
您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。
【本文對您有幫助就好】元
