edited by
3,855 views
2 2 votes
In a database file structure, the search key field is 9 bytes long, the block size is 1024 bytes, a record pointer is 7 bytes and a block pointer is 6 bytes. The largest possible order of a leaf node in a B+ tree implementing this file structure is ________.

I am getting 63 as the answer, but in the solution, it's saying 64. Can anyone check?

2 Answers

0 0 votes

 

Disk Block size = 1024 bytes
  
Data Record Pointer size, r = 7 bytes
Value size, v = 9 bytes
Disk Block ptr, P = 6 bytes

o(r + v) + p <= 1024
16o <= 1018
o =< 63

So Ans will be 63.

0 0 votes
it is talking about leaf node just coz they didnt say anything and the value for record pointer is given .

so if u are suppose to consider it for and try to solve it then u will definately get the answer as 64 .
Position:
Show:

Related questions

2 2 votes
1 answers 1 answer
2.2k
2.2k views
sumit chakraborty asked Jan 26, 2018
2,195 views
In a database file structure, the search key field is 9 bytes long, the block size is 1024 bytes, a record pointer is 7 bytes and a block pointer is 6 bytes. The largest ...
2 2 votes
2 2 answers
2.4k
2.4k views
nish kim asked Jan 19, 2018
2,350 views
Database file consist 1250 records. Block can hold either 3 records or (10 keys, 11 pointers). The maximum number of levels of index required for sparse B+ tree index for...
0 0 votes
1 1 answer
974
974 views
Gurdeep Saini asked Jan 16, 2019
974 views
Q50. how many statements is trueunrepeatable read also know as read write conflictStrict 2PL may have read write conflict 1st one given as true now my doubt is we know th...
2 2 votes
1 1 answer
2.0k
2.0k views
ashish pal asked Jan 12, 2018
1,986 views
Consider the following schedule:The number of serial schedules which are view equal to schedule (S) ___________.Answer is 10 as per the given solution.Please explain how ...