Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following multilevel index created ( on a primary key ) for the Twitter relation containing 1 billion ( 1 0 9 ) records:

Consider the following multilevel index created (on a primary key) for the Twitter relation
containing 1 billion (109) records:
Note that, inner index is a dense index while outer index is a sparse index. Inner index contains
an entry for each record of the relation. Outer index contains an entry for each block of the
inner index. Assume that 100 index entries fit on a 4 kilobyte block. The total memory size is
4GB.
A) How much space is required (in GBs) by the inner index?
B) What is the number of blocks required to store the outer index?
C) Is it possible to store the outer or inner index in memory? An index can be stored in memory
if the total memory size is larger than the index size.
D) Consider a case where we store the outer index in memory. What is the total number of
block transfers required to fetch a desired record block into the memory?
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

Recommended Textbook for

SQL Server Query Performance Tuning

Authors: Sajal Dam, Grant Fritchey

4th Edition

1430267429, 9781430267423

More Books

Students also viewed these Databases questions

Question

5. What information would the team members need?

Answered: 1 week ago

Question

Complexity of linear search is O ( n ) . Your answer: True False

Answered: 1 week ago