Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

Edited Feature: Consider setting the READ_COMMITTED_SNAPSHOT option to ON in new SQL Server databases [7]

$
0
0
This database-level option changes the implementation of the default transaction isolation level (read committed) to use snapshots instead of shared locks, potentially allowing for more scalability and fewer deadlocks. It looks like a "best practice" we could just implement by default when we control creation of the database. Some more explanations here: http://msdn.microsoft.com/en-us/library/tcbchxcb(v=vs.110).aspx. <br /><br />This could apply to Code First, Migrations, and Model First.<br /><br />Here is an interesting article about READ COMMITTED SNAPSHOT: http://coderjournal.com/2008/08/deadlocked-read-committed-snapshot-explained/. <br /><br />I have also learned that SQL Server Azure set this on by default.

Viewing all articles
Browse latest Browse all 10318

Trending Articles



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