[紧急求救]online不时dump掉
各位informix大师,小弟麻烦你们帮我检查我的系统到底出了什么问题。我通过系统调用分步执行两个shell程序11_1.sh及11_2.sh,
sh程序中涉及四个数据表
saacn(记录数 740000),
saamt(记录数 750000),
zhdzb(记录数 1040000),
tdacn(记录数 450000),
机器是联想T270 G5,双至强CPU,2G内存,2x146G SCSI硬盘,安装SCOUNIX5.06
及ids 7.31 UC7.
程序在执行到11_2.sh的第二个unload语句时online就dump下来。现附上压缩的af文件及
两个sh程序,请大师们帮忙查找原因,谢谢。
11_1.sh文件
dbaccess dcc - <<! 1>/tmp/stdcc_mng.log 2>/tmp/stdcc_mng.log
unload to $TEMPDIR/dg_sa.txt select b.opac_instn_no,c.zh,b.cust_no,b.cust_name,
a.acct_bal from saamt a,saacn b,zhdzb c where a.acct_no=b.acct_no
and a.acct_no=c.acct_no and a.ddp_acct_sts<>"3" and a.sleep_sts="0" and
a.acct_no in ("25","42","62") and a.acct_no="123456789"
and a.acct_bal>=0.001order by c.zh;
unload to $TEMPDIR/dg_td.txt select a.opac_tlr_no,b.zh,a.psbk_no_n,a.cust_no,
a.cust_name,a.actu_amt,a.opac_dt from tdacn a,zhdzb b
where a.acct_no=b.acct_no and a.acct_sts<>"1" and
a.acct_no in ("41","61") and
a.acct_no="123456789"and
a.actu_amt>=0.001
order by b.zh;
!
T=`awk '{ print substr($0,5) }' /tmp/stdcc_mng.log | grep "Error" | head`
if [ -z "$T" ]
then
exit 0
else
exit 1
fi
11_2.sh文件
dbaccess dcc - <<! 1>/tmp/stdcc_mng.log 2>/tmp/stdcc_mng.log
unload to $TEMPDIR/ds_sa.txt select b.opac_instn_no,c.zh,b.cust_no,b.cust_name,
a.acct_bal from saamt a,saacn b,zhdzb c where a.acct_no=b.acct_no
and a.acct_no=c.acct_no and a.ddp_acct_sts<>"3" and a.sleep_sts="0" and
a.acct_no in ("27","28","34") and a.acct_no="123456789"
and a.acct_bal>=0.001order by c.zh;
unload to $TEMPDIR/ds_td.txt select a.opac_tlr_no,b.zh,a.psbk_no_n,a.cust_no,
a.cust_name,a.actu_amt,a.opac_dt from tdacn a,zhdzb b
where a.acct_no=b.acct_no and a.acct_sts<>"1" and
a.acct_no in ("27","28","34") and
a.acct_no="123456789"and
a.actu_amt>=0.001
order by b.zh;
!
T=`awk '{ print substr($0,5) }' /tmp/stdcc_mng.log | grep "Error" | head`
if [ -z "$T" ]
then
exit 0
else
exit 1
fi
[ 本帖最后由 stxrh 于 2005-11-6 13:19 编辑 ] 同情!
找informix技术支持看看,不过我估计也没戏,那些人只会扯皮说:这个事得找老美来解决。
奇怪,我最近怎么老见着informix crash的事呢。 第二个unload语句执行就down,一行都导不出,但在普通PC机上却没有出错 楼主试试会手工unload一次,试试看一样会down吗 手工执行sh没有出错
俺也最到这个问题了
俺的错误代码是-956,你看一下你的informix日志中的错误代码是多少?
页:
[1]