GATE IT 2004 · SQL Queries

MCQ · 1 mark · Problem DBMS-SQL-0138

Consider a table T in a relational database with a key field K. A B-tree of order p is used as an access structure on K, where p denotes the maximum number of tree pointers in a B-tree index node. Assume that K is 10 bytes long; disk block size is 512 bytes; each data pointer \(P_D\) is 8 bytes long and each block pointer \(P_B\) is 5 bytes long. In order for each B-tree node to fit in a single disk block, the maximum value of p is
  1. A
    20
  2. B
    22
  3. C
    23
  4. D
    32

Solve it on GATE DA practice →More Relational Model & SQL problems

Show the worked solutionOfficial GATE Answer Key: Option C.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/3723/gate2004-it-79

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