0
0
DBMS Theoryknowledge~5 mins

Buffer management in DBMS Theory - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is buffer management in a database management system (DBMS)?
Buffer management is the process of efficiently handling the temporary storage area (buffer) in memory where data pages are kept while being read from or written to disk. It helps speed up data access by reducing disk I/O operations.
Click to reveal answer
beginner
Why is buffer management important in DBMS?
Because accessing data from memory is much faster than from disk, buffer management improves performance by minimizing slow disk reads and writes. It ensures frequently used data stays in memory for quick access.
Click to reveal answer
beginner
What is a buffer pool?
A buffer pool is a reserved area in main memory where the DBMS stores copies of disk pages temporarily. It acts like a cache to hold data pages that are being used or modified.
Click to reveal answer
intermediate
What is the role of a replacement policy in buffer management?
A replacement policy decides which data page to remove from the buffer pool when new pages need space. Common policies include Least Recently Used (LRU) and First-In-First-Out (FIFO).
Click to reveal answer
intermediate
Explain the difference between a dirty page and a clean page in buffer management.
A dirty page is a page in the buffer that has been modified but not yet written back to disk. A clean page has not been changed since it was loaded or was already saved to disk.
Click to reveal answer
What is the main purpose of buffer management in a DBMS?
ATo permanently store data on disk
BTo encrypt data before storage
CTo reduce disk access by storing data temporarily in memory
DTo backup data to external devices
Which of the following is a common buffer replacement policy?
ALeast Recently Used (LRU)
BBinary Search
CRound Robin
DDepth First Search
What does a 'dirty page' in buffer management mean?
AA page that is read-only
BA page that is corrupted
CA page that is empty
DA page that has been modified but not saved to disk
What is a buffer pool?
AA disk storage area
BA memory area holding copies of disk pages
CA network connection pool
DA backup storage system
Why does buffer management improve DBMS performance?
ABecause memory access is faster than disk access
BBecause it compresses data
CBecause it encrypts data
DBecause it deletes old data
Describe what buffer management is and why it is used in database systems.
Think about how data is accessed faster from memory than disk.
You got /4 concepts.
    Explain the difference between a dirty page and a clean page in the context of buffer management.
    Consider what happens when data in memory changes before saving.
    You got /4 concepts.