Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask DBMS Expert


Home >> DBMS

Overview

A complete data warehouse with a snowflake schema should be designed to address key management objectives in a common business situation, e.g., hotel industry. Two operational databases for that domain are evaluated and a series of SQL procedures written to extract, transform and load data from the two operational databases into the data warehouse. SQL needed to address management's key objectives using the fact and dimension tables of the data warehouse are created along with a description of the results suitable for presentation to management.

Assignment Resources

1) ER diagrams for two operational databases for the business situation to review:

Corp1ERD-Revised-Ayyaz.jpg , Corp2ERD-Revised-Ayyaz.jpg

2) Data dictionaries for two operational databases for the business situation to review:

Corp1Data Dictionary.xls , Corp2Data Dictionary Revised.xls

3) Slides from the DW project Web Ex:

DataWarehouseProjectOverview.pptx

4) IBM Website Description of Fact Table Grain:

http://www.ibm.com/support/knowledgecenter/SS9UM9_9.1.0/com.ibm.datatools.dimensional.ui.doc/topics/c_dm_design_cycle_2_idgrain.html

Business Situation Description:

You work for a large corporation that has just purchased 2 hotel and resort corporations each consisting of over 100 hotels. Each Corporation operates a custom database. You are provided the data dictionary and ER diagrams for the two operational databases. Management would like you to design a data warehouse that allows them to achieve the most competitive advantage possible.

(Note: The databases you will evaluate come from student groups in another class responding to the Hokie Resort problem. This problem also is provided for your review.)

Please name the document "Leslie_Alexandra _Project2.docx."

1 Review the submission Hokie Resort situation description to understand the problem domain(see Business Situation Description below)

2 Write the three most important questions that management must answer to achieve a competitive advantage in the hotel market.
Submit the questions and a brief (1-2 pages) explanation/justification of why these are the most important questions.

3 Design a Data Warehouse Star or Snowflake schema that is sufficient for addressing these questions.
Submit an ER Model of your data warehouse schema.
See this example of a schema from the Hokie Hospital problem: HospitalDWSchema.vsdx
Example as pdf: Visio-HospitalDWSchemav2.pdf

4 Implement your Data Warehouse Star or Snowflake schema in MySQL or other DBMS.
Submit MySQL of other DDL that implements your data warehouse schema.

5 Populate MySQL or other DB with sufficient rows to demonstrate your Data Warehouse

This will require you to create rows for all dimension (including time) and fact tables in your Data Warehouse. You must insert sufficient rows in the DW to be able to execute the ROLLUP queries for the final step in this assignment.
This script is from the textbook and loads a sample data warehouse: DW-DBINIT.SQL

6 Analyze the ER diagram and data dictionary from both of the operational databases to determine if the two operational hotel databases have the data needed for your data warehouse.

For each DB, create a mapping that shows the tables from that DB that are used to create rows in your data warehouse tables. For each data warehouse table, describe how the operational data is aggregated to create a row in the table. Submit your mapping and aggregation summary in the following format.

DatawarehouseTable Operational DB Table Aggregation/Sum
PatientDim Corp1: Patient No aggregation, each row is an instance in the DW.
PatientDim Corp2: Customer No aggregation, each row is an instance in the DW.
MediationsFact Corp1: Prescriptions Count and average amount of drug given are created.
MediationsFact Corp2: Drugs Provided Count and average amount of drug given are created.

(Note: If an operational database does not contain the data needed for your data warehouse design, then propose revisions to the existing tables in the DB or define additional tables to be populated in the DB so that it will contain the data needed for your data warehouse). (5 points)

7 Write the SQL necessary to extract and process the data from the two operational databases so that it will be suitable for your elements of your data warehouse.

The mapping you made in question 4 should help in this process. This requires writing SQL procedures that include SELECT statements from the operational DBs and INSERT INTO the data warehouse tables (Note: you do not have to make the procedures work). You should extract and load data for two of your dimension tables and one of your fact tables from each operational DB. In addition, you should show the population of the time dimension and include it on your fact table rows. Pay attention to the correct grouping and aggregation necessary to transform the operational data into the form needed for your data warehouse. An example of the procedure file is provided from a previous semester using the Hokie Hospital problem in this file: . Your task is to make a similar procedure that will extract the data from the operational databases into your data warehouse design.

Submit your procedures with a .sql file extension so that we can review them within Notepad++. While any logical organization of procedures is acceptable (provide a brief justification/rationale for others), the preferred approach is to create one SQL procedure for each dimension table and one for the fact table from your data warehouse. These procedures should access both operational DBs and be as simple as possible.

Find an example of the procedures needed here:
Dimension table: Q5_SampleProcedure_Hokie_Hospital_DimensionV2.sql
Fact table: Q5_SampleProcedure_Hokie_Hospital_FactV2.sql

8 Write the SQL that will be needed to answer the three most important questions using your data warehouse. This requires writing 3 SQL statements/procedures.

Attachment:- Project Instructions.rar

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M92289920
  • Price:- $50

Priced at Now at $50, Verified Solution

Have any Question?


Related Questions in DBMS

Analytic reportpurpose the purpose of this task is to

Analytic Report: Purpose: The purpose of this task is to provide students with practical experience in working in teams to write a Data Analytical report to provide useful insights, pattern and trends in the chosen/given ...

Data model development and implementationpurpose of the

Data model development and implementation Purpose of the assessment (with ULO Mapping) The purpose of this assignment is to develop data models and map Database System into a standard development environment to gain unde ...

Assignment task -write and run sql statements to complete

Assignment Task - Write and run SQL statements to complete the following tasks Part A - DML 1. Show the details of the products where the product code starts with '22'. 2. Display the vendor details from areacode 615. 3. ...

Question talk about the importance of pulling data from

Question : Talk about the importance of pulling data from worksheets into a single sheet also the ways excel could be a solution to a complex challenge. The response must be typed, single spaced, must be in times new rom ...

Question as explained throughout this course entity

Question: As explained throughout this course, entity relationship modeling is a critical element of database design. If the database is not properly modeled, it is unlikely that the database will be properly developed. ...

Suppose that we have a table of house prices and a table of

Suppose that we have a table of house prices and a table of zip codes: • hprices(hid (PK),address,bedrooms,price,zipcode) • zipcodes(zipcode (PK),state) Write a SQL query that finds the average, maximum, and minimum pric ...

Sqlwrite a select statement that returns one column from

SQL Write a SELECT statement that returns one column from the Vendor table named Full Name. Create this column from the VendorContactFName and VendorContactLName columns. Format it as follows: last name, comma, first nam ...

Assignmentqueries functions and triggersdatabase

Assignment Queries, Functions and Triggers Database Systems Aims The aims of this assignment are to: formulate SQL queries; populate an RDBMS with a real dataset, and analyse the data; design test data for testing SQL qu ...

Sqlquery 1 how many products have standard price less than

SQL Query 1. How many products have standard price less than 1000? Query 2: Display all attributes for products made of "Cherry" from Product table w/o referring to column names. Query 3: Display all product names having ...

Football association of zambia faz super leaguethe faz has

Football Association of Zambia (FAZ) Super League The FAZ has recently decided to reorganise their operations to support both existing and possibly expanded league operations in Zambia and part of preparation for the 201 ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As