Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i) customer(customer_Number, name, phone, address) ii) fransaction(transaction ID date, amount, customer_Number) The customer_Number is the key for the customer relation, and transaction_ID is the key

image text in transcribed

image text in transcribed

i) customer(customer_Number, name, phone, address) ii) fransaction(transaction ID date, amount, customer_Number) The customer_Number" is the key for the customer relation, and transaction_ID" is the key for the transaction relation. The transaction.customer_Number is the foreign key referencing the customer relation. The customer relation has 5,000 tuples stored in 500 blocks, and the transaction relation contains 80,000 tuples stored in 7,000 blocks. Assume that the relation transaction has been sequentially sorted by the key attribute. Answer the following questions. Assume that the hash join algorithm is used to evaluate "customer transaction", the number of partitions, nin=30, and the size of the buffer for reading and writing, bo=3. How many block transfers are needed? How many seeks are needed

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

Conceptual Database Design An Entity Relationship Approach

Authors: Carol Batini, Stefano Ceri, Shamkant B. Navathe

1st Edition

0805302441, 978-0805302448

More Books

Students also viewed these Databases questions

Question

=+j Improve the effectiveness of global and virtual teams.

Answered: 1 week ago