Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Advanced Databases / Data Distribution System Use the data distribution scheme for a distributed University example described below. A University has multiple locations across a

Advanced Databases / Data Distribution System

image text in transcribed

Use the data distribution scheme for a distributed University example described below.

A University has multiple locations across a wide geographic area (large city?). There are servers located at each of the five campuses (North, South, East, West, and Main campuses).

Each of the campuses is connected to the University network. The servers at each site contain the following tables: Student, Faculty, Class, and Enroll. The primary copy of the Enroll table is on the Main campus server; secondary copies of the Enroll table exist on the North, South, East and West campus servers.

1) Describe two strategies for this query: Find the ClassNumber and the names of all students enrolled in all classes with schedule MWF9.

2) Describe two strategies for this query: Find the ClassNumber, facId of the teacher, and the campus of all classes being taken by RosemaryHughes, who is a student at the North campus.

3) Consider the query "Find the ClassNumber, schedule, and lastName of all enrolled students for all classes being taught by Professor Smith of the North campus." The query is entered at the North campus. Describe a strategy that does not use the semijoin.

4) Consider the query "Find the ClassNumber, schedule, and lastName of all enrolled students for all classes being taught by Professor Smith of the North campus." The query is entered at the North campus. Describe a strategy that does use a semijoin.

North Site StudentNorth Faculty North Enroll North (secondary) Class Network East Site Studentpast FacultyEast Enrollast (secondary) Class West Site StudentWest Faculty West Main Site StudentMain FacultyMairn Class Enroll (primary) EnrollwWest (secondary) Class South Site Studentsouth Facultysouth Enrollsouth (secondary) Class

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

Advanced Database Systems For Integration Of Media And User Environments 98

Authors: Yahiko Kambayashi, Akifumi Makinouchi, Shunsuke Uemura, Katsumi Tanaka, Yoshifumi Masunaga

1st Edition

9810234368, 978-9810234362

More Books

Students also viewed these Databases questions