1 Data Warehouses C hapter 2. 2 Chapter 2 Outline Chapter 2 Outline – Introduction –Data Warehouses –Data Warehouse in Organisation – OLTP vs. OLAP –Why.

Slides:



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

Outline What is a data warehouse? A multi-dimensional data model Data warehouse architecture Data warehouse implementation Further development of data.
April 30, Data Warehousing and OLAP Technology: An Overview  What is a data warehouse?  Data warehouse architecture  From data warehousing to.
Data Warehousing.
Data Warehousing Willem Visser RW334. Somebody is watching! Everybody seems to be recording your every move Loyalty cards Cookies – Facebook, Twitter,…
Introduction to Data Warehousing CPS Notes 6.
ICS 421 Spring 2010 Data Warehousing 2 Asst. Prof. Lipyeow Lim Information & Computer Science Department University of Hawaii at Manoa 3/30/20101Lipyeow.
ICS 421 Spring 2010 Data Warehousing (1) Asst. Prof. Lipyeow Lim Information & Computer Science Department University of Hawaii at Manoa 3/18/20101Lipyeow.
The Role of Data Warehousing and OLAP Technologies CS 536 – Data Mining These slides are adapted from J. Han and M. Kamber’s book slides (
1 CIS *717.2 Data Warehouse Design Week 2 Dimensional Modeling Primer Data Warehouse Models OLAP Operations Instructor Carmela R. Balassiano Feb 5, Spring.
Data Warehouses and OLAP
Data Warehousing Xintao Wu. Evolution of Database Technology (See Fig. 1.1) 1960s: Data collection, database creation, IMS and network DBMS 1970s: Relational.
Data Warehousing and OLAP (Under construction)
Data Warehousing.
Dr. M. Sulaiman Khan Dept. of Computer Science University of Liverpool 2010 COMP207: Data Mining Data Warehousing COMP207: Data Mining.
1 Lecture 10: More OLAP - Dimensional modeling
© Tan,Steinbach, Kumar Introduction to Data Mining 8/05/ Data Warehouse and Data Cube Lecture Notes for Chapter 3 Introduction to Data Mining By.
Ch3 Data Warehouse part2 Dr. Bernard Chen Ph.D. University of Central Arkansas Fall 2009.
1 Data Warehousing and OLAP. 2 Data Warehousing & OLAP Defined in many different ways, but not rigorously.  A decision support database that is maintained.
Data Warehousing DSCI 4103 Dr. Mennecke Introduction and Chapter 1.
Tanvi Madgavkar CSE 7330 FALL Ralph Kimball states that : A data warehouse is a copy of transaction data specifically structured for query and analysis.
CS346: Advanced Databases
An Overview of Data Warehousing and OLTP Technology Presenter: Parminder Jeet Kaur Discussion Lead: Kailang.
Ch3 Data Warehouse Dr. Bernard Chen Ph.D. University of Central Arkansas Fall 2010.
Dr. Bernard Chen Ph.D. University of Central Arkansas
8/20/ Data Warehousing and OLAP. 2 Data Warehousing & OLAP Defined in many different ways, but not rigorously. Defined in many different ways, but.
Data Warehousing and Decision Support courtesy of Jiawei Han, Larry Kerschberg, and etc. for some slides. Jianlin Feng School of Software SUN YAT-SEN UNIVERSITY.
An overview of Data Warehousing and OLAP Technology
School of Management, HUST
Basic Concepts of Datawarehousing An Overview Prasanth Gurram.
Data Warehousing.
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.
Data Warehousing Xintao Wu. Can You Easily Answer These Questions? What are Personnel Services costs across all departments for all funding sources? What.
1 Data Warehouses BUAD/American University Data Warehouses.
OLAP & DSS SUPPORT IN DATA WAREHOUSE By - Pooja Sinha Kaushalya Bakde.
CISB594 – Business Intelligence
October 28, Data Warehouse Architecture Data Sources Operational DBs other sources Analysis Query Reports Data mining Front-End Tools OLAP Engine.
Decision Support and Date Warehouse Jingyi Lu. Outline Decision Support System OLAP vs. OLTP What is Date Warehouse? Dimensional Modeling Extract, Transform,
Han: Dataware Houses and OLAP 1 What is Data Warehouse? Defined in many different ways, but not rigorously. A decision support database that is maintained.
Dr. N. MamoulisAdvanced Database Technologies1 Topic 6: Data Warehousing & OLAP Defined in many different ways, but not rigorously. A decision support.
Ch3 Data Warehouse Dr. Bernard Chen Ph.D. University of Central Arkansas Fall 2009.
CISB594 – Business Intelligence Data Warehousing Part I.
CISB594 – Business Intelligence Data Warehousing Part I.
Data Mining Data Warehouses.
OLAP On Line Analytic Processing. OLTP On Line Transaction Processing –support for ‘real-time’ processing of orders, bookings, sales –typically access.
Managing Data for DSS II. Managing Data for DS Data Warehouse Common characteristics : –Database designed to meet analytical tasks comprising of data.
CISB594 – Business Intelligence Data Warehousing Part I.
January 21, 2016Data Mining: Concepts and Techniques 1 Chapter 3: Data Warehousing and OLAP Technology: An Overview What is a data warehouse? A multi-dimensional.
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.
Datawarehousing and OLAP C.Eng 714 Spring
Data Warehouses and OLAP. Data Warehousing and OLAP Technology for Data Mining  What is a data warehouse?  A multi-dimensional data model  Data warehouse.
Data Mining and Data Warehousing: Concepts and Techniques What is a Data Warehouse? Data Warehouse vs. other systems, OLTP vs. OLAP Conceptual Modeling.
Data Mining: Data Warehousing
Introduction to Data Warehousing
Data warehouse and OLAP
A multi-dimensional data model
Information Management course
Data Warehouse—Subject‐Oriented
OLAP Concepts and Techniques
Data Warehouse.
Data Warehousing and OLAP Technology for Data Mining
Lecture 4: From Data Cubes to ML
Overview of Data Warehousing and OLAP
Data Warehouse Overview September 28, 2012 presented by Terry Bilskie
Data Warehousing and Decision Support Chapter 25
Dr. Bernard Chen Ph.D. University of Central Arkansas Fall 2009
Data Mining: Concepts and Techniques
Data Warehouse and OLAP Technology
Presentation transcript:

1 Data Warehouses C hapter 2

2 Chapter 2 Outline Chapter 2 Outline – Introduction –Data Warehouses –Data Warehouse in Organisation – OLTP vs. OLAP –Why Separate Data Warehouse? – A multi-dimensional data model

3 Merger of Malaysian Banks

4 Jobstreet.com.my

5

6 Data Warehouses According to the original definition of Bill Inmon (1996), the father of data warehouses, a data warehouse is a subject-oriented, integrated, time- variant, non-volatile collection of data in support of management’s decision- making process. According to the original definition of Bill Inmon (1996), the father of data warehouses, a data warehouse is a subject-oriented, integrated, time- variant, non-volatile collection of data in support of management’s decision- making process.

7 Data Warehouse—Subject- Oriented Organized around major subjects, such as customer, product, sales. Organized around major subjects, such as customer, product, sales. Focusing on the modeling and analysis of data for decision makers, not on daily operations or transaction processing. Focusing on the modeling and analysis of data for decision makers, not on daily operations or transaction processing. Provide a simple and concise view around particular subject issues by excluding data that are not useful in the decision support process. Provide a simple and concise view around particular subject issues by excluding data that are not useful in the decision support process.

8 Data Warehouse—Integrated Constructed by integrating multiple, heterogeneous data sources Constructed by integrating multiple, heterogeneous data sources –relational databases, flat files, on-line transaction records Data cleaning and data integration techniques are applied. Data cleaning and data integration techniques are applied. –Ensure consistency in naming conventions, encoding structures, attribute measures, etc. among different data sources »E.g., Hotel price: currency, tax, breakfast covered, etc. –When data is moved to the warehouse, it is converted.

9 Data Warehouse—Time Variant The time horizon for the data warehouse is significantly longer than that of operational systems. The time horizon for the data warehouse is significantly longer than that of operational systems. –Operational database: current value data. –Data warehouse data: provide information from a historical perspective (e.g., past 5-10 years) Every key structure in the data warehouse Every key structure in the data warehouse –Contains an element of time, explicitly or implicitly –But the key of operational data may or may not contain “time element”.

10 Data Warehouse—Non-Volatile A physically separate store of data transformed from the operational environment. A physically separate store of data transformed from the operational environment. Operational update of data does not occur in the data warehouse environment. Operational update of data does not occur in the data warehouse environment. –Does not require transaction processing, recovery, and concurrency control mechanisms –Requires only two operations in data accessing: »initial loading of data and access of data.

11 data warehouses are the foundation of the business IT infrastructures that collect data from several dispersed information sources and are designed to allow decision makers have prompt access to information for purpose of reporting are the foundation of the business IT infrastructures that collect data from several dispersed information sources and are designed to allow decision makers have prompt access to information for purpose of reporting

Data Warehouse in Organisation Aetna Life uses IBM’s data warehouse and data mining tools to have a better understanding for meeting the specific needs of its customers Aetna Life uses IBM’s data warehouse and data mining tools to have a better understanding for meeting the specific needs of its customers –to estimate the performance of new products and services. Guinness Limited is a British company that has achieved its ability to be a major global force - while serving the local market needs to overcome the difficulties of extracting data from transaction processing systems for populating a data warehouse with valuable business information - while serving the local market needs to overcome the difficulties of extracting data from transaction processing systems for populating a data warehouse with valuable business information 12

Data Warehouse in Organisation Parkson Corporation Sdn Bhd is a Malaysian company that has increased marketing program efficiency and market share through implementation of data warehouse and data mining to work for its 29 stores in Malaysia Parkson Corporation Sdn Bhd is a Malaysian company that has increased marketing program efficiency and market share through implementation of data warehouse and data mining to work for its 29 stores in Malaysia 13

Data Warehouse in Organisation According to SAS Asia Pacific Risk Management Practice head, John Foulley said many banks in Malaysia had the problem of integrating their data efficiently and this had led to misplacement of information and poor quality data. According to SAS Asia Pacific Risk Management Practice head, John Foulley said many banks in Malaysia had the problem of integrating their data efficiently and this had led to misplacement of information and poor quality data. According to this statement, most of Malaysian banks do not have implementation of data warehouse yet. The local banks have to implement Basel II framework was instructed by Bank Negara for it is either 2008 or According to this statement, most of Malaysian banks do not have implementation of data warehouse yet. The local banks have to implement Basel II framework was instructed by Bank Negara for it is either 2008 or The framework addresses on credit and operational risks which requires the ready of data warehouse. The framework addresses on credit and operational risks which requires the ready of data warehouse. 14

Data Warehouse in Organisation Alliance Banking Group allocated 36 million to build data warehouse. Alliance Banking Group allocated 36 million to build data warehouse. Insurance Services Malaysia handles more than 50 insurance companies in Malaysia. They require insurance companies to deliver clean, structured data to them to build the data warehouse. Insurance Services Malaysia handles more than 50 insurance companies in Malaysia. They require insurance companies to deliver clean, structured data to them to build the data warehouse. 15

Data Warehouse in Organisation According to Malaysia's EON Bank, they have problem to access the complete view of the customer due to loan information sitting in one transactional system and credit details in another system. According to Malaysia's EON Bank, they have problem to access the complete view of the customer due to loan information sitting in one transactional system and credit details in another system. the AmBank Group has invested over RM10 million involving the implementation of data integration and management solution. the AmBank Group has invested over RM10 million involving the implementation of data integration and management solution. 16

17 OLTP vs. OLAP

18

19 Why Separate Data Warehouse? High performance for both systems High performance for both systems –DBMS— tuned for OLTP: access methods, indexing, concurrency control, recovery –Warehouse—tuned for OLAP: complex OLAP queries, multidimensional view, consolidation. Different functions and different data: Different functions and different data: –missing data: Decision support requires historical data which operational DBs do not typically maintain –data consolidation: DS requires consolidation (aggregation, summarization) of data from heterogeneous sources –data quality: different sources typically use inconsistent data representations, codes and formats which have to be reconciled

20 Relational View of Data/ Spreadsheet

21 From Tables/ Relations and Spreadsheets to Data Cubes A data warehouse is based on a multidimensional data model which views data in the form of a data cube A data warehouse is based on a multidimensional data model which views data in the form of a data cube A data cube, such as sales, allows data to be modeled and viewed in multiple dimensions A data cube, such as sales, allows data to be modeled and viewed in multiple dimensions –Dimension tables, such as item (item_name, brand, type), or time(day, week, month, quarter, year) –Fact table contains measures (such as dollars_sold) and keys to each of the related dimension tables

22 Conceptual Modeling of Data Warehouses Modeling data warehouses: dimensions & measures Modeling data warehouses: dimensions & measures –Star schema: A fact table in the middle connected to a set of dimension tables –Snowflake schema: A refinement of star schema where some dimensional hierarchy is normalized into a set of smaller dimension tables, forming a shape similar to snowflake

23 Star Schema

24 Another Example of Star Schema time_key day day_of_the_week month quarter year time location_key street city province_or_street country location Sales Fact Table time_key item_key branch_key location_key units_sold dollars_sold avg_sales Measures item_key item_name brand type supplier_type item branch_key branch_name branch_type branch

25 Example of Snowflake Schema time_key day day_of_the_week month quarter year time location_key street city_key location Sales Fact Table time_key item_key branch_key location_key units_sold dollars_sold avg_sales Measures item_key item_name brand type supplier_key item branch_key branch_name branch_type branch supplier_key supplier_type supplier city_key city province_or_street country city

26 Multidimensional Data Sales volume as a function of product, month, and region Sales volume as a function of product, month, and region Product Region Month Dimensions: Product, Location, Time Hierarchical summarization paths Industry Region Year Category Country Quarter Product City Month Week Office Day

27 A Sample Data Cube Total annual sales of TV in U.S.A. Date Product Country sum TV VCR PC 1Qtr 2Qtr 3Qtr 4Qtr U.S.A Canada Mexico sum

28 Browsing a Data Cube Visualization Visualization OLAP capabilities OLAP capabilities Interactive manipulation Interactive manipulation

29 Typical OLAP Operations Roll up (drill-up): summarize data Roll up (drill-up): summarize data –by climbing up hierarchy or by dimension reduction Drill down (roll down): reverse of roll-up Drill down (roll down): reverse of roll-up –from higher level summary to lower level summary or detailed data, or introducing new dimensions Slice and dice: Slice and dice: –project and select

30 OLAP Operations Single CellMultiple CellsSliceDice Roll Up Drill Down

31 Design of a Data Warehouse: A Business Analysis Framework Four views regarding the design of a data warehouse Four views regarding the design of a data warehouse –Top-down view »allows selection of the relevant information necessary for the data warehouse –Data source view »exposes the information being captured, stored, and managed by operational systems –Data warehouse view »consists of fact tables and dimension tables –Business query view »sees the perspectives of data in the warehouse from the view of end-user

32 Data Warehouse Back-End Tools and Utilities Data extraction: Data extraction: –get data from multiple, heterogeneous, and external sources Data cleaning: Data cleaning: –detect errors in the data and rectify them when possible Data transformation: Data transformation: –convert data from legacy or host format to warehouse format Load: Load: –sort, summarize, consolidate, compute views, check integrity, and build indicies and partitions Refresh Refresh –propagate the updates from the data sources to the warehouse