of view• OLAP allows users to analyze database information from multiple database systems at one time • OLAP data is stored in multidimensional databases... INTRODUCTION TO OLAP• Some po
Trang 1OLAP & USING SSAS TO ANALYZE OLAP CUBE IN RETAIL DATABASE
Group 9: Number Four
1 THANG MAI HOANG
2 TRAM TRAN THANH
3 LINH NGUYEN THI THUY
4 NGUYEN BUI BA Advisor:
Associate Professor Phuc Do
Trang 2Hey Employee, how much money we made last
year?
Employee: $1 billion dollars Sir !
How much did we make per year per quarter?
Which products did well and which failed?
What are the sales by region, country, by year, by
quarter etc
Employee (thinking ) : Hmm What is the best
way to do this?? :=(
???
Trang 4• The first product that performed OLAP queries was Express, which was released in 1970 (and acquired by Oracle in 1995
from Information Resources) However, the term did not
appear until 1993 when it was coined by Ted Codd, who has
History
Trang 5of view
• OLAP allows users to analyze database information
from multiple database systems at one time
• OLAP data is stored in multidimensional databases
Trang 61 INTRODUCTION TO OLAP
• Some popular OLAP server software programs
Solutions Essbase
• OLAP processing is often used for data mining
• OLAP products are typically designed for
software based on the number of users
What is OLAP?
Trang 81 INTRODUCTION TO OLAP
Trang 91 INTRODUCTION TO OLAP
9
• Data layout
Trang 102 THE OLAP CUBE
• An OLAP Cube is a data structure that allows fast
analysis of data
• The arrangement of data into cubes overcomes a limitation of relational databases
• The OLAP cube consists of numeric facts called
measures which are categorized by dimensions
• A multidimensional cube can combine data from disparate data sources and store the information in a fashion that is logical for business users
Trang 112 THE OLAP CUBE
Trang 122 THE OLAP CUBE
Trang 1313
Trang 143 OLAP OPERATIONS
Roll-up : move up the
hierarchy
◦ e.g given total sales
per city, we can
roll-up to get sales per
◦ lowest level can be
category region year
product country quarter
state month week
city day
store
PRODUCT LOCATION TIME
Trang 153 OLAP OPERATIONS
15
Pivoting : aggregate on selected dimensions
◦ usually 2 dims (cross-tabulation)
Trang 185 OLAP ADVANTAGES &
DISADVANTAGES
• Offer quicker analysis
• Great reporting tool
• Improves decision making
• Flexible
Advantages
• Rely on data warehouse environment
• Complexity of the queries
• Result set be materialized
in memory before returning
to the client
Disadvantages
Trang 206 DATA WAREHOUSE
Benefits
interest regardless of the data's source
Present the organization's information consistently
Enabling a central view across the enterprise
Maintain data history
Restructure the data so that it delivers excellent query performance, even for complex analytic queries, without impacting the operational systems
Trang 21Data Warehouse
Extract Transform Load
Refresh
OLAP Engine
Analysis Query Reports Data mining
Trang 236 DATA WAREHOUSE
23
Data warehouse design
represent the multidimensional model
– LOCATION(location_key,store,street_address,city,state,
country,region) – dimension tables are not normalized
• Transactions are described through a fact-table
– each tuple consists of a pointer to each of the tables (foreign-key) and a list of measures (e.g sales $$$)
Trang 24dimension-Fact Table
Location Item Number Buyer Number Supplier Number Time Period
Dollar Purchases Unit Purchases
Dimension Table
Item Number
Item Name Description Category Subcategory
Dimension Table
Buyer Number
Buyer Name Department Division City State Region Country Dimension Table
Supplier Number
Supplier Name Industry Category Subcategory
State Region Country Address
Trang 257 SQL SERVER ANALYSIS SERVICE
25
Olap with SQL Server Analysis Service
• Microsoft SQL Server Analysis Services, SSAS, is an online analytical processing (OLAP), data mining and reporting tool in Microsoft SQL Server SSAS is used as a tool by organizations to analyze and make sense of information possibly spread out across multiple databases, or in disparate tables Microsoft has included a number of services in SQL Server related to business intelligence and data warehousing These services include Integration Services and Analysis Services Analysis Services includes a group of OLAP and data mining capabilities
Trang 26SSAS Clients Physical Architecture
Trang 278 OLAP CASE STUDY
27
Number Four Global is having different malls in
different countries, where daily sales take place for various products Higher management is facing an issue while decision making due to non availability of integrated data they can’t do study on their data as per their requirement So they asked us to design a system which can help them quickly in decision making
Trang 28 Overview Shopping mall & report requirements
8 OLAP CASE STUDY
Trang 2929
Trang 30[1] Himanshu Tiwari Data Mining, Warehousing and OLAP Technology Galgotia’s college of
Engineering and technology Gr.Noida 2014
[2] Siddhant Mehta, PoonamRawat, Prerna Malik Overview of Multidimensional Data Model –
OLAP International Journal Of Research 2014
[3] Dr Walid Qassim Qwaider Apply Online Analytical Processing (OLAP) With Data Mining For
Clinical Decision Support International Journal Of Managing Information Technology 2012
[4] Robert Wrembel & Christian Konci Data Warehouses And OLAP – Concepts, Architectures and Solutions Pozan University Of Technology, Poland 2006
[4] How to Create OLAP Cube in Analysis Services,
[5] OLAP and Business Intelligence Tutorials, http://olap.com/learn-bi-olap/tutorials/ , View on 26 July 2015
[6] Trần Vũ Hải Áp Dụng Kỹ Thuật Phân Tích Dữ Liệu Trực Tuyến (OLAP) Phục Vụ Công Tác Quản
Trang 3131