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?

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?

A.
SERIALIZABLE

B.
SNAPSHOT

C.
READ COMMITTED SNAPSHOT

D.
REPEATABLE READ

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



Leave a Reply 19

Your email address will not be published. Required fields are marked *


riemi

riemi

It has to be B. READ COMMITTED SNAPSHOT is not a isolation level for a transaction but rather a database option.

dennis

dennis

riemi is right. READ_COMMITTED_SNAPSHOT is a database option – not an isolation level

Shujie

Shujie

Read committed isolation is recommended over snapshot because it consumes less tempdb space than snapshot isolation which is part of the requirements

Google

Google

Usually posts some incredibly interesting stuff like this. If you are new to this site.

how to make an app for free

how to make an app for free

Every as soon as in a although we choose blogs that we study. Listed beneath would be the most recent web sites that we pick

satta matka

satta matka

here are some hyperlinks to web pages that we link to simply because we assume they may be worth visiting

Lava building products

Lava building products

although websites we backlink to below are considerably not related to ours, we really feel they’re truly really worth a go by way of, so have a look

make a app

make a app

usually posts some extremely fascinating stuff like this. If you are new to this site

retrospectiva animada

retrospectiva animada

Sites of interest we’ve a link to

create app

create app

Here is a good Blog You may Locate Fascinating that we Encourage You

E-Commerce

E-Commerce

very handful of internet sites that take place to become detailed beneath, from our point of view are undoubtedly nicely really worth checking out

Xbox 360

Xbox 360

Here are a number of the web pages we suggest for our visitors

What Are

What Are

The details mentioned inside the article are a number of the top available

lights

lights

the time to study or check out the material or web pages we have linked to below the

Personality Test Online FREE

Personality Test Online FREE

Sites of interest we’ve a link to

ebooks free

ebooks free

Sites of interest we’ve a link to

Tom

Tom

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.