Question: Consider a relation R(a, b, c, d) containing 1 million records, where each page of the relation holds 10 records. R is organized as a
• Scanning through the whole heap file for R.
• Using a B+ tree index on attribute R.a.
• Using a hash index on attribute R.a.
The queries are:
1. Find all R tuples.
2. Find all R tuples such that a < 50.
3. Find all R tuples such that a = 50.
4. Find all R tuples such that a > 50 and a < 100.
Step by Step Solution
3.49 Rating (152 Votes )
There are 3 Steps involved in it
Let h be the height of the B tree usually 2 or 3 and M be the number of data en... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
960-C-S-D (2467).docx
120 KBs Word File
