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

Explain the difference between trap and trapdoor?

0 Answers  


Explain 32 bit application/OS vs 64 application/OS?

0 Answers   MCN Solutions,


File which stores the DNS configuration at client side?

0 Answers  


What are numerous ways in which a thread can enter the waiting state?

0 Answers  


List the possible threads a thread can have?

0 Answers  






Explain the difference between demand-paging and pre-paging?

0 Answers  


How much ram can you put in a 64 bit system?

0 Answers  


What is the difference between tty and pts?

0 Answers  


Does chkdsk erase data?

0 Answers  


What is bursting?

0 Answers  


Will chkdsk fix bad sectors?

0 Answers  


What is preemptive multitasking?

0 Answers  


Categories