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 much ram can a 32 bit os use?

531


What do you mean by multithreading?

632


What is the kernel of the operating system?

513


What is the use of Synchronized keyword?

583


What are the deadlock avoidance schemes?

678






What is a command interpreter?

623


Difference between logical and physical address space?

580


Can I change operating systems on my laptop?

561


What's the difference between 32 and 64 bit?

522


Draw the states of a process in an OS.

605


What are co-operating processes?

633


What is the main thread?

543


Do I install 32 bit or 64 bit office?

541


Which technology does Pentium use - RISC or CISC?

576


What are the different types of kernel?

590