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 AR.sid = S.sid S. Which one is the IO cost when using Block nested loop join? 1,000 505 None of the above O 5,105 O 10,500

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
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
Transcribed Image 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
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Fundamentals of Memory
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education