Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

We have a two - word query. For one term the postings list consists of the following 1 6 entries: 4 , 6 , 1

We have a two-word query. For one term the postings
list consists of the following 16 entries:
4,6,10,12,14,16,18,20,22,32,47,81,120,122,157,180
and for the other it is the one entry postings list:
[47].
Work out how many comparisons would be done to
intersect the two postings lists with the following two
strategies. Briefly justify your answers (Let (x,y) denote a
posting comparison. x refers to a value in the upper list and
y refers to a value in the lower list)
write down those comparisons):
a. Using standard postings lists
b. Using postings lists stored with skip pointers, with a skip
length of P2(for a postings list of length P).
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

Database Basics Computer EngineeringInformation Warehouse Basics From Science

Authors: Odiljon Jakbarov ,Anvarkhan Majidov

1st Edition

620675183X, 978-6206751830

Students also viewed these Databases questions