GATE DA 2026 · Indexing (B-trees, B+ trees, Hash Indexing)

NAT · 1 mark · Problem DBMS-DWH-0010

In a relational database, a \({B}+\) Tree Index is to be constructed for a relation on a key field. In a \(\text{B+}\) Tree, a Node Pointer points to a sub-tree and a Data Record Pointer points to a block of database records. Let, Node size \(=4096\) bytes, Node Pointer size \(=10\) bytes, Search Key Field size \(=11\) bytes and Data Record Pointer size \(= 12\) bytes. The maximum number of Node Pointers that can be present in a non-leaf node of the \(\text{B+}\) Tree is . (Answer in integer)

Numerical answer (NAT).

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

Show the worked solutionIn a \(B^+\) tree non-leaf node with \(n\) node pointers, there are \(n-1\) key values stored alongside them. The node must fit within the node size:\(n\times(\text{pointer size})+(n-1)\times(\text{key size})\le\text{node size}\)\(10n+11(n-1)\le4096\)\(10n+11n-11\le4096\)\(21n\le4107\)\(n\le\dfrac{4107}{21}=195.57\ldots\)Taking the floor (must be a whole number of pointers): \(n=195\).Answer: 195Click Here for Detail SolutionGateOverflow discussion: https://gateoverflow.in/523193/gate-da-2026-question-22

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