expand icon
book Database Systems 6th Edition by Ramez Elmasri, Shamkant B. Navathe cover

Database Systems 6th Edition by Ramez Elmasri, Shamkant B. Navathe

Edition 6ISBN: 0136086209
book Database Systems 6th Edition by Ramez Elmasri, Shamkant B. Navathe cover

Database Systems 6th Edition by Ramez Elmasri, Shamkant B. Navathe

Edition 6ISBN: 0136086209
Exercise 5
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 ms, the average rotational latency rd=8.3 ms and the block transfer time btt=0.8 ms. Assume thaT1 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?
Explanation
Verified
like image
like image

Let X = # of records deleted
Hence 2X= #...

close menu
Database Systems 6th Edition by Ramez Elmasri, Shamkant B. Navathe
cross icon