Find the department with the fewest majors

Assignment Help Basic Computer Science
Reference no: EM131210523

Consider the following BCNF relational schema for a portion of a university database (type information is not relevant to this question and is omitted):

Suppose you know that the following queries are the five most common queries in the workload for this university and that all five are roughly equivalent in frequency and importance:

? List the names, ages, and offices of professors of a user-specified sex (male or female) who have a user-specified research specialty (e.g., recursive query processing). Assume that the university has a diverse set of faculty members, making it very uncommon for more than a few professors to have the same research specialty.

? List all the department information for departments with professors in a user-specified age range.

? List the department id, department name, and chairperson name for departments with a user-specified number of majors

? List the lowest budget for a department in the university.

? List all the information about professors who are department chairpersons

These queries occur much more frequently than updates, so you should build whatever indexes you need to speed up these queries. However, you should not build any unnecessary indexes, as updates will occur (and would be slowed down by unnecessary indexes). Given this information, design a physical schema for the university database that will give good performance for the expected workload. In particular, decide which attributes should be indexed and whether each index should be a clustered index or an unclustered index. Assume that both B+ trees and hashed indexes are supported by the DBMS and that both single- and multiple-attribute index search keys are permitted.

1. Specify your physical design by identifying the attributes that you recommend indexing on, indicating whether each index should be clustered or unclustered and whether it should be a B+ tree or a hashed index.

2. Redesign the physical schema assuming that the set of important queries is changed to be the following:

? List the number of different specialties covered by professors in each department, by department.

? Find the department with the fewest majors.

? Find the youngest professor who is a department chairperson.

Reference no: EM131210523

Questions Cloud

What are the candidate keys for relation g : Is there ever a good reason to accept something less than 3NF when designing a schema for a relational database? Use this example, if necessary adding further constraints, to illustrate your answer.
Empress the use of information technology : Most well established supermarkets globally have empress the use of information technology to manage their transaction of the business. Discuss reasons why they have taken such abroad move.
Aggregate demand and aggregate supply curves : Use aggregate demand and aggregate supply curves to show what will happen to output and the price level if government spending is reduced at the same time the Fed takes action to increase the money supply.
Suppliers to seattle health system offers : Suppose one of the suppliers to Seattle Health System offers terms of 3/20, net 60. When does the system have to pay its bills from this supplier? What is the approximate percentage cost of the costly trade credit offered by this supplier? (Ass..
Find the department with the fewest majors : List all the department information for departments with professors in a user-specified age range.
Calculate the current value of the stock : Given the following information, calculate the current value of the stock: current dividend is $3.00, projected super normal growth for three years at 20%, growth rate after year 3 should remain constant at 11% and you want to earn a 16% annual re..
Why fed use intermediate targets : What is an intermediate target? - Why does the Fed use intermediate targets instead of focusing on the ultimate targets?
How would you characterize cultural values of each family : The Angelinos and the McNeils have different cultural values. How would you characterize the cultural values of each family? How do you think these cultural values influence what they consider to be appropriate self-determination for each of the p..
What role does uncertainty play : How would the recognition, policy, and impact lags differ with regard to monetary and fiscal policy?- What role does uncertainty play?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd