Data Warehousing Design Transparencies

Slides:



Advertisements
Similar presentations
The Organisation As A System An information management framework The Performance Organiser Data Warehousing.
Advertisements

Data Warehousing Design Transparencies
Dimensional Modeling.
CHAPTER OBJECTIVE: NORMALIZATION THE SNOWFLAKE SCHEMA.
1 Use or disclosure of data contained on this sheet is subject to the restriction on the title page of this proposal or quotation. An Introduction to Data.
BY LECTURER/ AISHA DAWOOD DW Lab # 2. LAB EXERCISE #1 Oracle Data Warehousing Goal: Develop an application to implement defining subject area, design.
Copyright © Starsoft Inc, Data Warehouse Architecture By Slavko Stemberger.
Dimensional Modeling Business Intelligence Solutions.
Dimensional Modeling CS 543 – Data Warehousing. CS Data Warehousing (Sp ) - Asim LUMS2 From Requirements to Data Models.
Data Warehouse IMS5024 – presented by Eder Tsang.
De-normalize if… Performance is unsatisfactory Table has a low update rate –(sacrifice flexibility) Table has a high query rate –(speed up retrieval)
Chapter 6 Methodology Conceptual Databases Design Transparencies © Pearson Education Limited 1995, 2005.
Manajemen Basis Data Pertemuan 8 Matakuliah: M0264/Manajemen Basis Data Tahun: 2008.
Lecture Fourteen Methodology - Conceptual Database Design
Data Warehousing - 3 ISYS 650. Snowflake Schema one or more dimension tables do not join directly to the fact table but must join through other dimension.
Data Warehousing Dale-Marie Wilson, Ph.D..
Chapter 13 The Data Warehouse
Data Warehousing DSCI 4103 Dr. Mennecke Introduction and Chapter 1.
Designing a Data Warehouse
Online Analytical Processing (OLAP) Hweichao Lu CS157B-02 Spring 2007.
CSC271 Database Systems Lecture # 21. Summary: Previous Lecture  Phases of database SDLC  Prototyping (optional)  Implementation  Data conversion.
Designing a Data Warehouse Issues in DW design. Three Fundamental Processes Data Acquisition Data Storage Data a Access.
Week 6 Lecture The Data Warehouse Samuel Conn, Asst. Professor
Chapter 3 The Relational Model Transparencies Last Updated: Pebruari 2011 By M. Arief
Data Warehouse Concepts Transparencies
Methodology - Conceptual Database Design Transparencies
Methodology Conceptual Databases Design
1 Chapter 15 Methodology Conceptual Databases Design Transparencies Last Updated: April 2011 By M. Arief
Chapter 16 Methodology – Physical Database Design for Relational Databases.
OnLine Analytical Processing (OLAP)
Program Pelatihan Tenaga Infromasi dan Informatika Sistem Informasi Kesehatan Ari Cahyono.
Data Warehousing Concepts, by Dr. Khalil 1 Data Warehousing Design Dr. Awad Khalil Computer Science Department AUC.
DIMENSIONAL MODELLING. Overview Clearly understand how the requirements definition determines data design Introduce dimensional modeling and contrast.
Data Warehouse design models in higher education courses Patrizia Poščić, Associate Professor Danijela Subotić, Teaching Assistant.
Methodology: Conceptual Databases Design
DATABASE MGMT SYSTEM (BCS 1423) Chapter 5: Methodology – Conceptual Database Design.
1 Data Warehouses BUAD/American University Data Warehouses.
© Pearson Education Limited, Chapter 9 Logical database design – Step 1 Transparencies.
The Data Warehouse “A data warehouse is a subject-oriented, integrated, time-variant, and nonvolatile collection of “all” an organisation’s data in support.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
Dimensional Modeling Primer Chapter 1 Kimball & Ross.
Designing a Data Warehousing System. Overview Business Analysis Process Data Warehousing System Modeling a Data Warehouse Choosing the Grain Establishing.
UNIT-II Principles of dimensional modeling
Business Intelligence Transparencies 1. ©Pearson Education 2009 Objectives What business intelligence (BI) represents. The technologies associated with.
June 08, 2011 How to design a DATA WAREHOUSE Linh Nguyen (Elly)
1 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Enterprise Edition: Overview.
Data Warehousing DSCI 4103 Dr. Mennecke Chapter 2.
Last Updated : 26th may 2003 Center of Excellence Data Warehousing Introductionto Data Modeling.
1 Database Systems, 8 th Edition Star Schema Data modeling technique –Maps multidimensional decision support data into relational database Creates.
Building the Corporate Data Warehouse Pindaro Demertzoglou Data Resource Management.
Copyright © 2016 Pearson Education, Inc. Modern Database Management 12 th Edition Jeff Hoffer, Ramesh Venkataraman, Heikki Topi CHAPTER 9: DATA WAREHOUSING.
Data Warehouse/Data Mart It’s all about the data.
Data Warehousing Design DT211/4. Designing Data Warehouses To begin a data warehouse project, we need to find answers for questions such as: – Which user.
Methodology Conceptual Databases Design
Advanced Applied IT for Business 2
Methodology Conceptual Database Design
Chapter 13 The Data Warehouse
Data Warehouse.
Overview and Fundamentals
Competing on Analytics II
Dimensional Model January 14, 2003
Data Warehouse and OLAP
An Introduction to Data Warehousing
Introduction of Week 9 Return assignment 5-2
Adding Multiple Logical Table Sources
Methodology Conceptual Databases Design
Data Warehousing Concepts
CSD305 Data Warehouse Design
Data Warehouse and OLAP
Presentation transcript:

Data Warehousing Design Transparencies Chapter Name September 98 Chapter 32 Data Warehousing Design Transparencies © Pearson Education Limited 1995, 2005 1

Chapter 32 - Objectives The issues associated with designing a data warehouse. A technique for designing the database component of a data warehouse called dimensionality modeling. How a dimensional model (DM) differs from an Entity-Relationship (ER) model. © Pearson Education Limited 1995, 2005

A step-by-step methodology for designing a data warehouse. Chapter 32 - Objectives A step-by-step methodology for designing a data warehouse. Criteria for assessing the degree of dimensionality provided by a data warehouse. How Oracle Warehouse Builder can be used to build a data warehouse. © Pearson Education Limited 1995, 2005

Designing Data Warehouses To begin a data warehouse project, we need to find answers for questions such as: Which user requirements are most important and which data should be considered first? Which data should be considered first? Should the project be scaled down into something more manageable? Should the infrastructure for a scaled down project be capable of ultimately delivering a full-scale enterprise-wide data warehouse? © Pearson Education Limited 1995, 2005

Designing Data Warehouses For many enterprises the way to avoid the complexities associated with designing a data warehouse is to start by building one or more data marts. Data marts allow designers to build something that is far simpler and achievable for a specific group of users. © Pearson Education Limited 1995, 2005

Designing Data Warehouses Few designers are willing to commit to an enterprise-wide design that must meet all user requirements at one time. Despite the interim solution of building data marts, the goal remains the same: that is, the ultimate creation of a data warehouse that supports the requirements of the enterprise. © Pearson Education Limited 1995, 2005

Designing Data Warehouses The requirements collection and analysis stage of a data warehouse project involves interviewing appropriate members of staff (such as marketing users, finance users, and sales users) to enable the identification of a prioritized set of requirements that the data warehouse must meet. © Pearson Education Limited 1995, 2005

Designing Data Warehouses At the same time, interviews are conducted with members of staff responsible for operational systems to identify, which data sources can provide clean, valid, and consistent data that will remain supported over the next few years. © Pearson Education Limited 1995, 2005

Designing Data Warehouses Interviews provide the necessary information for the top-down view (user requirements) and the bottom-up view (which data sources are available) of the data warehouse. The database component of a data warehouse is described using a technique called dimensionality modeling. © Pearson Education Limited 1995, 2005

Dimensionality modeling A logical design technique that aims to present the data in a standard, intuitive form that allows for high-performance access Uses the concepts of Entity-Relationship modeling with some important restrictions. Every dimensional model (DM) is composed of one table with a composite primary key, called the fact table, and a set of smaller tables called dimension tables. © Pearson Education Limited 1995, 2005

Dimensionality modeling Each dimension table has a simple (non-composite) primary key that corresponds exactly to one of the components of the composite key in the fact table. Forms ‘star-like’ structure, which is called a star schema or star join. © Pearson Education Limited 1995, 2005

Dimensionality modeling All natural keys are replaced with surrogate keys. Means that every join between fact and dimension tables is based on surrogate keys, not natural keys. Surrogate keys allows the data in the warehouse to have some independence from the data used and produced by the OLTP systems. © Pearson Education Limited 1995, 2005

Star schema for property sales of DreamHome © Pearson Education Limited 1995, 2005

Dimensionality modeling Star schema is a logical structure that has a fact table containing factual data in the center, surrounded by dimension tables containing reference data, which can be denormalized. Facts are generated by events that occurred in the past, and are unlikely to change, regardless of how they are analyzed. © Pearson Education Limited 1995, 2005

Dimensionality modeling Bulk of data in data warehouse is in fact tables, which can be extremely large. Important to treat fact data as read-only reference data that will not change over time. Most useful fact tables contain one or more numerical measures, or ‘facts’ that occur for each record and are numeric and additive. © Pearson Education Limited 1995, 2005

Dimensionality modeling Dimension tables usually contain descriptive textual information. Dimension attributes are used as the constraints in data warehouse queries. Star schemas can be used to speed up query performance by denormalizing reference information into a single dimension table. © Pearson Education Limited 1995, 2005

Dimensionality modeling Snowflake schema is a variant of the star schema where dimension tables do not contain denormalized data. Starflake schema is a hybrid structure that contains a mixture of star (denormalized) and snowflake (normalized) schemas. Allows dimensions to be present in both forms to cater for different query requirements. © Pearson Education Limited 1995, 2005

Property sales with normalized version of Branch dimension table © Pearson Education Limited 1995, 2005

Dimensionality modeling Predictable and standard form of the underlying dimensional model offers important advantages: Efficiency Ability to handle changing requirements Extensibility Ability to model common business situations Predictable query processing © Pearson Education Limited 1995, 2005

Comparison of DM and ER models A single ER model normally decomposes into multiple DMs. Multiple DMs are then associated through ‘shared’ dimension tables. © Pearson Education Limited 1995, 2005

Database Design Methodology for Data Warehouses ‘Nine-Step Methodology’ includes following steps: Choosing the process Choosing the grain Identifying and conforming the dimensions Choosing the facts Storing pre-calculations in the fact table Rounding out the dimension tables Choosing the duration of the database Tracking slowly changing dimensions Deciding the query priorities and the query modes © Pearson Education Limited 1995, 2005

Step 1: Choosing the process The process (function) refers to the subject matter of a particular data mart. First data mart built should be the one that is most likely to be delivered on time, within budget, and to answer the most commercially important business questions. © Pearson Education Limited 1995, 2005

ER model of an extended version of DreamHome © Pearson Education Limited 1995, 2005

ER model of property sales business process of DreamHome © Pearson Education Limited 1995, 2005

Step 2: Choosing the grain Decide what a record of the fact table is to represents. Identify dimensions of the fact table. The grain decision for the fact table also determines the grain of each dimension table. Also include time as a core dimension, which is always present in star schemas. © Pearson Education Limited 1995, 2005

Step 3: Identifying and conforming the dimensions Dimensions set the context for asking questions about the facts in the fact table. If any dimension occurs in two data marts, they must be exactly the same dimension, or one must be a mathematical subset of the other. A dimension used in more than one data mart is referred to as being conformed. © Pearson Education Limited 1995, 2005

Star schemas for property sales and property advertising © Pearson Education Limited 1995, 2005

Step 4: Choosing the facts The grain of the fact table determines which facts can be used in the data mart. Facts should be numeric and additive. Unusable facts include: non-numeric facts non-additive facts fact at different granularity from other facts in table © Pearson Education Limited 1995, 2005

Property rentals with a badly structured fact table © Pearson Education Limited 1995, 2005

Property rentals with fact table corrected © Pearson Education Limited 1995, 2005

Step 5: Storing pre-calculations in the fact table Once the facts have been selected each should be re-examined to determine whether there are opportunities to use pre-calculations. © Pearson Education Limited 1995, 2005

Step 6: Rounding out the dimension tables Text descriptions are added to the dimension tables. Text descriptions should be as intuitive and understandable to the users as possible. Usefulness of a data mart is determined by the scope and nature of the attributes of the dimension tables. © Pearson Education Limited 1995, 2005

Step 7: Choosing the duration of the database Duration measures how far back in time the fact table goes. Very large fact tables raise at least two very significant data warehouse design issues. Often difficult to source increasing old data. It is mandatory that the old versions of the important dimensions be used, not the most current versions. Known as the ‘Slowly Changing Dimension’ problem. © Pearson Education Limited 1995, 2005

Step 8: Tracking slowly changing dimensions Slowly changing dimension problem means that the proper description of the old dimension data must be used with the old fact data. Often, a generalized key must be assigned to important dimensions in order to distinguish multiple snapshots of dimensions over a period of time. © Pearson Education Limited 1995, 2005

Step 8: Tracking slowly changing dimensions There are three basic types of slowly changing dimensions: Type 1, where a changed dimension attribute is overwritten Type 2, where a changed dimension attribute causes a new dimension record to be created Type 3, where a changed dimension attribute causes an alternate attribute to be created so that both the old and new values of the attribute are simultaneously accessible in the same dimension record © Pearson Education Limited 1995, 2005

Step 9: Deciding the query priorities and the query modes Most critical physical design issues affecting the end-user’s perception includes: physical sort order of the fact table on disk presence of pre-stored summaries or aggregations Additional physical design issues include administration, backup, indexing performance, and security. © Pearson Education Limited 1995, 2005

Database Design Methodology for Data Warehouses Methodology designs a data mart that supports the requirements of a particular business process and allows the easy integration with other related data marts to form the enterprise-wide data warehouse. A dimensional model, which contains more than one fact table sharing one or more conformed dimension tables, is referred to as a fact constellation. © Pearson Education Limited 1995, 2005

Fact and dimension tables for each business process of DreamHome © Pearson Education Limited 1995, 2005

  Dimensional model (fact constellation) for the DreamHome data warehouse © Pearson Education Limited 1995, 2005

Criteria for assessing the dimensionality of a data warehouse Criteria proposed by Ralph Kimball (2000) to measure the extent to which a system supports the dimensional view of data warehousing. Twenty criteria divided into three broad groups: architecture, administration, and expression. © Pearson Education Limited 1995, 2005

Criteria for assessing the dimensionality of a data warehouse © Pearson Education Limited 1995, 2005

Criteria for assessing the dimensionality of a data warehouse Architectural criteria describes the way the entire system is organized. Administration criteria are considered to be essential to the ‘smooth running’ of a dimensionally-oriented data warehouse. Expression criteria are mostly analytic capabilities that are needed in real-life situations. © Pearson Education Limited 1995, 2005