Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

An organisation uses a distributed database over two sites, A and B: Site A holds a relation Passenger ( passenger id , first name, last

An organisation uses a distributed database over two sites, A and B:
Site A holds a relation Passenger(passenger id, first name, last name). Values for each
of the attributes, i.e. passenger id, first name and last name require 30 byte each.
Site B holds a relation Flights(flight id, time, seat, passenger id).
Each value of attributes flight id and passenger id require 30 byte, each value of seat
require 15 byte, and each value for attribute time requires 25 byte.
Assume the following:
|\pi passenger id(Flights)|=100000
|\pi passenger id(\sigma time=10/12/2018 at 10:00(Flights))|=1000
|Passenger n \sigma time=10/12/2018 at 10:00(Flights)|=1000
|\pi flight id(\sigma time=10/12/2018 at 10:00(Flights) n Passenger)|=10
|Passenger|=100000
To execute the query \pi first name,last name,flight id,time( Passenger ./\sigma time=10/12/2018 at 10:00( Flights)) at
site B, how many bytes have to be transferred between A and B at a minimum?

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

Lab Manual For Database Development

Authors: Rachelle Reese

1st Custom Edition

1256741736, 978-1256741732

More Books

Students also viewed these Databases questions

Question

=+b) Find a 95% confidence interval for the slope and interpret it.

Answered: 1 week ago

Question

It can be physically harmful.

Answered: 1 week ago