unixnewbie
发表于 2008-5-6 20:56
DB2CHECKCLIENTINTERVAL
This variable specifies the frequency of APPC and TCP/IP client connection verifications. It permits early detection of client termination, instead of waiting until after the completion of the query. If this variable is set to 0, no verification is performed.
In DB2 Universal Database(TM), Version 8.1.4, the default value for DB2CHECKCLIENTINTERVAL is 50. Prior to version 8.1.4, the default value was 0.
wangzhonnew
发表于 2008-5-6 21:05
原帖由 unixnewbie 于 2008-5-6 21:56 发表 http://www.itpub.net/images/common/back.gif
DB2CHECKCLIENTINTERVAL
This variable specifies the frequency of APPC and TCP/IP client connection verifications. It permits early detection of client termination, instead of waiting until after the completion of the query. If this variable is set to 0, no verification is performed.
In DB2 Universal Database(TM), Version 8.1.4, the default value for DB2CHECKCLIENTINTERVAL is 50. Prior to version 8.1.4, the default value was 0.
:right: :rose:
diablo2
发表于 2008-5-6 22:54
原帖由 unixnewbie 于 2008-5-6 20:56 发表 http://www.itpub.net/images/common/back.gif
DB2CHECKCLIENTINTERVAL
This variable specifies the frequency of APPC and TCP/IP client connection verifications. It permits early detection of client termination, instead of waiting until after the completion of the query. If this variable is set to 0, no verification is performed.
In DB2 Universal Database(TM), Version 8.1.4, the default value for DB2CHECKCLIENTINTERVAL is 50. Prior to version 8.1.4, the default value was 0.
我测试过,设置为1,至少10分钟内是不管用的
eguoyang
发表于 2008-5-7 09:20
这个问题我也是偶然中发现:我在执行某些SQL时发现有锁等待的情况,同时,我又很确信业务系统应该没有操作。不知道有没有很好的解决办法。因为,此问题会造成Session处于未知的状态,由于DB2锁的机制会造成系统根本不可用(delete 、update和select冲突),不会让我时刻等着Force applicaiton吧?
DB2CHECKCLIENTINTERVAL不知道是否有效,有哪位有心人做一个的测试发过来看看?
macrozeng
发表于 2008-5-7 09:37
我这边测试也没有效果
myfriend2010
发表于 2008-5-7 09:58
DB2NBCHECKUPTIME限于 Windows 服务器缺省值 = 1 分钟
值:1-720
指定 NetBIOS 协议检查过程的每次调用之间的时间间隔。检查时间以分钟指定。
较低的值将确保 NetBIOS 协议检查更频繁地运行,并在发生意外的代理程序/会话终止时,释放内存和剩余的其它系统资源。
myfriend2010
发表于 2008-5-7 10:07
这个是NetBIOS 的....
diablo2
发表于 2008-5-7 11:25
原帖由 eguoyang 于 2008-5-7 09:20 发表 http://www.itpub.net/images/common/back.gif
这个问题我也是偶然中发现:我在执行某些SQL时发现有锁等待的情况,同时,我又很确信业务系统应该没有操作。不知道有没有很好的解决办法。因为,此问题会造成Session处于未知的状态,由于DB2锁的机制会造成系统根本不可用(delete 、update和select冲突),不会让我时刻等着Force applicaiton吧?
DB2CHECKCLIENTINTERVAL不知道是否有效,有哪位有心人做一个的测试发过来看看?
你可以考虑db2gov. 设置idle,不过,这样的话,正常的连接idle 到限制的秒数也会被force
eguoyang
发表于 2008-5-20 09:04
网络失败主要是联机的客户端与服务器端出现了网络中断等。这种失败不需要DBA干预,ORACEL会自
动处理。例如:
对于C/S结构的系统来说,后台进程PMON会自动检测到异常断开的用户进程,然后自动回退用户进程
的操作。并释放占有的资源。
我笨故我在
发表于 2008-5-20 10:08
原帖由 diablo2 于 2008-5-7 11:25 发表 http://www.itpub.net/images/common/back.gif
你可以考虑db2gov. 设置idle,不过,这样的话,正常的连接idle 到限制的秒数也会被force
老兄能根据这个例子 写个可以实际运行的规则吗?
不清楚db2gov有多少规则可写.