我的shell脚本如下:
while read mt
do
if [ -z "$m" ]; then
m=$mt
fi
m=$mt,$m
export m
#echo $m
done < mytable.txt
#mytable.txt里面存放的表的名字,一行一个表
exp odsdev/odsdev@odsdev235 tables=($m) buffer=1048575 file=my.dmp compress=y报错提示信息是:
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bitn
With the Partitioning, OLAP and Data Mining options
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 ...
. . exporting table                            BND       3850 rows exported
EXP-00091: Exporting questionable statistics.
. . exporting table                            ERH          0 rows exported
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
. . exporting table                            IAL       1865 rows exported
EXP-00091: Exporting questionable statistics.
. . exporting table                            FIV          8 rows exported
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
Export terminated successfully with warnings.
请各位看看是什么错,应该怎么解决。

解决方案 »

  1.   

    这个好像是你所在session中的NLS_LANG与数据库服务器的NLS_CHARACTERSET不同引起的。select * from v$nls_parameters where parameter='NLS_CHARACTERSET';看看查询出来的value是多少?export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
      

  2.   

    Export done in US7ASCII character set and AL16UTF16 NCHAR character set 
    server uses ZHS16GBK character set (possible charset conversion) 同意1楼的,楼主在导出之前先将字符集修改成ZHS16GBK 看看..
      

  3.   


    这里没有错误,不过是有些warning,根据这里的提示应该是statistics有问题。你导出的时候,可以加上statistics=none试试。
      

  4.   

    EXP-00091 Exporting questionable statisticsCause: Export was able to export statistics, but the statistics may not be useable. 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, or 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.
    --问题描述及解答!同楼上几位一致!