Cindy Gross: Small Bites of Big Data, Small Data, All Data

Small Bites of Big Data, Small Data, All Data for Hadoop, SQL Server, Hive, Distributed Systems, Scale Out....

Do I need DTC for my SQL Server?

Do I need DTC for my SQL Server?

Rate This
  • Comments 3

I get a lot of questions about the "best" way to configure the Distributed Transaction Coordinator (DTC) for SQL Server on a Windows 2008 cluster. There is no one best way to do it, and the first question you ask should be "do you even use DTC and if so how and how often?". If you don't use DTC or use it rarely, then perhaps you don't need to spend a lot of time coming up with the absolute "best" method for each instance of SQL Server or your application. If your application calls DTC directly or if you use a feature in SQL Server that calls DTC, then you need DTC to be available. Some examples of how SQL Server uses DTC: linked servers, OPENROWSET, OPENQUERY, OPENDATASOURCE, remote procedure calls, BEGIN DISTRIBUTED TRANSACTION, updatable subscriptions for transactional replication (immediate and queued updating are now deprecated). You can choose to enlist in a DTC transaction from CLR, SSIS, and DTS. SQL Server does not support using DTC with some features such as database mirroring. Be very careful using DTC with functionality such as TRY...CATCH. DTC is a Windows feature and as such can be used by many applications. In addition to finding out if your SQL Server implementation takes advantage of DTC, check if any of your applications enlist DTC, such as with XA transactions. For information on your options for setting up DTC on Windows 2008 clusters, see:

How to configure DTC for SQL Server in a Windows 2008 cluster

  • Cindy,

    Iimmediate and queued updating are now deprecated. So what should you use instead?



  • It depends on your needs. Your options might include merge replication, peer to peer replication, bi-directional transactional replication, service broker, SSIS, CDC, change tracking, or something else.

  • Thanks Cindy was informative

Page 1 of 1 (3 items)
Leave a Comment
  • Please add 6 and 1 and type the answer here:
  • Post