GATE / CS ARCHIVE

GATE CSE 2000 / QUESTION 1.22

Why database indexes use B-plus trees

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

GATE 2000, Q1.22 1 mark · MCQ
Report issue

Indexing, Storage & Query Processing

Question 1.22, GATE 2000: Why prefer B+-trees to binary trees for disk-resident databases: larger disk capacity, much slower disk access than memory, lower transfer rate alone, or greater disk reliability?
Question 1.22, GATE 2000: Why prefer B+-trees to binary trees for disk-resident databases: larger disk capacity, much slower disk access than memory, lower transfer rate alone, or greater disk reliability?
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

Step 1: A B+-tree node can fill a disk page and contain many keys and child pointers. Its high fanout sharply reduces the number of levels compared with a binary tree holding a similar number of keys.

Step 2: A search typically needs one page access per level, so reducing height reduces expensive random disk accesses. The latency difference between disk and memory is the decisive reason, B.

Capacity and reliability do not by themselves explain this branching-factor advantage; transfer rate is distinct from the random-access cost being minimized.

Original paper, page 3