Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 4: Buffer Pools . . . . . . . . . . . . . . . . . . . . .

Question 4: Buffer Pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [10 points] Check True or False for each of the following statements. (a) [2 points] 2 T 2 F It is not possible for the DBMS to pre-fetch pages into the buffer pool unless those pages are stored contiguously on disk. (b) [2 points] 2 T 2 F The CLOCK buffer pool replacement policy always selects the least-recently used page since the last sweep. (c) [2 points] 2 T 2 F The DBMS can write dirty pages to disk even if they are not selected for eviction only if they are not pinned. (d) [2 points] 2 T 2 F If the DBMS uses a counter to track the number of threads that have pinned a page, it does not need to also use a separate boolean flag to track whether that page is dirty. (e) [2 points] 2 T 2 F Maintaining separate buffer pools for index pages and table heap pages will prevent index pages from being swapped out of memory due to sequential flooding on table scans. image text in transcribed

Check 'T'rue or 'F'alse for each of the following statements. (a) [2 points] TF It is not possible for the DBMS to pre-fetch pages into the buffer pool unless those pages are stored contiguously on disk. (b) [2 points] TF The CLOCK buffer pool replacement policy always selects the least-recently used page since the last sweep. (c) [2 points] TF The DBMS can write dirty pages to disk even if they are not selected for eviction only if they are not pinned. (d) [2 points] TF If the DBMS uses a counter to track the number of threads that have pinned a page, it does not need to also use a separate boolean flag to track whether that page is dirty. (e) [2 points] TF Maintaining separate buffer pools for index pages and table heap pages will prevent index pages from being swapped out of memory due to sequential flooding on table scans

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases And Information Systems 1 International Baltic Conference Dbandis 2020 Tallinn Estonia June 19 2020 Proceedings

Authors: Tarmo Robal ,Hele-Mai Haav ,Jaan Penjam ,Raimundas Matulevicius

1st Edition

303057671X, 978-3030576714

More Books

Students also viewed these Databases questions