4

I am looking at migrating a database from a self-hosted cluster to Microsoft Azure SQL. I am aware that there are a few distributed transactions involved, which isn't supported on Azure SQL.

Is there a way that I can log all distributed transactions and their queries, so that I can inspect the client application and remove the requirement for distributed transactions?

Ronaldo
  • 6,017
  • 2
  • 13
  • 43
ilivewithian
  • 143
  • 4

1 Answers1

5

You should be able to track the DTCTransaction event in SQL Trace or XEvents.

Or you could just shut down MSTDC (not in production, of course) and see what fails.

Also note that updates to .NET's SqlClient enables some distributed transaction scenarios with Azure SQL Database without MSDTC. See

Distributed transactions across cloud databases

David Browne - Microsoft
  • 49,000
  • 3
  • 53
  • 102