大佬们,给个解释吧SCHAPI: Error -214
日志上看到的这些:01:00:00SCHAPI: Error -214 Cannot remove file for table (informix.aus_command).
01:00:00SCHAPI: Type: TASK, Name: Auto Update Statistics Evaluation, Location: NULL.
01:00:00SCHAPI: Error -106 ISAM error:non-exclusive access.
01:00:00SCHAPI: Type: TASK, Name: Auto Update Statistics Evaluation, Location: NULL.
01:00:00SCHAPI: Type: TASK, Name: Auto Update Statistics Evaluation, Error Message: Unable to execute function [ aus_evaluator(int
eger,integer) ] .
01:00:00SCHAPI: Error -710 Table (informix.aus_command) has been dropped, altered or renamed.
01:00:00SCHAPI: Type: TASK, Name: Auto Update Statistics Refresh, Location: NULL.
01:00:00SCHAPI: Type: TASK, Name: Auto Update Statistics Refresh, Error Message: Unable to execute function [ aus_refresh_stats(in
teger,integer) ] .
01:00:33SCHAPI: Error -710 Table (informix.aus_command) has been dropped, altered or renamed.
01:00:33SCHAPI: Type: TASK, Name: Auto Update Statistics Refresh, Location: NULL.
01:00:33SCHAPI: Type: TASK, Name: Auto Update Statistics Refresh, Error Message: Unable to execute function [ aus_refresh_stats(in
teger,integer) ] .
以上的这些是什么意思??? 这些都是11的新功能AUS(自动统计更新)...考虑重建下sysadmin库~
在线重建sysadmin的方法如下:
1.备份自定义task
2.在${INFORMIXDIR}/etc/sysadmin目录下,执行下列语句,停止正在运行的任务进程,删除库;
dbaccess - db_uninstall.sql
3.重建库
dbaccess - db_create.sql
4.建立库表等
dbaccess sysadmin db_install.sql
5.建立task
dbaccess sysadmin sch_tasks.sql
6. 建立aus
dbaccess sysadmin sch_aus.sql
7.测试安装
dbaccess sysadmin sch_sqlcap.sql
8.启动任务
dbaccess sysadmin start.sql 回复 2# liaosnet
我也查过些资料,是跟AUS有关,但是为什么会出现以上信息,不太明白,另外为什么要重建sysadmin库呢? 谢谢! 回复liaosnet
我也查过些资料,是跟AUS有关,但是为什么会出现以上信息,不太明白,另外为什么要 ...
yes110 发表于 2010-06-12 11:03 http://bbs3.chinaunix.net/images/common/back.gif
俺是暂时不支持现在的AUS功能的,起码现在看起来,这个功能还是很不完善的...基本上大多数安装了AUS功能的服务器上都会出现这样的问题...
只是也许重建sysadmin库后会好些~ 原来如此,感谢大侠的解答。 非常感谢! 可以关闭自动统计更新
update ph_task set tk_enable = "f" where tk_name = "Auto Update Statistics Evaluation";
update ph_task set tk_enable = "f" where tk_name = "Auto Update Statistics Refresh";
如果想用自动更新需要将两个任务的时间错开。
页:
[1]