您的位置:首页 > 数据库 > Oracle

EXP导出时出现EXP-00091错误

2015-03-04 15:14 141 查看
版权声明:转载时请以超链接形式标明文章原始出处和作者信息及本声明
http://blog.csdn.net/wenshuangzhu/article/details/44060625

使用EXP命令导出VMSPUBL用户模式下的所有对象,日志记录导出过程中报错:

EXP-00091: Exporting questionable statistics.

##############################################################################

Export Start.

Start Time: 2013-08-07 09:35:01

Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production

With the Partitioning, Real Application Clusters, OLAP, Data Mining

and Real Application Testing options

Export done in UTF8 character set and UTF8 NCHAR character set

server uses AL32UTF8 character set (possible charset conversion)

Note: indexes on tables will not be exported

About to export specified users ...

. exporting pre-schema procedural objects and actions

. exporting foreign function library names for user VMSPUBL 

. exporting PUBLIC type synonyms

. exporting private type synonyms

. exporting object type definitions for user VMSPUBL 

About to export VMSPUBL's objects ...

. exporting database links

. exporting sequence numbers

. exporting cluster definitions

. about to export VMSPUBL's tables via Conventional Path ...
. . exporting table             VMS_ADMIN_OPER_LOG

                                                           51 rows exported
EXP-00091: Exporting questionable statistics.
. . exporting table                    VMS_APP_LOG

                                                            0 rows exported

EXP-00091: Exporting questionable statistics.

. . exporting table               VMS_BULLETIN_COS

                                                            0 rows exported

EXP-00091: Exporting questionable statistics.

. . exporting table                VMS_CALLOUT_FAX

                                                            0 rows exported

............

查看EXP-00091的oracle error message:
oracle@node74:~> 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环境变量NLS_LANG:
oracle@node74:~> echo $NLS_LANG 
AMERICAN_AMERICA.UTF8

查看DB的NLS_CHARACTERSET:

SQL> select * from nls_database_parameters t where t.parameter='NLS_CHARACTERSET'; 

PARAMETER            VALUE

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

NLS_CHARACTERSET     AL32UTF8

两者不一致。

编辑/home/oracle/.profile,修改oracle环境变量NLS_LANG:

export NLS_LANG=AMERICAN_AMERICA.AL32UTF8

重新执行EXP导出,未再报EXP-00091错误。

##############################################################################

Export Start.

Start Time: 2013-08-07 10:03:53

Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production

With the Partitioning, Real Application Clusters, OLAP, Data Mining

and Real Application Testing options

Export done in AL32UTF8 character set and UTF8 NCHAR character set

Note: indexes on tables will not be exported

About to export specified users ...

. exporting pre-schema procedural objects and actions

. exporting foreign function library names for user VMSPUBL 

. exporting PUBLIC type synonyms

. exporting private type synonyms

. exporting object type definitions for user VMSPUBL 

About to export VMSPUBL's objects ...

. exporting database links

. exporting sequence numbers

. exporting cluster definitions

. about to export VMSPUBL's tables via Conventional Path ...

. . exporting table             VMS_ADMIN_OPER_LOG

                                                           51 rows exported

. . exporting table                    VMS_APP_LOG

                                                            0 rows exported

. . exporting table               VMS_BULLETIN_COS

                                                            0 rows exported

...................

Export terminated successfully without warnings.

Export End.

End Time: 2013-08-07 10:04:12

##############################################################################
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  oracle 导出 EXP-00091