Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can some one jusify this formula on image. I mean can you tell us how they get this formula? External Merge Sort (Cont.) Cost analysis:

image text in transcribed

Can some one jusify this formula on image. I mean can you tell us how they get this formula?

External Merge Sort (Cont.) Cost analysis: 1 block per run leads to too many seeks during merge Instead use b, buffer blocks per run > read/write b, blocks at a time Can mergeLM/b1 runs in one pass Total number of merge passes required: 109.Mb0ufbM) | Block transfers for initial run creation as well as in each pass is 2b, for final pass, we don' t count write cost we ignore final write cost for all operations since the output of an operation may be sent to the parent operation without being written to disk Thus total number of block transfers for external sorting: - Seeks: next slide

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 Design Application And Administration

Authors: Michael Mannino, Michael V. Mannino

2nd Edition

0072880678, 9780072880670

More Books

Students also viewed these Databases questions