Question: Calculations: Show all relevant work. 1 . Consider a disk and a file with the following characteristics: block size B = 2 5 6 bytes;
Calculations: Show all relevant work.
Consider a disk and a file with the following characteristics: block size B bytes; interblock gap size G bytes; number of blocks per track ; number of tracks per surface A disk pack consists of doublesided disks and rotates at rpms The average seek time is msecs and block transfer time btt msecs. The file contains r STUDENT records of fixed length. Each record has the following fields: NAME bytes SSN bytes ADDRESS bytes PHONE bytes SEX byte DEPT bytes and DEGREEPROG bytes Block pointer bytes and Record pointer bytes
a What is the blocking factor Bfr
b Calculate the average number of block accesses needed to search for an arbitrary record in this file using a sequential storage.
c Calculate the average number of block accesses needed to search for an arbitrary record in the file, using a primary indexing. Index field is NAME.
d Calculate the number of blocks needed to store the file using BTree indexing strategy with an average index capacity How many blocks are needed for both indexes and data using a secondary index on ADDRESS? Calculate the average number of blocks accessed to access an arbitrary record.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
