CS FundamentalsModerateGATE CS · DBMS
A B+ tree index uses 1024-byte blocks, 10-byte search keys, 6-byte block (tree) pointers and 8-byte record pointers. What is the maximum number of CHILD pointers an internal node can hold?
- A. 65
- B. 56
- C. 63
- D. 64
Correct answer: D. 64
An internal node with p children holds p block pointers and p − 1 keys: 6·p + 10·(p − 1) ≤ 1024 gives p = ⌊(1024 + 10)/(10 + 6)⌋ = 64.
More DBMS and SQL questions
- R(A, B, C, D, E) has functional dependencies E → B, B → A, D → B, A → D. Which decomposition of R is lossless-join?
- R(A, B, C, D, E) with functional dependencies B → C, D → CE, A → B, CE → A is decomposed into R1(A, B), R2(A, C, E), R3(C, D, E). Which…
- Which inference rule is NOT sound for functional dependencies?
- Table Staff(id, name, dept, pay, boss) rows: (1, 'Anu', 'Ops', 40, NULL), (2, 'Bala', 'Ops', 55, 1), (3, 'Chitra', 'Tech', 70, 1), (4…
- Consider the schedule W1(B), W2(A), R2(A), W1(A), R3(A), W3(B). Which statement is correct?
- Classify the schedule W2(A), W1(B), W1(A), R1(B), C1, W2(B), R2(B), C2 (Ci = commit of Ti) by the strongest property it satisfies.