sevensuccess 发表于 2009-12-15 14:46

数据库每天都回滚这是为什么帮我看看

有两个问题
1.每一个问题,我用oncheck -cI dcc 发现了几个坏的索引。
Isam error:illegal key descriptor too many parts or too long
Index ix384_2 for dcc:dcc.zhlhh is bad
像这个修复是不是用oncheck -cI -y dcc来修复,在系统工作时可以做修复吗?还是必须要在的业务停止的情况下。


2. 第二个问题,我在检查数据库时,我碰到一个服务器,我运行onstat oncheck等命令,都报
Shared memory not initialized for INFORMIXSERVER ‘ccbsrv’错误。

可是我发现系统是能正常运行的,我问他们管理人员,他们说工作可以正常运行没有什么错误,就是我检查数据库时的命令无法使用。

我还查看了online.log每天早上好像都要做一次回滚。我把他的回滚日志贴出来,请你帮我看看,这两个问题是什么原因。

Requested shared memory segment size rounded from 8000kB to 8192kB

Event alarms enabled. ALARMPROG = ‘/usr/informi/etc/log_full.sh’

DR:DRAUTO is 0 (off)

Requested shared memory segment size rounded from 588kB to 4096kB

Informix DYNAMICserver initializedshared meory initialized

Physical recovery started..   for owner and group

Physical recovery comlete: 0 pages restored

Logical recovery started

Complete

1committed , 0rolled back, 0 open ,0 bad locks

Dataskip is now OFF for all dbspaces

On-line mode

liaosnet 发表于 2009-12-15 14:50

1.索引若没办法修复,请重建.
2.1检查环境变量..
2.2不知道是怎么关闭数据库的..

sevensuccess 发表于 2009-12-15 15:14

1.修复用什么命令是oncheck -ci -y dcc 吗??可以在线使用吗
2.数据库没有关啊,,业务可以正常使用,就是我不能打命令,不知道为什么会出这个问题

liaosnet 发表于 2009-12-15 16:15

回复 #3 sevensuccess 的帖子

1.可在线使用.
2.确认环境. env 跟 $ONCONFIG对比下..

sevensuccess 发表于 2009-12-16 10:41

Physical recovery started..   for owner and group

Physical recovery comlete: 0 pages restored

Logical recovery started


为什么他每天早上都有这个recovery,,这是为什么,,正常不

liaosnet 发表于 2009-12-16 10:48

回复 #5 sevensuccess 的帖子

機子為什麽每天都要重啟?
页: [1]
查看完整版本: 数据库每天都回滚这是为什么帮我看看