SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Distributed Transactions and Cross Database Transactions


Distributed Transactions and Cross Database Transactions

Author
Message
Jason Bunn
Jason Bunn
SSC-Addicted
SSC-Addicted (463 reputation)SSC-Addicted (463 reputation)SSC-Addicted (463 reputation)SSC-Addicted (463 reputation)SSC-Addicted (463 reputation)SSC-Addicted (463 reputation)SSC-Addicted (463 reputation)SSC-Addicted (463 reputation)

Group: General Forum Members
Points: 463 Visits: 647
Hello,

Per http://support.microsoft.com/kb/926150, neither distributed transactions or cross-database transactions are supported with database mirroring. There are good reasons for that and I understand where the KB article is coming from.

My question for the community is, with mirroring and availability groups being touted as such a prominent feature of SQL Server for HA, how are you handling the above restriction? Even if you turn off the DTC at the OS layer, there's no way to stop someone from coding a cross-database transaction. Do you just inform your developers that as a consequence of mirroring, you can't insert into two different databases within a transaction? Is there a way to monitor for such an event? Do you just accept the risk, informing the developers that the RPO cannot be zero and there is some risk of transaction loss with mirroring?

It seems on the surface such a basic limitation, but obviously mirroring and AG are used frequently, so how is this limitation being mitigated?

Thank you.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search