What is lock granularity?



What is lock granularity?..

Answer / vishal the expert

The level and type of information that the lock protects is
called locking granularity. Locking granularity affects
performance. When a user cannot access a row or key, the
user can wait for another user to unlock the row or key. If
a user locks an entire page, a higher probability exists
that more users will wait for a row in the page. The
ability of more than one user to access a set of rows is
called concurrency. The goal of the database administrator
is to increase concurrency to increase total performance
without sacrificing performance for an individual user.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More Operating Systems General Concepts Interview Questions

What is synchronously and asynchronously?

0 Answers  


What are the functions of the ram ic`s?

0 Answers  


what is Demand Paging?

2 Answers  


What is ThreadPool?

0 Answers  


What is the function of the control lines in ram?

0 Answers  






In the context of memory management, what are placement and replacement algorithms?

1 Answers  


What is a safe state and its’ use in deadlock avoidance?

0 Answers  


Explain latency, transfer and seek time with respect to disk i/o.?

0 Answers  


Is non-pre-emptive scheduling frequently used in a computer? Why?

0 Answers  


What is the need of device status table?

0 Answers  


How do you fix a blue screen?

0 Answers  


Can you please explain the difference between trap and trapdoor?

0 Answers  


Categories