Which of the DBMS component ensures that concurrent execution of multiple…

2021

Which of the DBMS component ensures that concurrent execution of multiple operations on the database results into a consistent database state? 

  1. A.

    Logs

  2. B.

    Buffer manager

  3. C.

    File manager

  4. D.

    Transaction processing system

Attempted by 541 students.

Show answer & explanation

Correct answer: D

Correct answer: Transaction processing system

Explanation:

  • Role: The transaction processing system (transaction manager) enforces concurrency control and the ACID properties so that concurrently running transactions leave the database in a consistent state.

  • ACID properties: atomicity, consistency, isolation, durability — these properties collectively ensure correctness of transactions and consistency of the database.

  • Common concurrency-control mechanisms: locking (shared/exclusive locks), timestamp ordering, optimistic concurrency control, and multiversion concurrency control (MVCC). These mechanisms prevent conflicting interleavings and preserve isolation.

  • Why other components are not correct:

    • Logs: Support recovery (undo/redo) and durability but do not coordinate concurrent transactions during normal execution.

    • Buffer manager: Manages in-memory caching of disk pages to improve I/O performance; it does not ensure transaction isolation or concurrency control.

    • File manager: Handles physical storage and disk structures; it is not responsible for enforcing ACID or concurrency control.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Mppsc Assistant Professor