exp导出之EXP-00091解决方法
2013-06-22 22:40
351 查看
EXP-00091问题现象:在使用exp导出数据的时候总是报EXP-00091: Exporting questionable statistics.用oracle自带的oerr查看解释如下:
发现是在exp做statistics的时候提示not be usuable。
解决方法和思考
一、直接关闭statistics
exp jack/oracle STATISTICS=none file='/opt/oracle/exp_imp/jack01.dmp' log='/opt/oracle/exp_imp/jack01.log' tables=jack
二、解决not be usuable的问题;
1、DB字体和OS字体不一致问题
1)数据库字体查询
2)查询OS字体
果然不一致!所以,要么修改数据库的字体同步OS字体,要么修改ORACLE环境变量字体适应数据库字体。道理相同,选简单点的,修改临时环境变量数据库用户的环境变量适应数据库变量。
export $NLS_LANG=WE8ISO8859P1
echo $NLS_LANG
修改oracle字符集其他篇章再来描述。
[oracle@ocpserver exp_imp]$ 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. [oracle@ocpserver exp_imp]$
发现是在exp做statistics的时候提示not be usuable。
解决方法和思考
一、直接关闭statistics
exp jack/oracle STATISTICS=none file='/opt/oracle/exp_imp/jack01.dmp' log='/opt/oracle/exp_imp/jack01.log' tables=jack
二、解决not be usuable的问题;
1、DB字体和OS字体不一致问题
1)数据库字体查询
SQL> SELECT * FROM NLS_DATABASE_PARAMETERS WHERE PARAMETER='NLS_CHARACTERSET'; PARAMETER VALUE ------------------------------ ---------------------------------------- NLS_CHARACTERSET WE8ISO8859P1 SQL>
2)查询OS字体
[oracle@ocpserver ~]$ echo $NLS_LANG AMERICAN_AMERICA.AL32UTF8 [oracle@ocpserver ~]$
果然不一致!所以,要么修改数据库的字体同步OS字体,要么修改ORACLE环境变量字体适应数据库字体。道理相同,选简单点的,修改临时环境变量数据库用户的环境变量适应数据库变量。
export $NLS_LANG=WE8ISO8859P1
echo $NLS_LANG
修改oracle字符集其他篇章再来描述。
相关文章推荐
- exp 导出 00091错误解决方法
- EXP-00091: 正在导出有问题的统计信息,两种解决方法。
- oracle导出报错EXP-00091的解决方法
- 【转】EXP-00091: Exporting questionable statistics.解决方法
- Oracle11G R2用exp无法导出空表解决方法
- exp导出oracle数据库时 无法导出空表的解决方法
- 用exp无法导出空表解决方法/用exp导出数据时表丢失原因
- llinux下导出ORACLE数据库 ----关于“EXP-00056: ORACLE error 12154 encountered”的解决方法
- Exp Imp 导入导出常见问题解决方法-字符集的后续问题
- EXP-00003 ORACLE9201导出故障解决方法
- Oracle EXP-00091解决方法
- Oracle 11G R2 用exp无法导出空表解决方法
- ORACLE EXP导出时空表无法导出解决方法
- ORACLE9exp导出出错解决方法
- Exp Imp 导入导出常见问题解决方法
- oracle exp-00091解决方法
- oracle11g使用exp语句导出数据时,导出表不全(将数据为空的表自动过滤掉)的解决方法
- 解决Oracle中用EXP 命令后用IMP导出数据出现错误的一种方法
- oracle11gR2使用exp导出命令时报EXP-00011错误的解决方法
- 用exp无法导出空表解决方法,可能提示ora-01455错误