INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

MTS -> DTC -> SQL Server

How MTS Transactions Affect SQL Server by TomSark
Posted: 15 Nov 00

MTS                     Default                                    SQL Server
Transaction           SQL Server          Enlisted In    Transaction
Setting                  Isolation Level      DTC             Type
---------------------------------------------------------------------------------------------
Requires New        Serializable          Yes             Explicit
Requires               Serializable          Yes             Explicit
Supports (1)          Serializable          Yes             Explicit
Supports (2)          Read Committed   No              Autocommit
Does Not Support  Read Committed   No              Autocommit

(1) If the object is involved in a transaction
(2) If the object is not involved in a transaction

Why did I put this together?
For components involved in transactions, MTS by default uses the serializable isolation level on SQL Server, which could cause a concurrency problems such as blocked processes and deadlocks.  If not absolutely necessary to use the serializable isolation level, developers should set the SQL Server isolation level to read committed so that they can obtain higher concurrency (fewer blocked transactions, fewer deadlocks).

Thanks,

Tom
tdavis@sark.com

Back to Microsoft SQL Server: Programming FAQ Index
Back to Microsoft SQL Server: Programming Forum

My Archive

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close