Question
A particular table in a relational database contains 100,000 rows, each of which requires 200 bytes of memory. A SELECT statement returns all rows in
A particular table in a relational database contains 100,000 rows, each of which requires 200 bytes of memory. A SELECT statement returns all rows in the table that satisfy an equality search on an attribute. Estimate the time in milliseconds to complete the query when each of the following indices on that attribute is used. Assume a Page size of 4K bytes or 4,000 bytes and a Page access time of D = 20ms.
a. No Index (Heap File of Data Records)
b. A Static Hash Index (with no overflow buckets/Pages). Assume the cost of applying the hash function is H, negligible.
c. A clustered - sparse, unintegrated B+ Tree Index Assume a Data Entry k* size of 100 bytes and assume 75% occupancy
Static Hashing Buckets Hash ComputationStep 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