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


AlwaysOn availability groups & Distributed Transactions


AlwaysOn availability groups & Distributed Transactions

Author
Message
irabufan
irabufan
SSC Journeyman
SSC Journeyman (88 reputation)SSC Journeyman (88 reputation)SSC Journeyman (88 reputation)SSC Journeyman (88 reputation)SSC Journeyman (88 reputation)SSC Journeyman (88 reputation)SSC Journeyman (88 reputation)SSC Journeyman (88 reputation)

Group: General Forum Members
Points: 88 Visits: 521
I know that Microsoft has been pretty clear about distributed transactions and cross database transactions not supported in AlwaysOn availability groups and Database Mirroring

http://technet.microsoft.com/en-us/library/ms366279.aspx

I'm just interested to find out from anyone who already has AlwaysOn availability setup and may've tried this before, is this a hard restriction that distributed transactions/cross database transactions will outright fail with error message saying you can't run distributed transactions because the database is participating in AlwaysOn availability group, or is it a soft restriction which distributed transactions will succeed under normal scenarios but you're not guaranteed transactional consistency in case of failover?

I'm still evaluating whether it's feasible to leverage AlwaysOn to create secondary copies of our data warehouse reporting database, but we do leverage distributed transactions for incremental loading to ensure data consistency between our staging and reporting server and would require additional dev work to do this without leveraging distributed transactions
Andreas.Wolter
Andreas.Wolter
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: 1056
To my knowledge and experience you can run a
BEGIN DISTRIBUTED TRANSACTION


very well.

Andreas

---------------------------------------------------
MVP SQL Server
Microsoft Certified Master SQL Server 2008
Microsoft Certified Solutions Master Data Platform, SQL Server 2012
www.insidesql.org/blogs/andreaswolter
www.andreas-wolter.com
irabufan
irabufan
SSC Journeyman
SSC Journeyman (88 reputation)SSC Journeyman (88 reputation)SSC Journeyman (88 reputation)SSC Journeyman (88 reputation)SSC Journeyman (88 reputation)SSC Journeyman (88 reputation)SSC Journeyman (88 reputation)SSC Journeyman (88 reputation)

Group: General Forum Members
Points: 88 Visits: 521
thanks, so this sounds like a soft restriction rather than hard restriction based on your experience. doesn't mean i want to do something not officially supported by MS but at least it gives us an option
sqlbuddy123
sqlbuddy123
SSCertifiable
SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)

Group: General Forum Members
Points: 6108 Visits: 2243
irabufan (3/26/2014)
thanks, so this sounds like a soft restriction rather than hard restriction based on your experience. doesn't mean i want to do something not officially supported by MS but at least it gives us an option


It's a soft restriction but not supported by MS due to the integrity issues during the failover.

Check this ..

http://msdn.microsoft.com/en-us/library/ms366279.aspx

--
SQLBuddy
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