Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a database with two tables, namely, Customer and Purchase. There are 4000 records in Customer table and 75000 records in Purchase table. One disk

Consider a database with two tables, namely, Customer and Purchase. There are 4000 records in Customer table and 75000 records in Purchase table. One disk page can store 10 Customer records or 15 Purchase records. Assume that 202 memory pages are used as buffer. What are the IO cost (excluding IO cost to write results to disk) of the following join operations between Customer table and Purchase table (measured in the number of disk page accesses)? Which strategy appears to have the lowest cost?

Qa) Nested-Loop Join (Purchase is in the outer loop).

Qb) Nested-Loop Join (Customer is in the outer loop).

Qc) Partition-hash join.

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

Contemporary Issues In Database Design And Information Systems Development

Authors: Keng Siau

1st Edition

1599042894, 978-1599042893

Students also viewed these Databases questions