A database query execution engine has an arsenal of algorithms for processing each individual relational algebra operation. The algorithm selected to process an operation depends on the information available at the time of execution, on the particular instance of the database, and also on the amount of memory available. The database does cost estimations to determine which of the algorithms to use to process the operation.
In this assignment, you will evaluate the cost involved with processing a query using specified algorithms.
For the problems below, assume you have a 27-page memory buffer and that you are given the following information about two tables, r and s.
Table r occupies 800 pages, 20 rows per page, one of its attributes is A
Table s occupies 200 pages, 10 rows per page, one of its attributes is B
Be sure to show all your work. Explain your reasoning carefully. An answer that is just a number gets no credit.
Submit your solutions showing all of your work.