为什么 SQL Server 中的分布式事务不支持快照隔离

发布于 2024-08-03 11:35:20 字数 74 浏览 2 评论 0原文

问题就在标题里。我只是想了解为什么不支持此功能?

澄清一下,这是 MS Sql Server 2005 / 2008。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

り繁华旳梦境 2024-08-10 11:35:20

因为它可能存在不一致的情况,而且它的开箱即用性比基于锁的隔离 (ANSI SQL) 更弱。

或者,缺点(例如此银行业务示例)需要更多的工作和思考才能保持事情是正确的,所以不支持它更安全。

最后(我没有检查过),它符合ANSI标准吗?它可能是一个非常定制的解决方案,您将无法在其他平台上使用分布式事务

链接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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文