Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Ex. 3 (5 pts) Consider the following query plan ename (on the fly sort-merge join) scan and keep in main memory scan planeld-100 tig and
Ex. 3 (5 pts) Consider the following query plan ename (on the fly sort-merge join) scan and keep in main memory scan planeld-100 tig and pipeline) Employees Maintenances clustering index (file scan) on planeld) What is the cost in terms of number of I/Os for this plan? Notes. The result of the left selection, being small, is kept in main memory, where it is sorted. The result of the right selection is pipelined to the join operator, i.e. the generation of the sorted sublists for the first phase of sort is done on the fly Do not count the I/Os for writing the final results (after projection). Consult queryeval.pdf for the table statistics. Ex. 3 (5 pts) Consider the following query plan ename (on the fly sort-merge join) scan and keep in main memory scan planeld-100 tig and pipeline) Employees Maintenances clustering index (file scan) on planeld) What is the cost in terms of number of I/Os for this plan? Notes. The result of the left selection, being small, is kept in main memory, where it is sorted. The result of the right selection is pipelined to the join operator, i.e. the generation of the sorted sublists for the first phase of sort is done on the fly Do not count the I/Os for writing the final results (after projection). Consult queryeval.pdf for the table statistics
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