SQL Server 2005的默认并发控制 [英] default concurrency control for sql server 2005

查看:76
本文介绍了SQL Server 2005的默认并发控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

SQL Server 2005的默认并发控件是什么?是乐观并发控制还是悲观并发控制?可以设置吗?

what is the default concurrency control for SQL Server 2005? Is it optimistic concurrency control or pessimistic concurrency control? Can this be set?

谢谢期待

推荐答案

悲观似乎是2005年的默认值,尽管可以根据需要激活快照隔离:

"Pessimistic" seems to be the default in 2005, although snapshot isolation can be activated if desired:


在默认悲观模型中,
第一作者将阻止所有后续的
作家,但是使用SI,随后的
作家实际上可能会收到错误的
消息,并且应用程序
需要重新提交原始请求。

In the default pessimistic model, the first writer will block all subsequent writers, but using SI, subsequent writers could actually receive error messages and the application would need to resubmit the original request.

http://msdn.microsoft.com/zh-CN/library/cc917674.aspx

这篇关于SQL Server 2005的默认并发控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆