Question
A file has r = 10 6 records. Every record will take R = 100 bytes; 10 bytes are for the key of the record.The
A file has r = 106 records. Every record will take R = 100 bytes; 10 bytes are for the key of the record.The key values will range from 1- 1,000,000, inclusive. The block size B will be 1000 bytes for all the files. The address like block pointer, tree node pointer, or data record pointer will take 10 bytes.
1. What is the blocking factor BFRi for the single level index (How do you solve for the fanout value) ?
2. How many data blocks accesses are needed to fetch a record by using binary search?
3. What is the number of block accesses needed to search for and retrieve a record from the file -- given its key value by using B+-tree?
4. What is the number of levels needed if internal nodes also 69% full (round up)?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started