Database System Concepts
Database System Concepts
7th Edition
ISBN: 9789332901384
Author: Henry F. Korth & S. Sudarshan Abraham Silberschatz
Publisher: MCGRAW-HILL HIGHER EDUCATION
Expert Solution & Answer
Book Icon
Chapter 15, Problem 20E

Explanation of Solution

a.

Nested-loop join:

Use R1 outer relation we need,

  ...

Explanation of Solution

b.

Block nested-loop join:

  • If R1 is outer relation, we need ceiling (800 / (M−1)) ∗ 1500 + 800 disk accesses...

Explanation of Solution

c.

Merge join:

Let R1 and R2 be unsorted relation, and M be the pages of memory.

If M>800, then it is easy to do join in 2300(800+1500) disks.

Therefore, we will only take case where M<=800 pages...

Explanation of Solution

d.

Hash join:

Let us assume that there is no overflow in the join then R1 is smaller than R2, there for e will use R2 as probe relation and R1 as build relation...

Blurred answer
Students have asked these similar questions
checkpoint exercice for my students for Amortized Analysis
using r language
using r language
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education