HW4 Solution - F19 University of Michigan EECS 484
24 views 1 purchase
Course
EECS 484 Database Mgt Syst
Institution
EECS 484 Database Mgt Syst
Question 1 (20 points)
2.1) (4 points) B - 1 buckets
2.2) (4 points) Recursively apply hash-based projection technique to further split the buckets with
different hash functions until no more partition overflow.
2.3) (4 points) (B - 1)^2 buckets
2.4) (4 points) Accelerate the record matching i...
question 1 20 points 21 4 points b 1 buckets 22 4 points recursively apply hash based projection technique to further split the buckets w
Written for
EECS 484 Database Mgt Syst
All documents for this subject (3)
Seller
Follow
ExamsConnoisseur
Reviews received
Content preview
Question 1 (20 points)
2.1) (4 points) B - 1 buckets
2.2) (4 points) Recursively apply hash-based projection technique to further split the buckets with
different hash functions until no more partition overflow.
2.3) (4 points) (B - 1)^2 buckets
2.4) (4 points) Accelerate the record matching in memory or reduce CPU cost of record matching.
2.5) (4 points) No. In the probing phase, using the same hash function will assign each data record into
the same bucket. No speeding up for join in the probing phase is obtained by using the same hash
function.
1.3) (7 points)
BNJ = 185,000 * 1.5 [reads; no writes] = 277,500
GHJ = 50,000 * 1.5 [reads] + 25,000 * X [writes]
From BNJ = GHJ → 277,500 = 75,000 + 25,000 * X
we get X = 8.1
So we should choose BNJ if X > 8.1 , but GHJ if X < 8.1
This study source was downloaded by 100000850872992 from CourseHero.com on 03-30-2023 15:35:53 GMT -05:00
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller ExamsConnoisseur. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $7.99. You're not tied to anything after your purchase.