All mock tests are FREE till 31 December — register to save your progress
Unit 4 · Database Management Systems Paper 2 CS · November 2021

The order of a leaf node in a B+ tree is the maximum number of (value, data record pointer) pairs it can hold. Given a block size of 1K bytes, a 7-byte data record pointer, a 9-byte value field and a 6-byte block pointer, what is the order of the leaf node?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: A. 63

Explanation

A leaf holds p pairs plus one next-leaf block pointer: 16p + 6 ≤ 1024, so p = 63.

More Database Management Systems questions