Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

this question is a bit chalenging. please help and answer all 3 parts correctly. last time asked it was incorrect so please do not refer

this question is a bit chalenging. please help and answer all 3 parts correctly. last time asked it was incorrect so please do not refer to that or thumbs down. please give good and correct answer for thumbs up :))
image text in transcribed
Consider a system where we monitor the performance of an airport luggage system. The main table is Luggage(bagid, tht, wgt, desk,date, eid) Each row of this relation needs 64 bytes. This includes the 4-byte primary key bagld. There are 1,200,000 rows in the table. The occupancy load factor is 70%. This means that each page is 30% free. The database uses 1192 byte pages to storing both data and indexes. We earmark the first 200 bytes of each page for header data, We assume that records and index entries may not cross over pages. a) How many bytes are needed to store just the relation above? Do not include indexes, Make sure you state any assumptions you make. Your analysis determines that most of your queries imvolve searches over "desk", such as the following: SELECT COUNT(*) FROM Luggage WHERE desk = 'United' AND wgt > 25; b) What do you believe the database should use as access path to process such queries? Give an estimate of the number of I/O required to process such query. c) Are there other alternatives? What is the effect this would have on the performance

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

Objects And Databases International Symposium Sophia Antipolis France June 13 2000 Revised Papers Lncs 1944

Authors: Klaus R. Dittrich ,Giovanna Guerrini ,Isabella Merlo ,Marta Oliva ,M. Elena Rodriguez

2001st Edition

ISBN: 3540416641, 978-3540416647

More Books

Students also viewed these Databases questions

Question

Why are actual overhead rates seldom used in practice?

Answered: 1 week ago