码迷,mamicode.com
首页 > 其他好文 > 详细

Transactions and beyond it..

时间:2015-02-13 16:16:08      阅读:143      评论:0      收藏:0      [点我收藏+]

标签:

While data integrity is managed very effectively within a single database with row locking, deadlock detection, and roll-back features, distributed data integrity is far more complex. Recovery in a distributed database environment involves ensuring that the entire transaction has completed successfully before issuing a COMMIT to each of the subcomponents in the overall transaction. This can often be a cumbersome chore, and it is the idea behind the the two-phase commit.

One popular alternative to the two-phase commit is replicating information and relying on asynchronous replication techniques to enforce the data integrity. e.g. MS‘s implementation- https://technet.microsoft.com/en-us/library/ms152501(v=sql.105).aspx

Transactions and beyond it..

标签:

原文地址:http://www.cnblogs.com/silva/p/4290373.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!