Question
Consider the natural join RS of relations R(a, b, c) and S(c, d, e) given the following: Relation R contains NR = 20,000 tuples with
Consider the natural join RS of relations R(a, b, c) and S(c, d, e) given the following:
Relation R contains NR = 20,000 tuples with 25 tuples per page.
Relation S has NS = 45,000 tuples with 30 tuples per page.
B = 601 buffer pages are available.
Assume that both relations are stored as simple heap files and that neither relation has any indexes built on it.
Which is the smaller relation i.e. which is the one with the fewer number of pages? Write down the number of pages in the smaller relation (call it M) and the number of pages in the larger relation (call it N).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started