Specify your physical design by identifying the attributes

Assignment Help Database Management System
Reference no: EM13509295

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

Project(pno, proj name, proj base dept, proj mgr, topic, budget) Manager(mid, mgr name, mgr dept, salary, age, sex)

Note that each project is based in some department, each manager is employed in some department, and the manager of a project need not be employed in the same department (in which the project is based). Suppose you know that the following queries are the ?ve most common queries in the workload for this university and all ?ve are roughly equivalent in frequency and importance:

List the names, ages, and salaries of managers of a user-speci?ed sex (male or female) working in a given department. You can assume that, while there are many departments, each department contains very few project managers.

List the names of all projects with managers whose ages are in a user-speci?ed range (e.g., younger than 30).

List the names of all departments such that a manager in this department manages a project based in this department.

List the name of the project with the lowest budget.

List the names of all managers in the same department as a given project.

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 un-necessary indexes, as updates will occur (and would be slowed down by unnecessary indexes). Given this information, design a physical schema for the company 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 keys are permitted.

1. Specify your physical design by identifying the attributes 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. Assume that this workload is to be tuned with an automatic index tuning wizard. Outline the main steps in the algorithm and the set of candidate con?gurations considered.

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

Find the total of the budgets for projects managed by each manager; that is, list proj mgr and the total of the budgets of projects managed by that manager, for all values of proj mgr.

Find the total of the budgets for projects managed by each manager but only for managers who are in a user-speci?ed age range.

Find the number of male managers. Find the average age of managers.

Reference no: EM13509295

Questions Cloud

Determine how much work does she do : A child pushes a merry-go-round with a force of 50.0 N at an angle tangent to the circle (that is, perpendicular to a radius). how much work does she do
How much work is done on the body by the force : A body is displaced (1.5i - 2.0j) m while being acted on by the force (2.0i - 3.0j) N. How much work is done on the body by the force
What is the capacitance of the total combination : Three capacitors are connected as follows: 3.74 F capacitor and 4.52 F are connected in series, What is the capacitance of the total combination
The company to follow in creating a web site and why : What Internet business model would be appropriate for the company to follow in creating a Web site and why?
Specify your physical design by identifying the attributes : List the names, ages, and salaries of managers of a user-speci?ed sex (male or female) working in a given department. You can assume that, while there are many departments, each department contains very few project managers.
Find the most practical solution : The challenge of all managerial situations is to take what can be done and what should be done and find.
How would vickis assets be recorded for tax purposes : How would Vickis assets be recorded for tax purposes by Palm Corporation and what is the amortization amount for each intangible asset in the current year?
What would be the effect on the income statement : Journalize the six adjusting entries required at August 31, based on the data presented - what would be the effect on the income statement if adjustments (a) and (f) were omitted at the end of the year?
Determine the diameters of the disks : Two closely spaced circular disks form a parallel-plate capacitor. what are the diameters of the disks

Reviews

Write a Review

Database Management System Questions & Answers

  What messages are sent if not well-formed

Create new DOM documents for each of your .xml file and .xsl file. Use these to generate output to the browser.

  Make the flowchart of the above business processes

create the flowchart of the above business processes. The assignment will be completed in 2 parts:1. AS-IS Model2.TO-BE Model once feedback is given from Professor after completing Part 1 (AS-IS Model)

  What do you think is the wisdom of maintaining 2 models

what do you think is the wisdom of maintaining 2 models? The W3C has a Document Object Model as a recommendation. Do you think browsers should implement this model? If not, propose a model which you think would be suitable.

  1 give syntax example for each of the following group

1. give syntax example for each of the following group functionsavgsumminmaxcountdistinctstddevvariance2. provide 2

  How database systems support enterprise and web-based app

Summarize the difference between on-line transaction processing (OLTP) and online analytic processing (OLAP), and their relationship among business intelligence, data warehousing and data mining.

  Describe 4 software or hardware problems which will render

discuss 4 software or hardware problems that will render two hosts unable to use the tcpip protocol to communicate.

  Post a ms sql server introduction message in the week forum

post a ms sql server introduction message in the week forum. enter any information that is related to ms sql server

  Design and implement an application that reads an integer

Design and implement an application that reads an integer value representing a birthdate from the user. First get the month, then get the day and then finally the year from the user.

  Probably its a quite simple problem to solve - but im not

i really would appreciate your help.probably its a quite simple problem to solve - but im not the one .. -i have two

  Translation from erd to the relational model

Complete (i.e., reverse engineering) ER diagram below such that 4 relation schemas above are exactly result of a translation from the ERD to the relational model.

  Yrace history of the development of databases

In 500 words or less, trace the history of the development of databases beginning with pre-computer days to the present.

  How would your answers to the two questions change

How would your answers to the two questions change, if at all, if your system did not support indexes with multiple-attribute search keys?

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