Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4689

Always On Availability Groups and System.Transaction

$
0
0


Hi,

When using Windows Server 2016 Preview TP5, SQL Server 2016 adds support for Always On Availability Groups and Cross Database Transactions using MSDTC.

However there are Transactions which do not use MSDTC, within the .NET Framework there is System.Transactions namespace

As per "Transaction Management Escalation" on msdn microsoft com these implement a Transaction Manager which can handle transactions within SQL Server and System.Transactions only SOMETIMES escalates to MSDTC!

“As long as the System.Transactions infrastructure handles..at most one durable resource that supports single-phase notifications, the transaction remains in the ownership of the System.Transactions infrastructure”

The questions then arewith SQL Server 2016 AlwaysOn Availability Groups (on Windows Server 2016 Preview) and a cross database transaction:

a) Does SQL Server 2016 AlwaysOn Availability Groups support single-phase notifications?

b) With SQL Server 2016 AlwaysOn Availability Groups does more  than 1 single database in a transaction count as 1 durable resource or more than 1 durable resource?

i.e. would System.Transaction always escalate to MSDTC to handle cross database transactions when Windows 2016 Preview+2016 AlwaysOn Availability Groups are involved?

Thanks,
David.


Viewing all articles
Browse latest Browse all 4689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>