ITPub博客

首页 > 数据库 > Oracle > exp-00091

exp-00091

原创 Oracle 作者:paynefu 时间:2014-06-25 17:33:49 0 删除 编辑
用exp导出时报错:
EXP-00091: Exporting questionable statistics.
. . exporting table                             FF          2 rows exported


查看EXP-00091的oracle error message 解决方案说明:

[oracle@payne ~]$ oerr exp 00091
00091, 00000, "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.
exp工具所在客户端的环境变量中的NLS_LANG与数据库中的NLS_CHARACTERSET不一致。
查看数据库的字符集:
SQL> select * from nls_database_parameters where parameter like'NLS_CH%';
PARAMETER                      VALUE
------------------------------ ----------------------------------------
NLS_CHARACTERSET               AL32UTF8   
查看客户端字符集:
 [oracle@payne ~]$ echo $NLS_LANG
AMERICAN_AMERICA.ZHS16CGB231280  
  
设置环境变量的字符集:
  [oracle@payne ~]$ export NLS_LANG=AMERICAN_AMERICA.AL32UTF8

再用EXP工具导出,问题解决。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/27135177/viewspace-1193621/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: EXPDP/IMPDP ORA-39142
请登录后发表评论 登录
全部评论

注册时间:2012-08-01

  • 博文量
    26
  • 访问量
    87476