Your SlideShare is downloading. ×
Introduction to Data Warehouse
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Introduction to Data Warehouse

1,928
views

Published on

Published in: Education

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,928
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
147
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. An efficient way of data analysis.
  • 2. Data warehousingData Warehouse (DW) is a Subject oriented, integrated, time variant, non-volatile collection of data in support of management’s system. -W.H.INMONIt is a collection of data designed to support management decision making by presenting a coherent picture of business conditions at a single point of time.
  • 3. Features of Data Warehouse:-  Subject-oriented  Integrated  Time-variant Data  Nonvolatile Warehouse Subject Time- Non - Integrated variant volatile oriente d
  • 4. Subject-oriented: Data are organized according to the subject instead of application.  It mainly focuses on modeling and analysis of data for decision makers, not on daily operations or transaction processing.Integrated:  Constructed by integrating multiple, heterogeneous data sources like relational databases, flat files, on-line transaction records.  Ensure consistency in naming conventions, encoding structures, attribute measures, etc. among different data sources.
  • 5. Time-variant:  The time horizon for the data warehouse is significantly longer than that of operational systems. i.e. provide information from a historical perspective (e.g., past 5-10 years).Non-volatile:  No updates are allowed. Once the data entered into the data warehouse, they are never removed.  The data in warehouse represent company’s history, the operational data representing near term history are always added to it..
  • 6. Need for Decision SupportSystem(DSS) in businessIn a typical business environment with an increasing competitive market, we cannot ponder over decisions for too long. Hence the business needs managers with quick decision making. Therefore, to succeed in business today, any company needs information systems that can support the diverse information and decision-making needs.
  • 7. How many businesses appear and disappeareach year?
  • 8. Decision Support Systems helps us to assess and resolve everyday business questions.It works by compiling useful information from a combination of raw data, documents, personal knowledge, or business models.
  • 9. Structured and Unstructured componentsof DSSEvery task has a structured component as well as an unstructured component.A Structured component is one which directly helps us to proceed towards decision.An Unstructured component is that which is to be still processed and requires human interaction with the DSS.
  • 10. For example, choosing a stock portfolio.  Here the Structured components are the amount of risk and the performance of stocks, but  The choice of stocks for a portfolio requires human intuition. Hence it is Unstructured. risk Structured Stock performance Portfolio Choice of Stock for Unstructured portfolio
  • 11. In order to implement DSS……
  • 12. DSS architectural styles OLTP (Online Transaction Processing) -used by traditional operational systems (RDBMS). OLAP (Online Analytical Processing) -used by Data Warehouse.
  • 13. The Operational Database is one which is accessed by an Operational System to carry out regular operations of an organization.Operational Databases usually use an OLTP architecture which is optimized for faster transaction processing.OLTP Databases access the data in the form of operations like- Inserting, Deleting, and Updating data.
  • 14. OLTPOLTP is a methodology to provide end users with access to large amounts of dataIt works in an intuitive and rapid manner to assist with deductions based on investigative reasoning.OLTP refers to a class of systems that facilitate and manage transaction-oriented applications, typically for data entry and retrieval transaction processing.
  • 15. A typical OLTP ArchitectureAn Automatic Teller Machine  (ATM) for a bank is an example of a commercial transaction processing application.
  • 16. Benefits of OLTP1. Simplicity & Efficiency: Reduced paper trails and the faster & more accurate forecasts for revenues and expenses are both examples of how OLTP makes things simpler for businesses.2. OLTP systems maintain data integrity and they also provide fast query processing in environments having multiple access.
  • 17. Pitfalls of OLTP:- OLTP requires instant update. The data what we get from OLTP is not suitable for data analysis. To perform one simple transaction even with the normalized structure, we need to query multiple tables by using joins.
  • 18. We usually refer to information as attributes related to entities, objects or classes, like product price, invoice amount or client name. Mapping can be with a simple, one argument function: product » price invoice » amount client » name each attribute is mapped to one column.
  • 19. What is gross margin by product categoryin Europe and Asia?Whats our current inventory by productand warehouse?Which was the evolution of return rate ofdifferent products acquired by differentsuppliers?
  • 20.  functions of multiple arguments Product category × Region » Gross margin Product × Warehouse » Inventory Supplier × Time × Product » Return rate More than one attribute is mapped to one column.
  • 21. Hence for data reporting and analysis we must have a new system. DATA WAREHOUSING
  • 22. DATA WAREHOUSEData Warehouse is a database used for data reporting and analysis.The data stored in the warehouse are uploaded from the operational systems (such as marketing, sales etc.)
  • 23. The data store contains two main types of data. -Business Data -Business Data Model OperationalThe business data are data Business extracted from data operational database External data and from external sources which are relevant to the business (stock prices, market indicators, marketing information and competitor’s data).
  • 24. DSS data vs Operational dataThe DSS data which is extracted from multiple sources differ from operational data in three main areas: -time span, -granularity and - dimensionality.
  • 25. Business data represent a snapshot of the company’s situation.
  • 26.  A typical ETL (Extract Transform Load)-based data warehouse uses a) staging, b) integration and c) access layers (Data Marts) to house its key functions.
  • 27. The data that arrived at data warehouse are first passed to Operational Data Store (ODS).Data is integrated from multiple sources for additional operations on the data.This integrated data is passed back to operational systems for decision-making.
  • 28. DSS componentsThe DSS is usually composed of five main components:-  Data store component  Data extraction component  Data filtering component  End user query tool  End user presentation tool
  • 29. Data Sources Data Storage OLAP engine Front end tools
  • 30. The data in the data warehouse is stored in the form of Data marts.It allows the user to access the data in terms of a specific business line or team.
  • 31. Data martThe data mart is a subset of the data warehouse that is usually oriented to a specific business line or team. Multi-Tier Data Warehouse Distributed Data Marts Enterprise Data Data Data Mart Mart Warehouse Model refinement Model refinement Define a high-level corporate data model
  • 32. OLAP(Online Analytical Processing)OLAP is an approach to answer multi-dimensional analytical queries which also encompasses relational reporting and data mining.An OLAP cube is an array of data that is understood in terms of its 0 or more dimensions which enables the users to gain insight into their data in a fast, interactive, easy-to-use manner.
  • 33. For example, a company might wish to summarize financial data by product (Maruthi), by time-period (May 2006), by city (Mumbai) to compare actual budget expenses. Product, time, city and scenario (actual and budget) are the datas dimensions.In this example, the cell contains the values of all OLAP Cube Maruthi sales in Mumbai for May 2006.
  • 34. The data in Data Warehouse is arranged in the form of hierarchical groups often called dimensions and into facts tables and aggregate facts.OLAP data is typically stored in a Star Schema. -which is a combination of dimensions and fact tables.
  • 35. STAR SCHEMAtimeTime_key itemday item_keyday_of_the_week Sales Fact Table item_namemonth brandquarter time_key typeyear supplier_type item_key branch_key branch location location_key branch_key location_key branch_name units_sold street branch_type city dollars_sold state_or_province country avg_sales Measures
  • 36. Fact table consists of the measurements metrics or facts of a business process. It is located at the center of a star schema surrounded by dimension tables.In the above example, it holding sales by item, by time, by branch and by location. Dimension tables contain descriptive attributes (or fields) which are typically textual fields or discrete numbers that behave like text.These attributes are designed to serve two critical purposes: -query constraining/filtering -query result set labeling.
  • 37. OLAP Architecture
  • 38. OLAP ServerOLAP Server receives the data from data warehouse by which it represents the data in a user understandable format which actually supply analytical functionality for the DSS system.OLAP Server generally performs data analysis in two forms. -ROLAP(Relational OLAP) -MOLAP(Multi-dimensional OLAP)
  • 39. ROLAP It is a form of OLAP that performs dynamic multi- dimensional analysis of data stored in a relational database rather than in a multi-dimensional database (which is usually considered the OLAP standard).Data processing may take place within the database system, a mid-tier server, or the client.In two-tier architecture, the user submits a Structured Query Language (SQL) query to the database and receives back the requested data.
  • 40. Two-Tier Architecture of ROLAP
  • 41. MOLAP (Multi-dimensional OLAP)It is a form of OLAP that helps the user to “slice and dice” information, providing multi-dimensional analysis of data by putting data in a cube structure.Most MOLAP products use a multi-cube approach in which a series of small, dense, pre-calculated cubes make a hypercube.
  • 42. Slicing(above) and Dicing(below) a CubeIt is an ideal tool that helps to query data which involves time-line (day, week, month, year), geographical areas (city, state, country), various product lines or categories and channels (sales people, stores, etc).
  • 43. Three kinds of data warehouse applications Information processing  supports querying, basic statistical analysis, and reporting using crosstabs, tables, charts and graphs. Analytical processing  multidimensional analysis of data warehouse data.  supports basic OLAP operations, slice-dice, drilling, pivoting. Data mining  knowledge discovery from hidden patterns .  supports associations, constructing analytical models, performing classification and prediction, and presenting the mining results using visualization tools.
  • 44. Our business in life is not to get ahead of others, but to get ahead of ourselves—to break our own records, to outstrip our yesterday by our today. -Stewart B.Johnson
  • 45. Queries ??