Answered step by step
Verified Expert Solution
Question
1 Approved Answer
b ) Consider a disk with block size 5 1 2 bytes. A block pointer is 6 bytes long, and a record pointer is 7
b Consider a disk with block size bytes. A block pointer is bytes long, and a record pointer is bytes long. A file has EMPL OYE E records of fixedlength. E ach record has thefollowing fields: NAME bytes SSN bytes DEPARTMENTCODE bytes ADDRESS bytes PH ONE bytesBIRTHDATE bytes SEX byte JOBCODE bytes SAL ARY bytes, real number An additiond byte is used as a deletion marker.Assume that file is not ordered by the key field SSN and we need to create a secondary index on SSN
i Find the number of levels needed, if wemake it into a multilevel index.
Data file
No of records
Block size bytes
Record size bytes
Blocking factor
Number of file blocks,
Index file level
No of records
Block size bytes
Record size bytes
Blocking factor
Number of file blocks,
Index filend level
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