Assignment 2 Due Thursday Feb 9, 2006

Slides:



Advertisements
Similar presentations
Advanced SQL (part 1) CS263 Lecture 7.
Advertisements

BY LECTURER/ AISHA DAWOOD DW Lab # 4 Overview of Extraction, Transformation, and Loading.
Alternative Database topology: The star schema
1 Constraints, Triggers and Active Databases Chapter 9.
ERWin Template Overview By: Dave Wentzel. Agenda u Overview of Templates/Macros u Template editor u Available templates u Independent column browser u.
Dimensional Modeling Business Intelligence Solutions.
© Ron McFadyen1 Many-to-one-to-many We need information that can only be obtained by accessing two fact tables through a common dimension … drilling across.
March 2010ACS-4904 Ron McFadyen1 Aggregate management References: Lawrence Corr Aggregate improvement
March Ron McFadyen1 Using Rational Rose to create a database.
March R McFadyen1 Activity Diagrams start end branch merge fork join guard transition swimlanes activity Used to present procedural steps (algorithm)
Lecture 5 CS.456 DATABASE DESIGN.
Database Relationships Objective 5.01 Understand database tables used in business.
Copyright© 2014, Sira Yongchareon Department of Computing, Faculty of Creative Industries and Business Lecturer : Dr. Sira Yongchareon ISCG 6425 Data Warehousing.
Dr. Chen, Business Database Systems JustLee DataBase Referential Integrity Jason C. H. Chen, Ph.D. Professor of MIS School of Business Administration Gonzaga.
BI Terminologies.
Designing a Data Warehousing System. Overview Business Analysis Process Data Warehousing System Modeling a Data Warehouse Choosing the Grain Establishing.
Database Management Systems (DBMS)
June 08, 2011 How to design a DATA WAREHOUSE Linh Nguyen (Elly)
Connecting (relating) Data Tables to get Custom Records (Queries) Database Basics.
IMS 4212: Intro to Multi-Table SELECT Statements 1 Dr. Lawrence West, MIS Dept., University of Central Florida Multi-Table SELECT Statements—Topics.
Building the Corporate Data Warehouse Pindaro Demertzoglou Data Resource Management.
Building the Corporate Data Warehouse Pindaro Demertzoglou Lally School of Management Data Resource Management.
Database Constraints ICT 011. Database Constraints Database constraints are restrictions on the contents of the database or on database operations Database.
Defining Data Warehouse Structures Data Warehouse Data Access End User Data Access Data Sources Staging Area Data Marts Data Extract, Transform, and Load.
All DBMSs provide variations of b-trees for indexing B-tree index
Database Relationships
Just Enough Database Theory for Power Pivot / Power BI
Database Development Lifecycle
Database Management Systems II
SQL Relational Database Project
COP 4540 Database Management
Data Warehousing/Loading the DW—Topics
Calculated Fields Exercises Queries
Database Relationships
Assignment 4 Map entities with relationships to relational schemas.
Assignment 2 Due Thursday Feb 9, 2006
Dimensional Model January 14, 2003
Inventory is used to illustrate:
COS 346 Day 8.
Retail Sales is used to illustrate a first dimensional model
Chapter 8 Working with Databases and MySQL
Exploring Microsoft Access 2003
Lecture Set 14 B new Introduction to Databases - Database Processing: The Connected Model (Using DataReaders)
5.02 Understand database queries, forms, and reports used in business.
INFS 3220 Systems Analysis & Design
Advanced SQL: Views & Triggers
Typically data is extracted from multiple sources
DATABASE SQL= Structure Query Language مبادئ قواعد بيانات
CHAPTER 4: LOGICAL DATABASE DESIGN AND THE RELATIONAL MODEL
Minidimension Example
Retail Sales is used to illustrate a first dimensional model
Data warehouse architecture CIF, DM Bus Matrix Star schema
Database Relationships
Aggregate Improvement and Lost, shrunken, and collapsed
Simple tips for better data warehouse design
Retail Sales is used to illustrate a first dimensional model
Role Playing Dimensions (p )
Dimensional Model January 16, 2003
Required queries FdSc inICT Module 107.
Aggregate improvement Lost, shrunken, and collapsed Ralph Kimball
Examines blended and separate transaction schemas
Review of Major Points Star schema Slowly changing dimensions Keys
Assignment 1 Due Thursday Jan 19, 2006
Creating Queries Expression Exercise- Criteria and Calculated Fields
Many aggregates can be defined for one base star schema
Mapping an ERD to a Relational Database
Review of Major Points Star schema Slowly changing dimensions Keys
Data Warehousing/Loading the DW—Topics
Page 37 Figure 2.3, with attributes excluded
Recursive Relationship
Presentation transcript:

Assignment 2 Due Thursday Feb 9, 2006 The Star Schema to build OrderDate Employee OrderFacts RequiredDate quantity regularPrice discountedPrice discount Product ShippedDate Customer Order (DD) Feb 2006 92.4904 Ron McFadyen

Assignment 2 Due Thursday Feb 9, 2006 Suggestions: Build each dimension in a separate task or package. A package can execute other packages. Use workflow to control the execution of tasks/packages. Once dimensions are constructed, then build the fact table. Consider using a View that returns exactly the data you want to become rows in the fact table. Such a View can be referenced in a Select that is used in an Insert. Consider constructing OrderFacts in two steps. The first step inserts rows. The second completes rows that have some missing values, such as date foreign keys. After you’ve inserted all your data you should do some data integrity checks: Do you have the correct number of rows in your tables? Required: Each dimension must have a surrogate key as its primary key. Set the PK for the fact table and establish each FK reference. Feb 2006 92.4904 Ron McFadyen

Assignment 2 Due Thursday Feb 9, 2006 Create a star schema database. Use DTS to create Date and Employee dimensions to complement your Product and Customer dimensions (use Northwind as your source). Details: Create a fact table with metrics (from Order Details): quantity, regularPrice=unitPrice*quantity, discountedPrice=unitPrice*quantity*(1-discount), discount=regularPrice-discountedPrice Make order ID a degenerate dimension Ignore Shippers and the Reports To relationship in Employees. Note that Date must have a “n/a” row (and this will be needed for some fact rows) Write queries to show: How many orders have not been shipped? Calculate for each employee, the value (discountedPrice) of the orders they have handled, and list the values and employees names in order of decreasing order values How many orders were shipped > 10 days after the required date? “ <=10 days after the required date? Hand in your database name, package name(s), passwords for packages, and the printed output for queries including SQL. Feb 2006 92.4904 Ron McFadyen