RSS
热门关键字:
当前位置 :| 主页>Database Development>

Example explains rise in IBM DB2 intercurrent 3 spent methods

来源: 作者:Stand originally 时间:2008-12-21 Tag: 点击:
In DB2, can rise with 3 kinds of methods intercurrent degree:

1. Reduce segregation level, read an operation to won't be barred because of lock conflict

Select. . . . With UR

2. Or, the change increases the opportunity of the lock, reduce a lock to conflict (such Insert/update/delete operations that its get on all right won't chain different Select operates the condition)

Db2set DB2_EVALUNCOMMITTED=ON

Db2set DB2_SKIPDELETED=ON

Db2set DB2_SKIPINSERTED=ON

3. Or reference is added on Where relevant field, reduce a lock to take up

Annotate:

This parameter will be in Db2set DB2_EVALUNCOMMITTED=ON - the ongoing travel predication that records a lock is checked, reduce the time of the lock as far as possible;

Db2set DB2_SKIPINSERTED=ON - new Insert of this parameter general and the data that did not submit is jumped over; For example, SELECT/UPDATE statement won't discover this record;

Db2set DB2_SKIPDELETED=ON - new Delete of this parameter general and the data that did not submit is jumped over; For example, SELECT/UPDATE statement does not await this record refer, and think he had been deleted.

  



最新评论共有 0 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名: 密码:
匿名?
注册
栏目列表
热点关注
相关文章