Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are the two types of concurrency?

Answers were Sorted based on User's Feedback



What are the two types of concurrency?..

Answer / s.vanitha

Pessimistic concurrency control
Optimistic concurrency control

Is This Answer Correct ?    4 Yes 1 No

What are the two types of concurrency?..

Answer / afan

When many people attempt to modify data in a database at
the same time, a system of controls must be implemented so
that modifications made by one person do not adversely
affect those of another person. This is called concurrency
control.

Concurrency control theory has two classifications for the
methods of instituting concurrency control:

Pessimistic concurrency control
A system of locks prevents users from modifying data in a
way that affects other users. After a user performs an
action that causes a lock to be applied, other users cannot
perform actions that would conflict with the lock until the
owner releases it. This is called pessimistic control
because it is mainly used in environments where there is
high contention for data, where the cost of protecting data
with locks is less than the cost of rolling back
transactions if concurrency conflicts occur.

Optimistic concurrency control
In optimistic concurrency control, users do not lock data
when they read it. When a user updates data, the system
checks to see if another user changed the data after it was
read. If another user updated the data, an error is raised.
Typically, the user receiving the error rolls back the
transaction and starts over. This is called optimistic
because it is mainly used in environments where there is
low contention for data, and where the cost of occasionally
rolling back a transaction is lower than the cost of
locking data when read.

Is This Answer Correct ?    1 Yes 0 No

What are the two types of concurrency?..

Answer / priyanka

there are basically two types of concurracnies...
1-> logical concurrency
2-> physical concurrency

Is This Answer Correct ?    0 Yes 0 No

What are the two types of concurrency?..

Answer / nomaan khan

Concurrency occur when more than one Task want to perform
at same time, so as per my knowledge it will be of two type
1. Concurrent read
2. Concurrent Write
In this concurrent Read permission will be grant by
Admin but Concurrent write permission will not grant by the
Admin because it will give us a Fantom Problem.

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More SQL Server Interview Questions

can anyone explain me the concept of Serialization in Detail and Clear? plz its urgent i have interview on friday (15th feb)

1 Answers  


What is exporting utility?

0 Answers  


How and why use sql server?

0 Answers  


In which year relase the 7.0& 2000 & 2005?

1 Answers  


What is apply operator in sql?

0 Answers  


What are commit and rollback in sql?

0 Answers  


Explain about builtinadministrator?

0 Answers  


Why do we need different type of parameter?

0 Answers  


Can truncate be rolled back?

0 Answers  


How to generate create view script on an existing view?

0 Answers  


What is autocommit mode in sql server?

0 Answers  


What is row_number () and partition by in sql server?

0 Answers  


Categories