Chapter 4 Data Warehousing.

Slides:



Advertisements
Similar presentations
Chapter 11: Data Warehousing
Advertisements

Dimensional Modeling.
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management
IS 4420 Database Fundamentals Chapter 11: Data Warehousing Leon Chen
BY LECTURER/ AISHA DAWOOD DW Lab # 2. LAB EXERCISE #1 Oracle Data Warehousing Goal: Develop an application to implement defining subject area, design.
Chapter 13 The Data Warehouse.
Data Warehouse Architecture Sakthi Angappamudali Data Architect, The Oregon State University, Corvallis 16 th May, 2005.
COMP 578 Data Warehouse Architecture And Design
Data Integration Combining data from different sources, providing a unified view of the data Combining data from different sources, providing a unified.
Chapter 10: data Quality and Integration
Dr. Chen, Data Base Management Chapter 10: Data Quality and Integration Jason C. H. Chen, Ph.D. Professor of MIS School of Business Administration Gonzaga.
Data Warehouse IMS5024 – presented by Eder Tsang.
Chapter 11: Data Warehousing
© 2007 by Prentice Hall 1 Chapter 11: Data Warehousing Modern Database Management 8 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden.
Data Warehousing. On-Line Analytical Processing (OLAP) Tools The use of a set of graphical tools that provides users with multidimensional views of their.
Chapter 13 The Data Warehouse
1 © Prentice Hall, 2002 Chapter 11: Data Warehousing.
Data Warehousing DSCI 4103 Dr. Mennecke Introduction and Chapter 1.
Chapter 1: Data Warehousing
Designing a Data Warehouse
Components of the Data Warehouse Michael A. Fudge, Jr.
M ODULE 5 Metadata, Tools, and Data Warehousing Section 4 Data Warehouse Administration 1 ITEC 450.
Data Warehousing.
Week 6 Lecture The Data Warehouse Samuel Conn, Asst. Professor
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
© 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 10: Data Quality and Integration Modern Database Management 10 th Edition Jeffrey.
Chapter 9: data warehousing
©Silberschatz, Korth and Sudarshan18.1Database System Concepts - 5 th Edition, Aug 26, 2005 Buzzword List OLTP – OnLine Transaction Processing (normalized,
Data Warehouse & Data Mining
MBA 664 Database Management Systems Dave Salisbury ( )
Data Warehousing Seminar Chapter 5. Data Warehouse Design Methodology Data Warehousing Lab. HyeYoung Cho.
Data Warehouse Concepts Transparencies
Data warehousing and online analytical processing- Ref Chap 4) By Asst Prof. Muhammad Amir Alam.
© 2007 Robert T. Monroe Carnegie Mellon University © Robert T. Monroe BI Tools and Techniques Data Warehousing II: Extract, Transform,
1 Data Warehouses BUAD/American University Data Warehouses.
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management
1 Data Warehousing. 2Definition Data Warehouse Data Warehouse: – A subject-oriented, integrated, time-variant, non- updatable collection of data used.
Data Warehousing.
Chapter 9: data warehousing
Decision Support and Date Warehouse Jingyi Lu. Outline Decision Support System OLAP vs. OLTP What is Date Warehouse? Dimensional Modeling Extract, Transform,
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.
Sachin Goel (68) Manav Mudgal (69) Piyush Samsukha (76) Rachit Singhal (82) Richa Somvanshi (85) Sahar ( )
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide
UNIT-II Principles of dimensional modeling
Chapter 5 DATA WAREHOUSING Study Sections 5.2, 5.3, 5.5, Pages: & Snowflake schema.
Chapter 11: Data Warehousing Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden.
Business Intelligence Transparencies 1. ©Pearson Education 2009 Objectives What business intelligence (BI) represents. The technologies associated with.
Data Warehousing.
Advanced Database Concepts
Carnegie Mellon University © Robert T. Monroe Management Information Systems Data Warehousing Management Information Systems Robert.
© 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 CHAPTER 10: DATA QUALITY AND INTEGRATION Modern Database Management 11 th Edition Jeffrey.
 Definition of terms  Reasons for need of data warehousing  Describe three levels of data warehouse architectures  Describe two components of star.
The Need for Data Analysis 2 Managers track daily transactions to evaluate how the business is performing Strategies should be developed to meet organizational.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Lecture 14: Data Warehousing Modern Database Management 9 th Edition Jeffrey A. Hoffer, Mary.
Copyright © 2016 Pearson Education, Inc. Modern Database Management 12 th Edition Jeff Hoffer, Ramesh Venkataraman, Heikki Topi CHAPTER 9: DATA WAREHOUSING.
1 Data Warehousing Data Warehousing. 2 Objectives Definition of terms Definition of terms Reasons for information gap between information needs and availability.
Lecture 12: Data Quality and Integration
1 HCMC UT, 2008 Data Warehousing 1.Basic Concepts of data warehousing 2.Data warehouse architectures 3.Some characteristics of data warehouse data 4.The.
Chapter 13 The Data Warehouse
Summarized from various resources Modern Database Management
Chapter 11: Data Warehousing
Data Warehouse.
Chapter 1: Data Warehousing
Data Warehouse and OLAP
Introduction of Week 9 Return assignment 5-2
Data Warehouse.
Data Warehousing Concepts
Data Warehouse and OLAP
Presentation transcript:

Chapter 4 Data Warehousing

Outline Definition of Data Warehouse Reasons for creating Data Marts Benefits and characteristics of Data Warehouse Reasons for need of data warehousing Operational and Informational Systems Data Warehouse vs Data Mart Types of Systems Used Data warehouse architectures List four steps of data reconciliation Design a data mart Star Schema

Definition of Data Warehouse It is a huge central database that accepts, stores and maintain data from different sources and locations. Disparate sources may use different formats and technologies.

Definition of Data Mart A data mart is a simple form of a data warehouse that is focused on a single subject (or functional area), such as sales, finance or marketing. Data marts are small slices of the data warehouse. Data marts are often built and controlled by a single department within an organization. Given their single-subject focus, data marts usually draw data from only a few sources. The sources could be internal operational systems, a central data warehouse, or external data.

Reasons for creating a data mart Easy access to frequently needed data Creates collective view by a group of users Improves end-user response time Ease of creation Lower cost than implementing a full data warehouse Potential users are more clearly defined than in a full data warehouse Contains only business essential data and is less cluttered.

Benefits of Data Warehouse Collect data from multiple sources into a single database so a single query engine can be used to present data. Maintain data history, even if the source transaction systems do not. Integrate data from multiple source systems, enabling a central view across the enterprise. Improve data quality by flagging or even fixing bad data. Present the organization's information consistently (constantly and reliably). Provide a single common data model for all data of interest regardless of the data's source. Restructure the data so that it makes sense to the business users. Making decision–support queries are easier to write.

Example of using a Data Warehouse

Characteristics of Data Warehouse A data warehouse is a system used for reporting and data analysis. Integrating data from one or more disparate sources creates a central repository of data, a data warehouse (DW). Data warehouses store current and historical data and are used for creating trending reports for senior management reporting such as annual and quarterly comparisons. The data stored in the warehouse is uploaded from the operational systems.

Operational and Informational Systems

Data Warehouse Versus Data Mart

Types of systems used (1) Online Analytical Processing (OLAP) It is characterized by a low volume of transactions. Queries are often very complex and involve aggregations. OLAP databases store aggregated, historical data in multi-dimensional schemas (usually star schemas). Online Transaction Processing (OLTP) Characterized by a large number of transactions (INSERT, UPDATE, DELETE). OLTP databases contain detailed and current data. The schema used to store transactional databases is the entity model (usually 3NF).

Types of systems used (2) Predictive analysis It is about finding and quantifying hidden patterns in the data using complex mathematical models that can be used to predict future outcomes. Predictive analysis is different from OLAP in that OLAP focuses on historical data analysis and is reactive in nature, while predictive analysis focuses on the future.

Data Warehouse Architectures Generic Two-Level Architecture Independent Data Mart Dependent Data Mart and Operational Data Store Logical Data Mart and Real-Time Data Warehouse Three-Layer architecture All involve some form of extraction, transformation and loading (ETL)

Generic two-level data warehousing architecture One, company-wide warehouse Periodic extraction  data is not completely current in warehouse

Data Warehousing Architecture Independent Data Mart Data Warehousing Architecture Data marts: Mini-warehouses, limited in scope E T L Separate ETL for each independent data mart Data access complexity due to multiple data marts

Dependent data mart with operational data store: a three-level architecture Single ETL for Enterprise Data Warehouse (EDW) Simpler data access ODS provides option for obtaining current data Dependent data marts loaded from EDW

Logical data mart and real time warehouse architecture Near real-time ETL for Data Warehouse ODS and data warehouse are one and the same Data marts are NOT separate databases, but logical views of the data warehouse  Easier to create new data marts

Three-layer data architecture for a data warehouse

Data Characteristics: Status vs. Event Data Event = a database action (create/update/delete) that results from a transaction

Data Characteristics: Transient vs. Periodic Data With transient data, changes to existing records are written over previous records, thus destroying the previous data content Transient operational data

Data Characteristics: Transient vs. Periodic Data Periodic data are never physically altered or deleted once they have been added to the store Periodic warehouse data

The Reconciled Data Layer Typical operational data is: Transient–not historical Not normalized (perhaps due to denormalization for performance) Restricted in scope–not comprehensive Sometimes poor quality–inconsistencies and errors After ETL, data should be: Detailed–not summarized yet Historical–periodic Normalized–3rd normal form or higher Comprehensive–enterprise-wide perspective Timely–data should be current enough to assist decision-making Quality controlled–accurate with full integrity

Scrub or data cleansing Transform Load and Index The ETL Process Capture/Extract Scrub or data cleansing Transform Load and Index ETL = Extract, transform, and load

Steps in data reconciliation (1) Capture/Extract…obtaining a snapshot of a chosen subset of the source data for loading into the data warehouse Static extract = capturing a snapshot of the source data at a point in time Incremental extract = capturing changes that have occurred since the last static extract

Steps in data reconciliation (2) Scrub/Cleanse…uses pattern recognition and AI techniques to upgrade data quality Fixing errors: misspellings, erroneous dates, incorrect field usage, mismatched addresses, missing data, duplicate data, inconsistencies Also: decoding, reformatting, time stamping, conversion, key generation, merging, error detection/logging, locating missing data

Steps in data reconciliation (3) Transform = convert data from format of operational system to format of data warehouse Record-level: Selection–data partitioning Joining–data combining Aggregation–data summarization Field-level: single-field–from one field to one field multi-field–from many fields to one, or one field to many

Steps in data reconciliation (4) Load/Index= place transformed data into the warehouse and create indexes Refresh mode: bulk rewriting of target data at periodic intervals Update mode: only changes in source data are written to data warehouse

Single-field transformation In general–some transformation function translates data from old form to new form Algorithmic transformation uses a formula or logical expression Table lookup–another approach, uses a separate table keyed by source record code

Multifield transformation M:1–from many source fields to one target field 1:M–from one source field to many target fields

The star schema separates business process data into facts. Facts hold the measurable, quantitative data about a business, and dimensions which are descriptive attributes related to fact data. Examples of fact data include sales price, sale quantity, and time, distance, speed, and weight measurements.

Components of a star schema Fact tables contain factual or quantitative data Dimension tables contain descriptions about the subjects of the business 1:N relationship between dimension tables and fact tables Excellent for ad-hoc queries, but bad for online transaction processing Dimension tables are denormalized to maximize performance

Star schema example Fact table provides statistics for sales broken down by product, period and store dimensions

Star schema with sample data