A B tree indexes a database file with search key 10 bytes, block 1024 bytes, record pointer 9 bytes and block pointer 8 bytes. If K is the order of the internal node and L the order of the leaf node, (K, L) =
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: A. (57, 53)
Explanation
Internal (B+ style): 8K + 10(K − 1) ≤ 1024 gives K = 57. Leaf: 19L + 8 ≤ 1024 gives L = 53.
Note: The values match a B+ tree. For a plain B tree (record pointers in internal nodes) the internal order would be 38.
More Database Management Systems questions
- Given R(x, y, z, w) with F = {x → y, z → w}, where all attributes are atomic: A. R is in First Normal Form. B. R is in Second Normal Form.…
- A company is consuming parts in the manufacturing of other products. Each of the part is either manufactured within the company or purchase…
- A transaction may be in one of the following states during its execution life cycle in concurrent execution environment. A. FAILED B. TERMI…
- Which of the following is used to create a database schema?
- The data node and name node in HADOOP are
- Consider a relational schema S = (U, V , W, X, Y , Z) on which the following functional dependencies hold: {U → V , V W → X, Y → W, X → U}…