subject

For the purpose of tuning your database that has begun to slow down for some queries, you are looking for the best plan to execute the following queries on the relation described below: The relation you are dealing with is Employee with attributes ename, title, dname, and address; all are string fields of the same length. The ename attribute is a candidate key. The relation contains 10,000 pages. There are 10 buffer pages. (When answering the questions, make sure to describe the plan you have in mind.)
The first query is: SELECT E. title, E. ename FROM Employee E WHERE E. title=‘Administrator’ Assume that only 10% of Employee tuples meet the selection condition.
a. Suppose that a clustered B+ tree index on ename is (the only index) available. What is the cost of the best plan? (5 marks)
Candidate key is ename Relation contains 10,000 pages, 10 buffer pages Therefore, the cost G is the best plan = 10,000
b. Suppose that a clustered B+ tree index on title is (the only index) available. What is the cost of the best plan? (5 marks)
c. Suppose that a clustered B+ tree index on dname is (the only index) available. What is the cost of the best plan? (5 marks)
d. Suppose that a clustered B+ tree index on is (the only index) available. What is the cost of the best plan? (5 marks)

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:30
Which tab should you open to find the option for adding a header?
Answers: 1
question
Computers and Technology, 23.06.2019 02:30
Which component acts as a platform on which application software runs
Answers: 2
question
Computers and Technology, 23.06.2019 07:30
Which option allows you to view slides on the full computer screen?
Answers: 1
question
Computers and Technology, 23.06.2019 09:50
Allison and her group have completed the data entry for their spreadsheet project. they are in the process of formatting the data to make it easier to read and understand. the title is located in cell a5. the group has decided to merge cells a3: a7 to attempt to center the title over the data. after the merge, allison points out that it is not centered and looks bad. where would the title appear if allison unmerged the cells in an attempt to fix the title problem?
Answers: 2
You know the right answer?
For the purpose of tuning your database that has begun to slow down for some queries, you are lookin...
Questions
question
History, 29.09.2020 23:01
question
Mathematics, 29.09.2020 23:01
question
Mathematics, 29.09.2020 23:01
question
World Languages, 29.09.2020 23:01
question
History, 29.09.2020 23:01
question
Mathematics, 29.09.2020 23:01
Questions on the website: 13722367