今日EXP数据发现:
EXP-00091: Exporting questionable statistics.
. . exporting table MV_SERVICE 1022 rows exported
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
. . exporting table MV_SERVICEFEE 691 rows exported
EXP-00091: Exporting questionable statistics.
. . exporting table PLAN_TABLE 0 rows exported
. . exporting table TAB_BROWSERCATALOG 1407427 rows exported
EXP-00091: Exporting questionable statistics.
. . exporting table TAB_BROWSERFEE 59233 rows exported……………………………
解决方法:
select * from nls_database_parameters t where t.parameter=’NLS_CHARACTERSET’
or
select * from v$nls_parameters where parameter=’NLS_CHARACTERSET’;
查询值为:ZHS16CGB231280
然后vi /home/oracle/.bash_profile
export NLS_LANG=american_america.ZHS16CGB231280
source /home/oracle/.bash_profile
================以上引用其他人网站内容====================
我懒的写了,看了一眼解决办法挺好!我自己写了一备份脚本在cron Job 中执行附上脚本!
#!/bin/bash
ORACLE_SID=test
ORACLE_BASE=/opt/oracle
ORACLE_TERM=xterm
ORACLE_HOME=/opt/oracle/product/10.2.0/db_1
PATH=$ORACLE_HOME/bin/:$PATH
NLS_LANG=american_america.ZHS16GBK
export ORACLE_SID ORACLE_BASE ORACLE_TERM ORACLE_HOME PATH NLS_LANG
cd /opt/database_back
exp test/test1 file=test20090605.dmp log=exp20090605.log