首页 / MYSQL / ORA-00091错误的解决方法
ORA-00091错误的解决方法
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了ORA-00091错误的解决方法,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含1497字,纯文字阅读大概需要3分钟。
内容图文
![ORA-00091错误的解决方法](/upload/InfoBanner/zyjiaocheng/555/1481597ffd1541a78f32621fcd2e2546.jpg)
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.
内容总结
以上是互联网集市为您收集整理的ORA-00091错误的解决方法全部内容,希望文章能够帮你解决ORA-00091错误的解决方法所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。