Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise 2.7 Consider a postings intersection between this postings list, with skip pointers: and the following intermediate result postings list (which hence has no skip

Exercise 2.7\ Consider a postings intersection between this postings list, with skip pointers:\ and the following intermediate result postings list (which hence has no skip pointers):\

3,5,89,95,97,99,100,101

\ Trace through the postings intersection algorithm in Figure 210 (page 37).\ a. How often is a skip pointer followed (i.e.,

p_(1)

is advanced to

{:skip(p_(1)))

?\ b. How many postings comparisons will be made by this algorithm while intersect-\ ing the two lists?\ c. How many postings comparisons would be made if the postings lists are inter-\ sected without the use of skip pointers?

image text in transcribed
Exercise 2.7 [] Consider a postings intersection between this postings list, with skip pointers: and the following intermediate result postings list (which hence has no skip pointers): Trace through the postings intersection algorithm in Figure 210 (page 37). a. How often is a skip pointer followed (i.e., p1 is advanced to skip(p1)) ? b. How many postings comparisons will be made by this algorithm while intersecting the two lists? c. How many postings comparisons would be made if the postings lists are intersected without the use of skip pointers

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_2

Step: 3

blur-text-image_step3

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

Recognize the power of service guarantees.

Answered: 1 week ago

Question

Demonstrate how to use the Gaps Model for diagnosing and

Answered: 1 week ago