What is lock granularity?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How are the wait/signal operations for monitor different from those for semaphores?

513


What are the states of a process?

613


How does operating system kernel work?

568


How much cpu usage is normal?

571


Explain the concept of the timesharing operating systems?

567






What are distributed systems?

589


What happens if you install 64 bit on 32?

524


What is ecc in reference to ram?

549


What is a socket?

637


State the main difference between logical from physical address space.

625


Give an example of Priority Inversion in Scheduling. What are the consequences of Priority Inversion?

562


How do I empty my mac cache?

562


Can you tell what a device is by mac address?

551


Will chkdsk repair corrupt files?

560


Do I need both program files and program files x86?

503