Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

image text in transcribed

c. A clustered - sparse, unintegrated B+ Tree Index Assume a Data Entry k* size of 100 bytes and assume 75% occupancy.

image text in transcribed

Static Hashing y Buckets Hash Computation

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

Recommended Textbook for

Database Application Development And Design

Authors: Michael V. Mannino

1st Edition

0072463678, 978-0072463675

More Books

Students also viewed these Databases questions