Suppose that a relation bicycle(frameNo, name, manufacturerID, gears) contains 750 tuples. Each tuple is comprised of a
Fantastic news! We've Found the answer you've been seeking!
Question:
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.
Related Book For
Fundamentals of Database Systems
ISBN: 978-0136086208
6th edition
Authors: Ramez Elmasri, Shamkant Navathe
Posted Date: