1 Database Systems, 8 th Edition 1 13.7 Star Schema Data modeling technique –Maps multidimensional decision support data into relational database Creates.

Slides:



Advertisements
Similar presentations
C6 Databases.
Advertisements

The database approach to data management provides significant advantages over the traditional file-based approach Define general data management concepts.
Technical BI Project Lifecycle
Management Information Systems, Sixth Edition
Intro to Data Mining: Extracting Information and Knowledge from Data.
OLAP Services Business Intelligence Solutions. Agenda Definition of OLAP Types of OLAP Definition of Cube Definition of DMR Differences between Cube and.
Chapter 13 The Data Warehouse.
Introduction to Data Warehouse and Data Mining MIS 2502 Data Analytics
Chapter 13 Business Intelligence and Data Warehouses
Database Systems: Design, Implementation, and Management Tenth Edition
Decision Support and Data Warehouse. Decision supports Systems Components Data management function –Data warehouse Model management function –Analytical.
13 1 Chapter 13 The Data Warehouse Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Chapter 12 The Data Warehouse
Advanced Querying OLAP Part 2. Context OLAP systems for supporting decision making. Components: –Dimensions with hierarchies, –Measures, –Aggregation.
COMP 578 Data Warehousing And OLAP Technology Keith C.C. Chan Department of Computing The Hong Kong Polytechnic University.
13 Chapter 13 The Data Warehouse Hachim Haddouti.
Data Warehousing. On-Line Analytical Processing (OLAP) Tools The use of a set of graphical tools that provides users with multidimensional views of their.
CSE6011 Warehouse Models & Operators  Data Models  relations  stars & snowflakes  cubes  Operators  slice & dice  roll-up, drill down  pivoting.
Chapter 13 The Data Warehouse
Designing a Data Warehouse
Chapter 13 – Data Warehousing. Databases  Databases are developed on the IDEA that DATA is one of the critical materials of the Information Age  Information,
Online Analytical Processing (OLAP) Hweichao Lu CS157B-02 Spring 2007.
XP Information Information is everywhere in an organization Employees must be able to obtain and analyze the many different levels, formats, and granularities.
Database Management Systems, 2 nd Edition. R. Ramakrishnan and J. Gehrke1 Decision Support Chapter 23.
ITEC 3220A Using and Designing Database Systems
Data Warehousing/Mining 1 Data Warehousing/Mining Comp 150 Additional Information Instructor: Dan Hebert.
Chapter 13 The Data Warehouse
12 The Data Warehouse and Data Mining MIS 304 Winter 2006.
Week 6 Lecture The Data Warehouse Samuel Conn, Asst. Professor
Data Warehouse & Data Mining
Chapter 5 Lecture 2. Principles of Information Systems2 Objectives Understand Data definition language (DDL) and data dictionary Learn about popular DBMSs.
Fundamentals of Information Systems, Fifth Edition
Datawarehouse Objectives
1 Data Warehouses BUAD/American University Data Warehouses.
13 Chapter 13 The Data Warehouse Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel.
Database A database is a collection of data organized to meet users’ needs. In this section: Database Structure Database Tools Industrial Databases Concepts.
Data Warehousing.
Database Systems: Design, Implementation, and Management Ninth Edition Chapter 13 Business Intelligence and Data Warehouses.
1 Topics about Data Warehouses What is a data warehouse? How does a data warehouse differ from a transaction processing database? What are the characteristics.
6.1 © 2010 by Prentice Hall 6 Chapter Foundations of Business Intelligence: Databases and Information Management.
MANAGING DATA RESOURCES ~ pertemuan 7 ~ Oleh: Ir. Abdul Hayat, MTI.
13 1 Chapter 13 The Data Warehouse Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
13 1 Chapter 13 The Data Warehouse Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Chapter 3 Databases and Data Warehouses: Building Business Intelligence Copyright © 2010 by the McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin.
Fox MIS Spring 2011 Data Warehouse Week 8 Introduction of Data Warehouse Multidimensional Analysis: OLAP.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 13 Business Intelligence and Data Warehouses.
Business Intelligence Transparencies 1. ©Pearson Education 2009 Objectives What business intelligence (BI) represents. The technologies associated with.
Managing Data for DSS II. Managing Data for DS Data Warehouse Common characteristics : –Database designed to meet analytical tasks comprising of data.
What is OLAP?.
13 1 Chapter 13 The Data Warehouse Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Data Warehousing.
Business Intelligence Training Siemens Engineering Pakistan Zeeshan Shah December 07, 2009.
1 Database Systems, 8 th Edition 1 Chapter 13 Business Intelligence and Data Warehouses Objectives In this chapter, you will learn: –How business intelligence.
12 1 Database Systems: Design, Implementation, & Management, 6 th Edition, Rob & Coronel 12.4 Online Analytical Processing OLAP creates an advanced data.
Database Management Systems, 2 nd Edition. R. Ramakrishnan and J. Gehrke1 Data Warehousing and Decision Support.
Fundamentals of Information Systems, Sixth Edition Chapter 3 Database Systems, Data Centers, and Business Intelligence.
SQL Server Analysis Services Understanding Unified Dimension Model (UDM)
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 Data Warehousing and Decision Support Chapter 25.
Data Analytics, Data Mining, OLAP, Reporting Systems
Chapter 13 Business Intelligence and Data Warehouses
Chapter 13 The Data Warehouse
Data Warehouse.
Chapter 13 – Data Warehousing
MANAGING DATA RESOURCES
Data Warehouse and OLAP
Introduction of Week 9 Return assignment 5-2
Chapter 13 The Data Warehouse
Chapter 13 The Data Warehouse
Chapter 13 The Data Warehouse
Data Warehouse and OLAP
Presentation transcript:

1 Database Systems, 8 th Edition Star Schema Data modeling technique –Maps multidimensional decision support data into relational database Creates near equivalent of multidimensional database schema from relational data Easily implemented model for multidimensional data analysis –Preserves relational structures on which operational database is built Four components: facts, dimensions, attributes, and attribute hierarchies

2 Database Systems, 8 th Edition 2 Facts Numeric measurements that represent specific business aspect or activity –Normally stored in fact table that is center of star schema Fact table contains facts linked through their dimensions Metrics are facts computed at run time Dimensions Qualifying characteristics provide additional perspectives to a given fact Decision support data almost always viewed in relation to other data Study facts via dimensions Dimensions stored in dimension tables

3 Database Systems, 8 th Edition

4 Database Systems, 8 th Edition 4 Attributes Each dimension table contains attributes Use to search, filter, and classify facts Dimensions provide descriptive characteristics of facts through their attributes No mathematical limit to the number of dimensions The data warehouse designer must define common business attributes, to be used by data analyst to narrow a search, group information, or describe dimension

5 Slice and dice: focus on slices of the data cube for more detailed analysis 13.11

6

7 Database Systems, 8 th Edition 7 Attribute Hierarchies Attributes within dimensions can be ordered in a well-defined attribute hierarchy Provide top-down data organization Two purposes: –Aggregation –Drill-down/Roll-up data analysis Determine how the data are extracted and represented Stored in the DBMS’s data dictionary Used by OLAP tool to access warehouse properly

9 Database Systems, 8 th Edition 9 Star Schema Representation Facts and dimensions represented in physical tables in data warehouse database Many fact rows related to each dimension row –Primary key of fact table is a composite primary key –Fact table primary key formed by combining foreign keys pointing to dimension tables Dimension tables smaller than fact tables Each dimension record related to thousands of fact records

11 Skip ,

12 Database Systems, 8 th Edition Data Mining Data-mining tools do the following: –Analyze data –Uncover problems or opportunities hidden in data relationships –Form computer models based on their findings –Use models to predict business behavior Requires minimal end-user intervention

15 Database Systems, 8 th Edition SQL Extensions for OLAP Proliferation of OLAP tools fostered development of SQL extensions Many innovations have become part of standard SQL All SQL commands will work in data warehouse as expected Most queries include many data groupings and aggregations over multiple columns

17 Database Systems, 8 th Edition 17 The ROLLUP Extension Used with GROUP BY clause to generate aggregates by different dimensions GROUP BY generates only one aggregate for each new value combination of attributes ROLLUP extension enables subtotal for each column listed except for the last one –Last column gets grand total Order of column list important

18

19 Database Systems, 8 th Edition 19 The CUBE Extension CUBE extension used with GROUP BY clause to generate aggregates by listed columns –Includes the last column Enables subtotal for each column in addition to grand total for last column Useful when you want to compute all possible subtotals within groupings Cross-tabulations good application of CUBE extension

20

21 Database Systems, 8 th Edition 21 Materialized Views A dynamic table that contains SQL query command to generate rows –Also contains the actual rows Created the first time query is run and summary rows are stored in table Automatically updated when base tables are updated

22

23

24 Database Systems, 8 th Edition 24 Summary Business intelligence generates information used to support decision making BI covers a range of technologies, applications, and functionalities Decision support systems were the precursor of current generation BI systems Operational data not suited for decision support

25 Database Systems, 8 th Edition 25 Summary (continued) Four categories of requirements for decision support DBMS: –Database schema –Data extraction and loading –End-user analytical interface –Database size requirements Data warehouse provides support for decision making –Usually read-only –Optimized for data analysis, query processing

26 Database Systems, 8 th Edition 26 Summary (continued) OLAP systems have four main characteristics: –Use of multidimensional data analysis –Advanced database support –Easy-to-use end-user interfaces –Client/server architecture ROLAP provides OLAP functionality with relational databases MOLAP provides OLAP functionality with MDBMSs

27 Database Systems, 8 th Edition 27 Summary (continued) Star schema is a data-modeling technique –Maps multidimensional decision support data into a relational database Star schema has four components: –Facts –Dimensions –Attributes –Attribute hierarchies Data mining automates analysis of operational data SQL extensions support OLAP-type processing and data generation