 Definition of terms  Reasons for need of data warehousing  Describe three levels of data warehouse architectures  Describe two components of star.

Slides:



Advertisements
Similar presentations
Chapter 11: Data Warehousing
Advertisements

MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management
IS 4420 Database Fundamentals Chapter 11: Data Warehousing Leon Chen
Data Warehousing M R BRAHMAM.
Chapter 13 The Data Warehouse.
Data Warehouse Architecture Sakthi Angappamudali Data Architect, The Oregon State University, Corvallis 16 th May, 2005.
Decision Support and Data Warehouse. Decision supports Systems Components Data management function –Data warehouse Model management function –Analytical.
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.
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.
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
Components of the Data Warehouse Michael A. Fudge, Jr.
Chapter 4 Data Warehousing.
Data Warehousing.
Basic Concepts of Datawarehousing An Overview Prasanth Gurram.
Week 6 Lecture The Data Warehouse Samuel Conn, Asst. Professor
Chapter 9: data warehousing
Data Warehouse & Data Mining
MBA 664 Database Management Systems Dave Salisbury ( )
DW-1: Introduction to Data Warehousing. Overview What is Database What Is Data Warehousing Data Marts and Data Warehouses The Data Warehousing Process.
Data Warehouse Overview September 28, 2012 presented by Terry Bilskie.
Data warehousing and online analytical processing- Ref Chap 4) By Asst Prof. Muhammad Amir Alam.
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.
OLAP & DSS SUPPORT IN DATA WAREHOUSE By - Pooja Sinha Kaushalya Bakde.
The Data Warehouse “A data warehouse is a subject-oriented, integrated, time-variant, and nonvolatile collection of “all” an organisation’s data in support.
Data Warehousing.
1 Reviewing Data Warehouse Basics. Lessons 1.Reviewing Data Warehouse Basics 2.Defining the Business and Logical Models 3.Creating the Dimensional Model.
Chapter 9: data warehousing
5 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.
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.
Building Data and Document-Driven Decision Support Systems How do managers access and use large databases of historical and external facts?
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.
1 Categories of data Operational and very short-term decision making data Current, short-term decision making, related to financial transactions, detailed.
UNIT-II Principles of dimensional modeling
Chapter 5 DATA WAREHOUSING Study Sections 5.2, 5.3, 5.5, Pages: & Snowflake schema.
Decision supports Systems Components
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
Data Resource Management Agenda What types of data are stored by organizations? How are different types of data stored? What are the potential problems.
1 Copyright © Oracle Corporation, All rights reserved. Business Intelligence and Data Warehousing.
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.
1 Management Information Systems M Agung Ali Fikri, SE. MM.
Data Warehouse – Your Key to Success. Data Warehouse A data warehouse is a  subject-oriented  Integrated  Time-variant  Non-volatile  Restructure.
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.
Data Mining and Data Warehousing: Concepts and Techniques What is a Data Warehouse? Data Warehouse vs. other systems, OLTP vs. OLAP Conceptual Modeling.
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.
Data warehouse and OLAP
Chapter 13 The Data Warehouse
Summarized from various resources Modern Database Management
Chapter 11: Data Warehousing
Data Warehouse.
Competing on Analytics II
Chapter 1: Data Warehousing
Introduction of Week 9 Return assignment 5-2
Data Warehouse.
Data Warehousing Concepts
Presentation transcript:

 Definition of terms  Reasons for need of data warehousing  Describe three levels of data warehouse architectures  Describe two components of star schema  Estimate fact table size  Design a data mart  Develop requirements for a data mart

 A subject-oriented, integrated, time-variant, non- updatable collection of data used in support of management decision-making processes › Subject-oriented  Data warehouse is organized around the key subjects of the enterprise  e.g. customers, patients, students, products › Integrated:  Data are defined using consistent naming conventions, formats, encoding structures; from multiple data sources › Time-variant:  Data contain a time dimension: may be used to study trends and changes › Non-updatable:  Data in DW  loaded & refresh from operational systems  Read-only, periodically refreshed

 Data warehousing is the process whereby organizations create and maintain data warehouses and extract meaning and inform decision making from their informational assets through these data warehouse

 Applications that data warehouse supports are: › OLAP (Online Analytical Processing) is a term used to describe the analysis of complex data from the data warehouse. › DSS (Decision Support Systems) also known as EIS (Executive Information Systems) supports organization’s leading decision makers for making complex and important decisions. › Data Mining is used for knowledge discovery, the process of searching data for unanticipated new knowledge.

 Two major factors: › A business requires integrated, company-wide view of high-quality information (from different databases) › IS department must separate informational from operational systems to improve performance in managing company.

 For decision making: necessary to provide a single, corporate view of the information  Example of the difficulty of deriving a single corporate view

Examples of heterogeneous data From Class Registration System From Personnel System From Health Centre System

 Issues need to be resolved: › Inconsistent key structures - primary keys › Synonyms - name of primary keys › Free-form fields versus structured fields – simple vs composite attributes › Inconsistent data values › Missing data

 Why organizations need to bring data together from various systems of record? › More profitable › More competitive › To grow by adding value for customers  Accomplished by: › Increasing speed and flexibility of decision making › Improving business processes › Gaining a clear understanding of customer behavior

 Operational system: › A system that is used to run a business in real time, based on current data › Must process large volumes of relatively simple read/write transactions, while providing fast response. › Example: sales order processing, reservation systems  Informational system › Designed to support decision making based on historical point-in-time and prediction data. › Designed for complex queries or data mining applications › Example: Sales trend analysis, customer segmentation

 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)

 A data warehouse that is limited in scope, whose data are obtained by selecting and summarizing data from a data warehouse or from separate extract, transform and load processes from data source systems.

 A data mart filled with data extracted from the operational environment without benefit of a data warehouse  Four basic steps: 1. Data are extracted from various internal and external source system files and databases 2. Data are transformed and integrated before being loaded into the data marts  Transactions may be sent to the source systems to correct errors discovered in data staging  Data Warehouse  collection of data marts

 Four basic steps (continue): 3. Data warehouse is a set of physically distinct databases organized for decision support. Contains both detailed and summary data 4. Users access the data warehouse by means of a variety of query languages and analytical tools.  Results may be fed back to data warehouse and operational databases.

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

 Several limitations: 1. A separate ETL processes is developed for each data mart 2. Data marts may not be consistent with one another 3. No capability to drill down into greater detail or into related facts in other data marts 4. Scaling costs are excessive because every new application, which creates a separate data mart, repeats all the extract and load steps. 5. Cost to make the separate data marts consistent are quite high.

 Operational Data Store: › An integrated, subject-oriented, continuously updatable, current-valued (with recent history), enterprise-wide, detailed database designed to serve operational users as they do decision making  Enterprise Data Warehouse (EDW): › A centralized, integrated data warehouse that is the control point and single source of all data made available to end users for decision support applications  Dependent Data Mart (from EDW): › A data mart filled exclusively from the enterprise data warehouse and its reconciled

Dependent data mart with operational data store: a three-level architecture E T L Single ETL for (EDW) enterprise data warehouse (EDW) Simpler data access ODS ODS provides option for obtaining current data Dependent data marts loaded from EDW

 Logical data mart: › A data mart created by a relational view of a data warehouse.  Real-Time Data Warehouse: › An enterprise data warehouse that accepts near-real- time feeds of transactional data from the systems of record, analyzes warehouse data, and in near-real- time relays business rules to the data warehouse and systems of record so that immediate action can be taken in response to business events.

E T L Near real-time ETL for Data Warehouse ODS 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 Logical data mart and real time warehouse architecture

Data Warehouse Versus Data Mart

 Operational data are stored in the various operational systems of record throughout the organization  Reconciled data are the type of data stored in the enterprise data warehouse and an operational data store › Reconciled data: detailed, current data intended to be the single, source for all decision support applications  Derived data are the type of data stored in each of the data marts › Derived data: data that have been selected, formatted and aggregated for end-user decision support applications.

Three-layer data architecture for a data warehouse

 Enterprise Data Model: Presents a total picture explaining the data required by an organization.  Reconciled Data: must conform to the design specified in the EDM  EDM: controls the phased evolution of the DW

 Metadata: technical and business data that describe the properties or characteristics of other data › Operational metadata  Describe the data in the various operational systems (including the external data) that feed the EDW › EDW metadata  Derived from EDM. Describe the reconciled data layer as well as the rules for extracting, transforming and loading operational data into reconciled data › Data mart metadata  Described the derived data layer and the rules for transforming reconciled data to derived data

Status Event = a database action (create/update/delete) that results from a transaction Example of DBMS log entry

With transient data, changes to existing records are written over previous records, thus destroying the previous data content Transient operational data

Periodic data are never physically altered or deleted once they have been added to the store Periodic warehouse data C: Create U: Update D: Delete

 Objectives › Ease of use for decision support applications › Fast response to predefined user queries › Customized data for particular target audiences › Ad-hoc query support › Data mining capabilities  Characteristics › Detailed (mostly periodic) data › Aggregate (for summary) › Distributed (to departmental servers)

 A simple database design in which dimensional data are separated from fact or event data.  A dimensional model: another name for star schema  Suited ad hoc queries  Not suited to online transaction processing: not used in operational systems, operational data stores or an EDW.

star schema 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

Figure A: Star schema with sample data

 Dimension table keys must be surrogate (non-intelligent and non-business related), because: › Keys may change over time › Length/format consistency  Granularity of Fact Table–what level of detail do you want? › Transactional grain–finest level › Aggregated grain–more summarized › Finer grains  better market basket analysis capability › Finer grain  more dimension tables, more rows in fact table  Duration of the database–how much history should be kept? › Natural duration–13 months or 5 quarters › Financial institutions may need longer duration › Older data is more difficult to source and cleanse

 Depends on the number of dimensions and the grain of the fact table  Number of rows = product of number of possible values for each dimension associated with the fact table  Example: assume the following for Figure A:  Total rows calculated as follows (assuming only half the products record sales for a given month):

 Estimate the size(in bytes) for fact table: Sales › 6 fields – each four bytes › Total size of the fact table: › Total size = 120,000,000 rows x 6 fields x 4 bytes/field = 2,880,000, gb  Total rows (month)  Total rows (daily) › Total rows = 1000 stores x 5000 active products x 720 days = 3,600,000,000 rows

 Multiple Facts Tables › Can improve performance › Often used to store facts for different combinations of dimensions › Conformed dimensions: one or more dimension tables associated with two or more fact tables for which the dimension tables have the same business meaning and primary key with each fact table.

 Factless Facts Tables › No nonkey data, but foreign keys for associated dimensions › Used for:  Tracking events  Inventory coverage

 Tools to query and analyze data stored in data warehouses and data marts: › Traditional query and reporting tools › Online Analytical Processing (OLAP), MOLAP, ROLAP › Data Visualization Tools  Data visualization–representing data in graphical/multimedia formats for analysis › Data Mining Tools  Data Mining -Knowledge discovery using a blend of statistical, AI, and computer graphics techniques

 Identify subjects of the data mart  Identify dimensions and facts  Indicate how data is derived from enterprise data warehouses, including derivation rules  Indicate how data is derived from operational data store, including derivation rules  Identify available reports and predefined queries  Identify data analysis techniques (e.g. drill-down)  Identify responsible people

 The use of a set of graphical tools that provides users with multidimensional views of their data and allows them to analyze the data using simple windowing techniques  General term for several categories of data warehouse and data mart access tools.  Relational OLAP (ROLAP) › Traditional relational representation › Use variations of SQL and view the database as a traditional relational database  Multidimensional OLAP (MOLAP) › Cube › Cube structure › Load data into an intermediate structure, usually a three or higher dimensional array (hypercube)

 OLAP Operations › Cube slicing–come up with 2-D view of data

 OLAP Operations › Drill-down–going from summary to more detailed views Starting with summary data, users can obtain details for particular cells