PrepAway - Latest Free Exam Questions & Answers

Which isolation level should you use?

You use Microsoft SQL Server 2012 to write code fora transaction that contains several statements. There is
high contention between readers and writers on several tables used by your transaction. You need to minimize
the use of the tempdb space. You also need to prevent reading queries from blocking writing queries. Which
isolation level should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
SERIALIZABLE

B.
SNAPSHOT

C.
READ COMMITTED SNAPSHOT

D.
REPEATABLE READ

Explanation:
Reference: http://msdn.microsoft.com/en-us/library/ms173763.aspx

19 Comments on “Which isolation level should you use?

  1. Tom says:

    The answer is B.

    1. READ_COMMITTED_SNAPSHOT isn’t a transaction isolation level. It is a database option that changes the behavior of the default isolation level READ_COMMITTED. This was done in order to make it easier for applications to work with snapshot isolation without having to change application code.
    2. READ_COMMITTED_SNAPSHOT changes the behavior for ALL QUERIES in the database and would carry greater performance impact on the tempdb database than simply using SNAPSHOT_ISOLATION for this single transaction.




    0



    0

Leave a Reply