Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Suppose that a relation bicycle(frameNo, name, manufacturerID, gears) contains 750 tuples. Each tuple is comprised of a header (24 bytes) and four attributes: frameNo (15

Suppose that a relation bicycle(frameNo, name, manufacturerID, gears) contains 750 tuples. Each tuple is comprised of a header (24 bytes) and four attributes: frameNo (15 bytes), name (10 bytes), manufacturerID (20 bytes) and gears (2 bytes). The size of each disc block is 1024 bytes and the size of the header of each disc block is 24 bytes.

(i) How many blocks would be required to store the whole of this relation?

(ii) How many blocks would be required to store a projection that does not include the attribute manufacturerID?

(iii) Explain why such a projection could be used to optimize a query whose results do not include data for the attribute manufacturerID.

Step by Step Solution

3.35 Rating (155 Votes )

There are 3 Steps involved in it

Step: 1

i To calculate the number of blocks required to store the whole relation we need to first calculate ... 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

Fundamentals of Database Systems

Authors: Ramez Elmasri, Shamkant Navathe

6th edition

136086209, 978-0136086208

More Books

Students also viewed these Databases questions