Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please explain throughly. Explain where each number comes from to understand.Given a relation EMPLOYEE with 1 5 0 , 0 0 0 tuples, stored in

Please explain throughly. Explain where each number comes from to understand.Given a relation EMPLOYEE with 150,000 tuples, stored in 3,000 pages:
EMPLOYEE(EID, Name, DeptID, Email, Salary)
Each of the 5 attributes requires the same storage space. An unclustered tree index, with fanout
F(i.e., each tree node has F child nodes), is created for the search key Dept/D.
Estimate the number of disk pages required to hold the data entries assuming Alternative 2 is
used. You can ignore the pointer (i.e., rid) associated with each data entry in your estimation.
If the pages for the data entries have an occupancy of 75%(i.e.,25% of each page is empty), how
many pages are required to hold all the data entries? How many data entries are in each page?
What is the 1O cost for finding the
60 matching data entrigs for department '121'?
What is the total I/O cost for retrieving the data records of the 60 employees in Department 121?
How many data records are in each page of the file for the EMPLOYEE table ?
What is the total I/O cost for retrieving the data records of the same 60 employees if a clustered
index on DeptID is used?
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

25.0 m C B A 52.0 m 65.0 m

Answered: 1 week ago