Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A file has 40,000 Student records of fixed-length. Consider a disk with block size B=512 bytes. A block pointer is 8 bytes long and

 

A file has 40,000 Student records of fixed-length. Consider a disk with block size B=512 bytes. A block pointer is 8 bytes long and a record pointer is 7 bytes long. Each record has the following fields: Attributes StudentID Size (in bytes) 9 Name Sex Course Major Phone Address 30 1 10 9 30 8 3 DoB Status a. Calculate the record size R in bytes. b. Calculate the blocking factor bft and the number of files blocks b assuming an unspanned organization. c. Suppose the file is ordered by the key field StudentID and we want to construct a primary index on it. Calculate the index blocking factor bft_i.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals of Database Systems

Authors: Ramez Elmasri, Shamkant Navathe

6th edition

136086209, 978-0136086208

More Books

Students also viewed these Programming questions

Question

What is master production scheduling and how is it done?

Answered: 1 week ago