Question: A table has 500,000,000 rows. Each row is 400 bytes. Each block is 8 kilobytes. Each index entry is 100 bytes. Magnetic disk transfer rate
A table has 500,000,000 rows. Each row is 400 bytes. Each block is 8 kilobytes. Each index entry is 100 bytes. Magnetic disk transfer rate is 0.5 gigabytes per second. Assuming no free space, a table scan requires approximately how many seconds? Ex: 1234 seconds Assuming the index is sorted, a binary search for one row reads approximately how many blocks? log2 Ex: 123456 blocks
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
