EXP-00091: Exporting questionable statistics

   一.出现EXP-00091错误

  [oracle@localhost tmp]$ exp "'/ as sysdba'" tables=testxuchao.TAB_XN_PY_DICT

  > file=/tmp/xifenfei.dmp log=/tmp/xifenfei.log

  Export: Release 9.2.0.4.0 - Production on Mon Jan 16 16:02:37 2012

  Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

  Connected to: Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production

  With the Partitioning, OLAP and Oracle Data Mining options

  JServer Release 9.2.0.4.0 - Production

  Export done in US7ASCII character set and AL16UTF16 NCHAR character set

  server uses ZHS16GBK character set (possible charset conversion)

  About to export specified tables via Conventional Path ...

  Current user changed to TESTXUCHAO

  . . exporting table TAB_XN_PY_DICT 25433 rows exported

  EXP-00091: Exporting questionable statistics.

  EXP-00091: Exporting questionable statistics.

  Export terminated successfully with warnings.

  当环境变量和数据库的不一致,在导出统计信息时候,会报EXP-00091错误。

  二.查看NLS相关参数

  [oracle@localhost tmp]$ echo $NLS_LANG

  AMERICAN

  SQL> col value for a30

  SQL> select parameter,value from nls_database_parameters

  2 where parameter like '%CHARACTERSET%';

  PARAMETER VALUE

  ------------------------------ ------------------------------

  NLS_CHARACTERSET ZHS16GBK

  NLS_NCHAR_CHARACTERSET AL16UTF16

  三.解决方法

  1.设置NLS_LANG为NLS_CHARACTERSET

  [oracle@localhost tmp]export NLS_LANG=american_america.ZHS16GBK

  [oracle@localhost tmp]$ exp "'/ as sysdba'" tables=testxuchao.TAB_XN_PY_DICT

  > file=/tmp/xifenfei.dmp log=/tmp/xifenfei.log

  Export: Release 9.2.0.4.0 - Production on Mon Jan 16 16:08:10 2012

  Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

  Connected to: Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production

  With the Partitioning, OLAP and Oracle Data Mining options

  JServer Release 9.2.0.4.0 - Production

  Export done in ZHS16GBK character set and AL16UTF16 NCHAR character set

  About to export specified tables via Conventional Path ...

  Current user changed to TESTXUCHAO

  . . exporting table TAB_XN_PY_DICT 25433 rows exported

  Export terminated successfully without warnings.

  2.使用statistics=none

  [oracle@localhost tmp]$ exp "'/ as sysdba'" tables=testxuchao.TAB_XN_PY_DICT

  > file=/tmp/xifenfei.dmp log=/tmp/xifenfei.log statistics=none

  Export: Release 9.2.0.4.0 - Production on Mon Jan 16 16:08:53 2012

  Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

  Connected to: Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production

  With the Partitioning, OLAP and Oracle Data Mining options

  JServer Release 9.2.0.4.0 - Production

  Export done in US7ASCII character set and AL16UTF16 NCHAR character set

  server uses ZHS16GBK character set (possible charset conversion)

  About to export specified tables via Conventional Path ...

  Current user changed to TESTXUCHAO

  . . exporting table TAB_XN_PY_DICT 25433 rows exported

  Export terminated successfully without warnings.

时间: 2024-10-31 15:07:49

EXP-00091: Exporting questionable statistics的相关文章

Oracle导出错误 EXP-00091: Exporting questionable statistics 解决方法

在使用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 questiona

Linux系统下导出ORACLE数据库出现Exporting questionable statistics.错误 处理_oracle

环境:A机器和B机器都是LINUX系统,但由于B机器已经空间不足,所以停掉不停操作数据库的服务后 ,准备在A机器进行导出操作. 导出语句 exp user/password@sid file=0320.dmp 导出过程中不停出现Exporting questionable statistics.的错误. 上网一查,都说是字符集问题. 使用语句查看数据库的字符集. select *from nls_database_parameters t where t.parameter='NLS_CHARA

关于exp statistics的问题和简单测试

在数据导出的时候,可能会碰到EXP-00091: Exporting questionable statistics.的问题,有时候会让人有点摸不到头脑,不知道该调整什么. 这个时候NLS_LANG就发挥作用了. [ora11g@rac1 ~]$ exp n1/n1 tables=t file=t.dmp rows=n Export: Release 11.2.0.3.0 - Production on Fri May 23 19:26:35 2014 Copyright (c) 1982, 2

exp全库数据导出脚本

exp userid=system/manager full=y direct=y recordlength=65535 file=/bak/exp_full.dmp log=/bak/exp_full.log 如遇EXP-00091: Exporting questionable statistics. 产生: 在数据库的服务器端和客户端字符集不同的情况下,导出(dump)数据库表时,会产生这个错误.虽然产生这个错误,但好像对导入没有影响. 解决: 服务器端数据的字符集查看方法: 1.打开SQ

oracle中 exp/imp导出导入数据库例子

导出前先查看系统的NLS_LANG设置: echo $NLS_LANG AMERICAN_AMERICA.ZHS16CGB231280 select userenv('language') from dual; AMERICAN_AMERICA.ZHS16GBK 这两个值不同会报错: EXP-00091: Exporting questionable statistics 问题产生的原因: linux下用户环境变量语言集和oracle数据库中的环境变量语言集不同. 解决办法: 将linux下用户

【ORACLE 导入导出】exp 错误

EXP-00000: Export terminated unsuccessfully Cause: Export encountered an Oracle error. Action: Look up the accompanying Oracle message in the ORA message chapters of this manual, and take appropriate action. EXP-00001: data field truncation - column

oracle中exp dmp文件损坏怎么恢复

创建exp dmp文件并使用dd破坏  代码如下 复制代码 SQL> create table t_xifenfei as select * from dba_objects; Table created. SQL> select count(*) from t_xifenfei;   COUNT(*) ----------      90915 [oracle@localhost ~]$ exp chf/xifenfei@pdb1 file=/tmp/t_xifenfei.dmp table

【exp/imp】将US7ASCII字符集的dmp文件导入到ZHS16GBK字符集的数据库中

[exp/imp]将US7ASCII字符集的dmp文件导入到ZHS16GBK字符集的数据库中   1.1  BLOG文档结构图     1.2  前言部分 1.2.1  导读和注意事项 各位技术爱好者,看完本文后,你可以掌握如下的技能,也可以学到一些其它你所不知道的知识,~O(∩_∩)O~: ① 如何将US7ASCII字符集的dmp文件导入到ZHS16GBK字符集的数据库中(重点,2种方法)? ② 从dmp文件可以获取到哪些信息?如何从dmp文件获取到dmp文件的字符集(重点,N种方法)? ③

使用exp导出报错EXP-00091

使用如下命令执行导出操作: exp user/pwd@db file=/home/a.dmp log=/home/a.log 输出如下信息,其中包含一些EXP-00091的错误提示: . . exporting table T 0 rows exported EXP-00091: Exporting questionable statistics. EXP-00091: Exporting questionable statistics. EXP-00091: Exporting questio