GATE CS 2020 · Indexing (B-trees, B+ trees, Hash Indexing)

NAT · 2 marks · Problem DBMS-INDX-0014

Consider a database implemented using B+ tree for file indexing and installed on a disk drive with block size of 4 KB. The size of search key is 12 bytes and the size of tree/disk pointer is 8 bytes. Assume that the database has one million records. Also assume that no node of the B+ tree and no records are present initially in main memory. Consider that each record fits into one disk block. The minimum number of disk accesses required to retrieve any record in the database is

Numerical answer (NAT).

Solve it on GATE DA practice →More Storage & Indexing problems

Show the worked solutionOfficial GATE Answer Key: [4.0, 4.0].See full step-by-step discussion on GateOverflow: https://gateoverflow.in/333177/gate2020-cs-54

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com