Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a disk with a block size of 2 0 0 0 bytes, block transfer time of 0 . 5 milliseconds, average rotational delay of

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 assumingthat 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.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Transaction Processing

Authors: Philip M. Lewis, Arthur Bernstein, Michael Kifer

1st Edition

0201708728, 978-0201708721

Students also viewed these Databases questions

Question

What is the formula to calculate the mth Fibonacci number?

Answered: 1 week ago