首頁 > 資料庫 > mysql教程 > ORA-00091错误的解决方法

ORA-00091错误的解决方法

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
發布: 2016-06-07 16:47:53
原創
1444 人瀏覽過

exp导出数据时,输出日志会报EXP-00091: Exporting questionable statistics的错误,特别是对于一些crontab中执行的exp脚本。

exp导出数据时,输出日志会报EXP-00091: Exporting questionable statistics的错误,特别是对于一些crontab中执行的exp脚本。

造成该错误提示的原因通常都是导出端nls_lang参数未设定,或者设置有误,,解决方式也很简单:
a.查询数据库中的字符集:
SQL> select * from v$nls_parameters where parameter='NLS_CHARACTERSET';

PARAMETER VALUE
--------------------------- -----------------
NLS_CHARACTERSET ZHS16GBK

b.设置nls_lang变量
export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK

然后再重新执行exp即可。


附,官方文档中对EXP-00091错误的描述及解决方案:
EXP-00091: Exporting questionable statistics.

Cause: Export was able export statistics, but the statistics may not be usuable. The statistics are questionable because one or more of the following happened during export: a row error occurred, client character set or NCHARSET does not match with the server, a query clause was specified on export, only certain partitions or subpartitions were exported, or a fatal error occurred while processing a table.

Action: To export non-questionable statistics, change the client character set or NCHARSET to match the server, export with no query clause, export complete tables. If desired, import parameters can be supplied so that only non-questionable statistics will be imported, and all questionable statistics will be recalculated.

linux

相關標籤:
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
最新問題
在oci_parse中傳遞PHP變數給SQL查詢
來自於 1970-01-01 08:00:00
0
0
0
如何解決 如下的問題
來自於 1970-01-01 08:00:00
0
0
0
java - springboot新手學習
來自於 1970-01-01 08:00:00
0
0
0
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板