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


Snapshot Isolation Level & MSDTC


Snapshot Isolation Level & MSDTC

Author
Message
Martin Gleeson
Martin Gleeson
Old Hand
Old Hand (380 reputation)Old Hand (380 reputation)Old Hand (380 reputation)Old Hand (380 reputation)Old Hand (380 reputation)Old Hand (380 reputation)Old Hand (380 reputation)Old Hand (380 reputation)

Group: General Forum Members
Points: 380 Visits: 277
Hi all,

I have a general question about the snapshot isolation level in SQL Server 2005 and the MS DTC.

Let's say I set a database's transaction isolation level to snapshot:

USE Master
ALTER DATABASE MyDB
SET ALLOW_SNAPSHOT_ISOLATION ON
GO

Now, say I have simple query along the lines of:

SELECT * FROM MyTable

But this query is, for arguments sake, being passed in by the MSDTC.

Now, according to the BOL article for "Choosing Row Versioning-based Isolation Levels", snapshot isolation does not support distributed queries.

Does this mean that even our simple query, passed through MSDTC will be considered a distributed query and so be rejected?

http://msdn2.microsoft.com/en-us/library/ms189122.aspx
http://msdn2.microsoft.com/en-us/library/ms130975.aspx
http://msdn2.microsoft.com/en-us/library/tcbchxcb(vs.80).aspx
http://technet.microsoft.com/en-gb/library/ms345124.aspx
http://msdn2.microsoft.com/en-us/library/ms188277.aspx
http://msdn2.microsoft.com/en-us/library/ms188721.aspx
http://msdn2.microsoft.com/en-us/library/ms130800.aspx
http://support.microsoft.com/kb/899191/

Ya know, just a quick question. Hehe
eejunk
eejunk
SSC Rookie
SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)

Group: General Forum Members
Points: 35 Visits: 33
Hi there,

did you ever get an answer to that question?? we too are using MSDTC, but on a single DB (so it's not really distributed), but the MSDTC can wrap all of our .net calls into one transaction. anyways, we wanna upgrade to the Snapshot isolation but appears that the MSDTC (at least with EnterpriseServices) does not support it...

If you got passed your problem, I would love to hear how. thanks!!
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