Suppose you need to sort relation r using sort-merge and mergejoin the result with an already sorted
Question:
Suppose you need to sort relation r using sort-merge and merge—join the result with an already sorted relation s.
a. Describe how the sort operator is broken into sub operators to model the pipelining in this case.
b. The same idea is applicable even if both inputs to the merge join are the outputs of sort—merge-operations. However, the available memory has to be shared between the two merge operations (the merge—join algorithm itself needs very little memory). What is the effect of having to share a memory on the cost of each sort-merge operation?
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Database System Concepts
ISBN: 9780078022159
7th Edition
Authors: Abraham Silberschatz, Henry F. Korth, S. Sudarshan
Question Posted: