Question
Assume one file has records. Each record takes R = 100 bytes, of which 10 bytes are for the key of the record. Suppose the
Assume one file has records. Each record takes R = 100 bytes, of which 10 bytes are for the key of the record. Suppose the key values range from 1 through 1,000,000, inclusive. Assume the block size B is 1000 bytes for all files, and that an address (block pointer, tree node pointer, or data record pointer) takes 10 bytes
16. What is the blocking factor bfr for the file?
17. How many data blocks b are needed to hold records?
18. How many data blocks accesses on the average are needed to fetch a record by using linear search?
19. How many data blocks accesses are needed to fetch a record by using binary search?
20. What is the blocking factor bfr for the single level index ?
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