Question 13 Suppose that the Sailor table has 50 tuples (or records) stored in 5 disk blocks and the Reserve table has 5,000 tuples (or records) stored in 500 disk blocks. Let S be Student and let R...


Question 13<br>Suppose that the Sailor table has 50 tuples (or records) stored in 5 disk blocks and the Reserve table<br>has 5,000 tuples (or records) stored in 500 disk blocks.<br>Let S be Student and let R be Reserve.<br>The following information is provided for access paths:<br>• 7 buffer caches (pages) are available.<br>• The Student table has the secondary index on sid with index level =1<br>• The Reserve table has the secondary index on sid with index level =2.<br>• Each Student tuple matches with exactly 100 Reserve tuples<br>Consider the join R \R.sid = S.sid S.<br>Which one is the IO cost when using Block nested loop join?<br>1,000<br>505<br>None of the above<br>5,105<br>10,500<br>

Extracted text: Question 13 Suppose that the Sailor table has 50 tuples (or records) stored in 5 disk blocks and the Reserve table has 5,000 tuples (or records) stored in 500 disk blocks. Let S be Student and let R be Reserve. The following information is provided for access paths: • 7 buffer caches (pages) are available. • The Student table has the secondary index on sid with index level =1 • The Reserve table has the secondary index on sid with index level =2. • Each Student tuple matches with exactly 100 Reserve tuples Consider the join R \R.sid = S.sid S. Which one is the IO cost when using Block nested loop join? 1,000 505 None of the above 5,105 10,500

Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here