EXP-00091: Exporting questionable statistics

 cat EXP_P2011.sh
#!/bin/bash

NLS_LANG=AMERICAN_AMERICA.UTF8 ;export  NLS_LANG

/u01/app/oracle/product/10.2.0/db_1/bin/exp hmbarcode/hmbarcode file=/u02/backup/MasterP2011_`date +%Y%m%d`.dum  tables=barcode_master:p2011  log=/u02/backup/MasterP2011_exp.log

log:

Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export done in UTF8 character set and UTF8 NCHAR character set

About to export specified tables via Conventional Path ...
. . exporting table                 BARCODE_MASTER
. . exporting partition                          P2011   40971548 rows exported
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
Export terminated successfully with warnings.

 

把一个大表进行分区,备份分区表时,出现这个问题,不知如何解决!

 

解决:

ID 730106.1中记录了解决方法,选了个比较简单的在导出命令后加statistics=none

ID 730106.1中的部分片段:
The pre-calculated optimizer statistics are flagged as questionable at export time if:
1. There are row errors while exporting.


2. The client characterset or NCHAR characterset does not match the server characterset or NCHAR characterset.


3. A QUERY clause is specified.


4. Only certain partitions or subpartitions are exported

我是一个分区表的一个分区! 

 

reference:http://blog.csdn.net/lwei_998/article/details/6334157

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

转载于:http://blog.itpub.net/7583803/viewspace-717488/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值