Understanding Lock Granularity in Databases
5 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Which level of lock allows concurrent transactions to access different rows of the same table, even if the rows are located on the same page?

  • Row-level lock (correct)
  • Table-level lock
  • Page-level lock
  • Database-level lock
  • Which type of lock has only two states: locked (1) or unlocked (0)?

  • Field-level lock
  • Binary lock (correct)
  • Exclusive lock
  • Shared lock
  • Which type of lock specifically reserves access for the transaction that locked the object?

  • Exclusive lock (correct)
  • Field-level lock
  • Binary lock
  • Shared lock
  • Which type of lock allows concurrent transactions to be granted Read access on the basis of a common lock?

    <p>Shared lock</p> Signup and view all the answers

    Which locking level locks the entire disk page?

    <p>Page-level lock</p> Signup and view all the answers

    More Like This

    Use Quizgecko on...
    Browser
    Browser