GATE / CS ARCHIVE

GATE CSE 2005 / QUESTION 28

Why B-plus trees suit database indexes

Database Management Systems · Indexing, Storage & Query Processing · Full GATE CSE 2005 paper

GATE 2005, Q28 1 mark · MCQ
Report issue

Indexing, Storage & Query Processing

Question 28, GATE 2005: Key reason to prefer B+ trees over binary search trees for database indexes? A many records; B relations sorted on primary key; C always lower memory; D disk transfers occur in blocks.
Tap to enlarge
Your answer
Answer & solution

Answer: D (no official key was published)

Disk I/O transfers whole blocks. A high-fanout B+ tree packs many keys/pointers into each block, reducing tree height and therefore block reads relative to an ordinary pointer-based binary search tree. Thus D is the key storage-system reason.

The expensive unit is usually a disk block read. A B+ node can contain many separators and pointers in one block, providing much higher branching factor than a binary node. Higher branching factor reduces the number of blocks on a root-to-leaf search. Thus D identifies the storage-aware reason, not a universal claim that B+ trees use fewer bytes or require the underlying relation to be sorted.

Original paper, page 3