EXP-00091: Exporting questionable statistics.

本文记录了在使用Oracle 10g进行数据导出时遇到的问题及解决过程。主要问题为导出过程中出现的可疑统计数据警告,通过设置NLS_LANG环境变量解决了字符集导致的问题,成功完成了指定表格的数据导出。

ora10glinux-> exp userid=***/***@orcl buffer=10240000 file=AA.dmp tables=(BANKRUNDATEBACKUP,IMPORT_TARGETEDLIST,TEST,TEST1,TEST10,TEST2,TEST3,TEST4,TEST5,TEST6,TEST7,TEST8,TESTDMP,BANKRUNDATE2,BANKRUNDATE,DUPLICATETAB,BANK) indexes=y rows=y consistent=y constraints=y

Export: Release 10.2.0.1.0 - Production on Thu Oct 15 11:28:29 2009

Copyright (c) 1982, 2005, Oracle.  All rights reserved.


Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
Export done in US7ASCII character set and AL16UTF16 NCHAR character set
server uses AL32UTF8 character set (possible charset conversion)

About to export specified tables via Conventional Path ...
. . exporting table              BANKRUNDATEBACKUP        505 rows exported
. . exporting table            IMPORT_TARGETEDLIST       4178 rows exported
. . exporting table                           TEST    2606773 rows exported
EXP-00091: Exporting questionable statistics.

...

...

...

 

解决办法:

 

ora10glinux-> echo $NLS_LANG

 

 

ora10glinux->

 

ora10glinux->

 

 

SQL> SELECT USERENV('LANGUAGE') "Language" FROM DUAL;

Language
----------------------------------------------------
AMERICAN_AMERICA.AL32UTF8

SQL> select * from props$ where name in ('NLS_LANGUAGE','NLS_TERRITORY','NLS_CHARACTERSET','NLS_NCHAR_CHARACTERSET');

NAME
------------------------------
VALUE$
--------------------------------------------------------------------------------
COMMENT$
--------------------------------------------------------------------------------
NLS_LANGUAGE
AMERICAN
Language

 

NLS_TERRITORY
AMERICA
Territory

 

NAME
------------------------------
VALUE$
--------------------------------------------------------------------------------
COMMENT$
--------------------------------------------------------------------------------

 

NLS_CHARACTERSET
AL32UTF8
Character set

 

NLS_NCHAR_CHARACTERSET
AL16UTF16

 

NAME
------------------------------
VALUE$
--------------------------------------------------------------------------------
COMMENT$
--------------------------------------------------------------------------------
NCHAR Character set


SQL>

 

 

ora10glinux->
ora10glinux-> export NLS_LANG=AMERICAN_AMERICA.AL32UTF8
ora10glinux-> exp userid=***/***@orcl buffer=10240000 file=AA.dmp tables=(BANKRUNDATEBACKUP,IMPORT_TARGETEDLIST,TEST,TEST1,TEST10,TEST2,TEST3,TEST4,TEST5,TEST6,TEST7,TEST8,TESTDMP,BANKRUNDATE2,BANKRUNDATE,DUPLICATETAB,BANK) indexes=y rows=y consistent=y constraints=y

Export: Release 10.2.0.1.0 - Production on Thu Oct 15 11:31:07 2009

Copyright (c) 1982, 2005, Oracle.  All rights reserved.


Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
Export done in AL32UTF8 character set and AL16UTF16 NCHAR character set

About to export specified tables via Conventional Path ...
. . exporting table              BANKRUNDATEBACKUP        505 rows exported
. . exporting table            IMPORT_TARGETEDLIST       4178 rows exported
. . exporting table                           TEST    2606773 rows exported
. . exporting table                          TEST1      65824 rows exported
. . exporting table                         TEST10    5848064 rows exported
. . exporting table                          TEST2     182752 rows exported
. . exporting table                          TEST3      65824 rows exported
. . exporting table                          TEST4      45688 rows exported
. . exporting table                          TEST5      65824 rows exported
. . exporting table                          TEST6      45688 rows exported
. . exporting table                          TEST7      65824 rows exported
. . exporting table                          TEST8    5848064 rows exported
. . exporting table                        TESTDMP         10 rows exported
. . exporting table                   BANKRUNDATE2        505 rows exported
. . exporting table                    BANKRUNDATE         29 rows exported
. . exporting table                   DUPLICATETAB          6 rows exported
. . exporting table                           BANK         29 rows exported
Export terminated successfully without warnings.
ora10glinux->

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值