Chapter 13: Problem 38
Suppose that a file initially contains \(r=120,000\) records of \(R=200\) bytes each in an unsorted (heap) file. The block size \(B=2400\) bytes, the average seek time \(s=\) \(16 \mathrm{ms}\), the average rotational latency \(r d=8.3 \mathrm{ms}\) and the block transfer time \(b t t=\) \(0.8 \mathrm{ms} .\) Assume that 1 record is deleted for every 2 records added until the total number of active records is 240,000 a. How many block transfers are needed to reorganize the file? b. How long does it take to find a record right before reorganization? c. How long does it take to find a record right after reorganization?
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.