Question: Problem 3 ( 3 0 Points ) : Assume a file that occupies 2 0 , 0 0 0 blocks is sorted using external sort
Problem Points:
Assume a file that occupies blocks is sorted using external sortmerge, and the number of available memory
blocks is
Please include all the mathematical steps to compute your final answer for each below question. No point is given
if only the answer is provided.
How many runs are created in the initial pass?
How many merge passes are required? Write the general formula and evaluate it
How many blocks are read or written in total? Include the write of the final output in the calculation.
Assume the time to read or write a block is msec, how much time does the entire sort take?
How many buffer pages are needed to sort the file in just two passes one runcreating pass and one merge
pass
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
