Why isn't Snapshot isolation supported with Distributed Transactions in SQL Server

本秂侑毒 提交于 2020-01-05 17:57:13

问题


Question is in the title. I'd just love to understand why this isn't supported?

Just to clarify this is MS Sql Server 2005 / 2008.


回答1:


Because it's potentially inconsistent and it's weaker out of the box than lock-based isolation (ANSI SQL).

Or, the downsides (such as this banking example) require more work and thinking to keep things correct so it's simply safer not to support it.

Finally (I've not checked), is it in the ANSI standard? It could be a very bespoke solution and you'd be unable to use distributed transactions against other platforms

Link 1



来源:https://stackoverflow.com/questions/1331734/why-isnt-snapshot-isolation-supported-with-distributed-transactions-in-sql-serv

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!