Question: ( 3 5 points ) Consider a disk with a block size of 2 0 0 0 bytes, block transfer time of 0 . 5

(35 points) Consider a disk with a block size of 2000 bytes, block transfer time of 0.5 milliseconds,
average rotational delay of 7 milliseconds, and average seek time of 10 milliseconds. Suppose that a
file containing 150000 records of 300 bytes each is to be stored on such disk and that no record is
allowed to span two blocks.
a) Compute number of passes, number of disk accesses, and time (in milliseconds) required to sort
this file using general external merge sort (without any improvement) algorithm assuming
that 11 buffer pages are available in the memory.
b) Assume that an unclustered B+ tree index using Alternative 2 is constructed on the file. In this
index, you can assume that the key field and address pair occupy 100 bytes for each record, and
each leaf node is 60% full. Only the leaf nodes and the file are stored on disk. Compute time
required for sorting the file by using the unclustered B+ tree index.
 (35 points) Consider a disk with a block size of 2000

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!