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

Microsoft Visual Basic 2005 For Windows Mobile Web Office And Database Applications Comprehensive

Authors: Gary B. Shelly, Thomas J. Cashman, Corinne Hoisington

1st Edition

0619254823, 978-0619254827

More Books

Students also viewed these Databases questions

Question

Define promotion.

Answered: 1 week ago

Question

Write a note on transfer policy.

Answered: 1 week ago

Question

Discuss about training and development in India?

Answered: 1 week ago

Question

Explain the various techniques of training and development.

Answered: 1 week ago