CSE6011 Data Warehouse and OLAP  Why data warehouse  What’s data warehouse  What’s multi-dimensional data model  What’s difference between OLAP and.

Slides:



Advertisements
Similar presentations
An overview of Data Warehousing and OLAP Technology Presented By Manish Desai.
Advertisements

Management Information Systems, Sixth Edition
Data Warehousing CPS216 Notes 13 Shivnath Babu. 2 Warehousing l Growing industry: $8 billion way back in 1998 l Range from desktop to huge: u Walmart:
Data Warehousing M R BRAHMAM.
Data Management for Decision Support Session - 1 Prof. Bharat Bhasker.
ICS 421 Spring 2010 Data Warehousing (1) Asst. Prof. Lipyeow Lim Information & Computer Science Department University of Hawaii at Manoa 3/18/20101Lipyeow.
Chapter 3 Database Management
Distributed DBMSs A distributed database is a single logical database that is physically distributed to computers on a network. Homogeneous DDBMS has the.
Data Warehouse Models and OLAP Operations
10/30/2001Database Management -- R. Larson Data Warehousing University of California, Berkeley School of Information Management and Systems SIMS 257: Database.
Introduction to Data Warehousing Enrico Franconi CS 636.
Chapter 13 The Data Warehouse
DATA WAREHOUSE (Muscat, Oman).
Data Warehousing DSCI 4103 Dr. Mennecke Introduction and Chapter 1.
A Comparsion of Databases and Data Warehouses Name: Liliana Livorová Subject: Distributed Data Processing.
M ODULE 5 Metadata, Tools, and Data Warehousing Section 4 Data Warehouse Administration 1 ITEC 450.
Joachim Hammer 1 Data Warehousing Overview, Terminology, and Research Issues Joachim Hammer.
1 Database Administration (CG168) – Lecture 10a: Introduction to Data Warehousing Data Warehousing “An Introduction” Dr. Akhtar Ali School of Computing,
Basic Concepts of Datawarehousing An Overview Prasanth Gurram.
Week 6 Lecture The Data Warehouse Samuel Conn, Asst. Professor
Data Management for Decision Support Session-2 Prof. Bharat Bhasker.
Data Warehouse & Data Mining
Ihr Logo Chapter 5 Business Intelligence: Data Warehousing, Data Acquisition, Data Mining, Business Analytics, and Visualization Turban, Aronson, and Liang.
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.
Datawarehouse Objectives
© 2005 Prentice Hall, Decision Support Systems and Intelligent Systems, 7th Edition, Turban, Aronson, and Liang 5-1 Chapter 5 Business Intelligence: Data.
Data warehousing and online analytical processing- Ref Chap 4) By Asst Prof. Muhammad Amir Alam.
Data Warehouse Fundamentals Rabie A. Ramadan, PhD 2.
1 Data Warehouses BUAD/American University Data Warehouses.
OLAP & DSS SUPPORT IN DATA WAREHOUSE By - Pooja Sinha Kaushalya Bakde.
C6 Databases. 2 Traditional file environment Data Redundancy and Inconsistency: –Data redundancy: The presence of duplicate data in multiple data files.
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.
Decision Support and Date Warehouse Jingyi Lu. Outline Decision Support System OLAP vs. OLTP What is Date Warehouse? Dimensional Modeling Extract, Transform,
Data Management for Decision Support Session-3 Prof. Bharat Bhasker.
6.1 © 2010 by Prentice Hall 6 Chapter Foundations of Business Intelligence: Databases and Information Management.
Sachin Goel (68) Manav Mudgal (69) Piyush Samsukha (76) Rachit Singhal (82) Richa Somvanshi (85) Sahar ( )
1 Categories of data Operational and very short-term decision making data Current, short-term decision making, related to financial transactions, detailed.
Data Warehouses and OLAP Data Management Dennis Volemi D61/70384/2009 Judy Mwangoe D61/73260/2009 Jeremy Ndirangu D61/75216/2009.
Ayyat IT Group Murad Faridi Roll NO#2492 Muhammad Waqas Roll NO#2803 Salman Raza Roll NO#2473 Junaid Pervaiz Roll NO#2468 Instructor :- “ Madam Sana Saeed”
Management Information Systems, 4 th Edition 1 Chapter 8 Data and Knowledge Management.
Business Intelligence Transparencies 1. ©Pearson Education 2009 Objectives What business intelligence (BI) represents. The technologies associated with.
© 2003 Prentice Hall, Inc.3-1 Chapter 3 Database Management Information Systems Today Leonard Jessup and Joseph Valacich.
Introduction to Data Warehousing. Why Data Warehouse? Necessity is the mother of invention.
Data Warehousing/Mining 1 Data Warehousing/Mining Introduction.
The Need for Data Analysis 2 Managers track daily transactions to evaluate how the business is performing Strategies should be developed to meet organizational.
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 Data Warehousing and Decision Support Chapter 25.
Introduction to OLAP and Data Warehouse Assoc. Professor Bela Stantic September 2014 Database Systems.
An Overview of Data Warehousing and OLAP Technology
Data Warehousing COMP3017 Advanced Databases Dr Nicholas Gibbins –
CSE6011 Implementing a Warehouse  Monitoring: Sending data from sources  Integrating: Loading, cleansing,...  Processing: Query processing, indexing,...
Management Information Systems by Prof. Park Kyung-Hye Chapter 7 (8th Week) Databases and Data Warehouses 07.
Data Mining and Data Warehousing: Concepts and Techniques What is a Data Warehouse? Data Warehouse vs. other systems, OLTP vs. OLAP Conceptual Modeling.
Data Warehouse and OLAP
Data warehouse.
Data Warehousing CIS 4301 Lecture Notes 4/20/2006.
Data warehouse and OLAP
Chapter 13 The Data Warehouse
Instructor: Dan Hebert
Data Warehouse and OLAP
Data Warehouse Overview September 28, 2012 presented by Terry Bilskie
Introduction to Data Warehousing
Data Warehousing: Data Models and OLAP operations
Data Warehouse and OLAP
Data Warehouse.
Introduction to Data Warehousing
Data Warehouse and OLAP
Data Warehouse and OLAP Technology
Presentation transcript:

CSE6011 Data Warehouse and OLAP  Why data warehouse  What’s data warehouse  What’s multi-dimensional data model  What’s difference between OLAP and OLTP

CSE6012 Relational Database Theory  Relational database modeling process – normalization, relations or tables are progressively decomposed into smaller relations to a point where all attributes in a relation are very tightly coupled with the primary key of the relation.  First normal form: data items are atomic,  Second normal form: attributes fully depend on primary key,  Third normal form: all non-key attributes are completely independent of each other.

CSE6013 University Tables staff Num first Name last Name gender 1234JaneSmithF 2323TomGreenM 1111JimBrow n M Staff matricN um fNamelNamegenderyear reg super visor MaryHillF SteveGrayM Jimm y SmithM Student course code student Num c c c c Etc etc Enrolled course code credit value c1120 c360 c560 Course

CSE6014 Relation Database Theory, cont’d  The process of normalization generally breaks a table into many independent tables.  A normalized database yields a flexible model, making it easy to maintain dynamic relationships between business entities.  A relational database system is effective and efficient for operational databases – a lot of updates (aiming at optimizing update performance).

CSE6015 Problems  A fully normalized data model can perform very inefficiently for queries.  Historical data are usually large with static relationships:  Unnecessary joins may take unacceptably long time  Historical data are diverse

CSE6016 Problem: Heterogeneous Information Sources “Heterogeneities are everywhere” l Different interfaces l Different data representations l Duplicate and inconsistent information Personal Databases Digital Libraries Scientific Databases World Wide Web

CSE6017 Goal: Unified Access to Data Integration System  Collects and combines information  Provides integrated view, uniform user interface  Supports sharing World Wide Web Digital LibrariesScientific Databases Personal Databases

CSE6018 The Traditional Research Approach Source... Integration System... Metadata Clients Wrapper  Query-driven (lazy, on-demand)

CSE6019 Disadvantages of Query-Driven Approach  Delay in query processing  Slow or unavailable information sources  Complex filtering and integration  Inefficient and potentially expensive for frequent queries  Competes with local processing at sources  Hasn’t caught on in industry

CSE60110 The Warehousing ApproachDataWarehouse Clients Source... Extractor/ Monitor Integration System... Metadata Extractor/ Monitor Extractor/ Monitor  Information integrated in advance  Stored in wh for direct querying and analysis

CSE60111 Advantages of Warehousing Approach  High query performance  But not necessarily most current information  Doesn’t interfere with local processing at sources  Complex queries at warehouse  OLTP at information sources  Information copied at warehouse  Can modify, annotate, summarize, restructure, etc.  Can store historical information  Security, no auditing  Has caught on in industry

CSE60112 Not Either-Or Decision  Query-driven approach still better for  Rapidly changing information  Rapidly changing information sources  Truly vast amounts of data from large numbers of sources  Clients with unpredictable needs

CSE60113 What is a Data Warehouse? A Practitioners Viewpoint “A data warehouse is simply a single, complete, and consistent store of data obtained from a variety of sources and made available to end users in a way they can understand and use it in a business context.” -- Barry Devlin, IBM Consultant

CSE60114 What is a Data Warehouse? An Alternative Viewpoint “A DW is a  subject-oriented,  integrated,  time-varying,  non-volatile collection of data that is used primarily in organizational decision making.” -- W.H. Inmon, Building the Data Warehouse, 1992

CSE60115 A Data Warehouse is...  Stored collection of diverse data  A solution to data integration problem  Single repository of information  Subject-oriented  Organized by subject, not by application  Used for analysis, data mining, etc.  Optimized differently from transaction- oriented db  User interface aimed at executive

CSE60116 … Cont’d  Large volume of data (Gb, Tb)  Non-volatile  Historical  Time attributes are important  Updates infrequent  May be append-only  Examples  All transactions ever at Sainsbury’s  Complete client histories at insurance firm  LSE financial information and portfolios

CSE60117 Generic Warehouse Architecture Extractor/ Monitor Extractor/ Monitor Extractor/ Monitor Integrator Warehouse Client Design Phase Maintenance Loading... Metadata Optimization Query & Analysis

CSE60118 Data Warehouse Architectures: Conceptual View  Single-layer  Every data element is stored once only  Virtual warehouse  Two-layer  Real-time + derived data  Most commonly used approach in industry today “Real-time data” Operational systems Informational systems Derived Data Real-time data Operational systems Informational systems

CSE60119 Three-layer Architecture: Conceptual View  Transformation of real-time data to derived data really requires two steps Derived Data Real-time data Operational systems Informational systems Reconciled Data Physical Implementation of the Data Warehouse View level “Particular informational needs”

CSE60120 Data Warehousing: Two Distinct Issues (1) How to get information into warehouse “Data warehousing” (2) What to do with data once it’s in warehouse “Warehouse DBMS”  Both rich research areas  Industry has focused on (2)

CSE60121 Issues in Data Warehousing  Warehouse Design  Extraction  Wrappers, monitors (change detectors)  Integration  Cleansing & merging  Warehousing specification & Maintenance  Optimizations  Miscellaneous (e.g., evolution)

CSE60122  OLTP: On Line Transaction Processing  Describes processing at operational sites  OLAP: On Line Analytical Processing  Describes processing at warehouse OLTP vs. OLAP

CSE60123 Warehouse is a Specialized DB Standard DB (OLTP)  Mostly updates  Many small transactions  Mb - Gb of data  Current snapshot  Index/hash on p.k.  Raw data  Thousands of users (e.g., clerical users) Warehouse (OLAP)  Mostly reads  Queries are long and complex  Gb - Tb of data  History  Lots of scans  Summarized, reconciled data  Hundreds of users (e.g., decision-makers, analysts)

CSE60124 Decision Support  Information technology to help the knowledge worker (executive, manager, analyst) make faster & better decisions  “What were the sales volumes by region and product category for the last year?”  “How did the share price of comp. manufacturers correlate with quarterly profits over the past 10 years?”  “Which orders should we fill to maximize revenues?”  On-line analytical processing (OLAP) is an element of decision support systems (DSS)

CSE60125 Three-Tier Decision Support Systems  Warehouse database server  Almost always a relational DBMS, rarely flat files  OLAP servers  Relational OLAP (ROLAP): extended relational DBMS that maps operations on multidimensional data to standard relational operators  Multidimensional OLAP (MOLAP): special-purpose server that directly implements multidimensional data and operations  Clients  Query and reporting tools  Analysis tools  Data mining tools

CSE60126 The Complete Decision Support System Information SourcesData Warehouse Server (Tier 1) OLAP Servers (Tier 2) Clients (Tier 3) Operational DB’s Semistructured Sources extract transform load refresh etc. Data Marts Data Warehouse e.g., MOLAP e.g., ROLAP serve Analysis Query/Reporting Data Mining serve

CSE60127 Data Warehouse vs. Data Marts  Enterprise warehouse: collects all information about subjects ( customers,products,sales,assets, personnel ) that span the entire organization  Requires extensive business modeling (may take years to design and build)  Data Marts: Departmental subsets that focus on selected subjects  Marketing data mart: customer, product, sales  Faster roll out, but complex integration in the long run  Virtual warehouse: views over operational dbs  Materialize sel. summary views for efficient query processing  Easy to build but require excess capability on operat. db servers

CSE60128 OLAP for Decision Support  OLAP = Online Analytical Processing  Support (almost) ad-hoc querying for business analyst  Think in terms of spreadsheets  View sales data by geography, time, or product  Extend spreadsheet analysis model to work with warehouse data  Large data sets  Semantically enriched to understand business terms  Combine interactive queries with reporting functions  Multidimensional view of data is the foundation of OLAP  Data model, operations, etc.

CSE60129 Approaches to OLAP Servers  Relational DBMS as Warehouse Servers  Two possibilities for OLAP servers  (1) Relational OLAP (ROLAP)  Relational and specialized relational DBMS to store and manage warehouse data  OLAP middleware to support missing pieces  (2) Multidimensional OLAP (MOLAP)  Array-based storage structures  Direct access to array data structures

CSE60130 OLAP Server: Query Engine Requirements  Aggregates (maintenance and querying)  Decide what to precompute and when  Query language to support multidimensional operations  Standard SQL falls short  Scalable query processing  Data intensive and data selective queries