EXP-00091: Exporting questionable statistics 處理辦法

it_newbalance發表於2012-03-02
在使用EXP工具進行匯出備份或遷移資料的時候有時會報很多的“EXP-00091: Exporting questionable statistics”錯誤,具體的現象和處理方法請觀看……

1.問題現象
[oracle@RH207 exp]$ exp test/test file=test.dmf log=test.log
……忽略……
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
. . exporting table                        SNP_TXT       6345 rows exported
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
. . exporting table                 SNP_TXT_CROSSR       1019 rows exported
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
EXP-00008: ORACLE error 1013 encountered
ORA-01013: user requested cancel of current operation
EXP-00056: ORACLE error 1403 encountered
……忽略……

2.處理方法
指定Linux系統的NLS_LANG環境變數為資料庫的資料集
1)查詢資料庫的字符集(方法很多隻用一種)
SQL> select userenv('language') from dual;

USERENV('LANGUAGE')
----------------------------------------------------
AMERICAN_AMERICA.WE8ISO8859P1

2)設定Linux作業系統的NLS_LANG環境變數
[oracle@RH207 exp]$export NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1

Window系統的環境變數的修改方法是:
C:\>set NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1

3.OK,處理完成,在進行EXP匯出操作就不會報這個錯誤了

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24558279/viewspace-717542/,如需轉載,請註明出處,否則將追究法律責任。

相關文章