bi 2 data cubes and olap
Post on 04-Apr-2018
223 Views
Preview:
TRANSCRIPT
-
7/31/2019 BI 2 Data Cubes and OLAP
1/29
Dhruv Nath
BI 2Data Warehousing : Data
Cubes and OLAP
-
7/31/2019 BI 2 Data Cubes and OLAP
2/29
How is a Data Warehouse Organised ?
Therefore how do we query it ?
-
7/31/2019 BI 2 Data Cubes and OLAP
3/29
Example : DW for a bank : 2 - D matrix
How do we query this ?
-
7/31/2019 BI 2 Data Cubes and OLAP
4/29
How do we query this Data Cube ?
DataCube
-
7/31/2019 BI 2 Data Cubes and OLAP
5/29
-
7/31/2019 BI 2 Data Cubes and OLAP
6/29
2 -D Slice
-
7/31/2019 BI 2 Data Cubes and OLAP
7/29
A different 2-D Slice
-
7/31/2019 BI 2 Data Cubes and OLAP
8/29
-
7/31/2019 BI 2 Data Cubes and OLAP
9/29
1-D Slice
-
7/31/2019 BI 2 Data Cubes and OLAP
10/29
Thicker Slice
-
7/31/2019 BI 2 Data Cubes and OLAP
11/29
Thicker Slice
-
7/31/2019 BI 2 Data Cubes and OLAP
12/29
Drill down ?
-
7/31/2019 BI 2 Data Cubes and OLAP
13/29
Drill down ?
-
7/31/2019 BI 2 Data Cubes and OLAP
14/29
-
7/31/2019 BI 2 Data Cubes and OLAP
15/29
Roll Up ?
-
7/31/2019 BI 2 Data Cubes and OLAP
16/29
Data Cubes - Facts and Dimensions - disc
Can we have multiple facts ? Examples ?
-
7/31/2019 BI 2 Data Cubes and OLAP
17/29
How are snapshots added at
the end of each time period ?
-
7/31/2019 BI 2 Data Cubes and OLAP
18/29
BrandAfri Cola
Royal Crown
Pepsi
Coca-Cola
Wrangler Cola
Coca-Cola
24
Week Ending
03 10 17
ChannelMM
DrugFood
$28.3 Million
Example 2
Food
24
Query : Show me
sales of Coca-Cola through theFood channel, forthe week endingthe 24th.
-
7/31/2019 BI 2 Data Cubes and OLAP
19/29
Examples from your organisations ?
-
7/31/2019 BI 2 Data Cubes and OLAP
20/29
CRM is for.
Customers Dealers / Distributors
Suppliers
Employees..
-
7/31/2019 BI 2 Data Cubes and OLAP
21/29
DW of Suppliers Dimensions
Suppliers Geography
Product
Time
Facts
Quantity Supplied
Price at which supplied
No. of defects
Delivery time
Delivery delay
Discount on quoted price
Payment delayed / withheld
Complaint by Supplier
Complaint by Supplier - resolved
Possible Queries ?
-
7/31/2019 BI 2 Data Cubes and OLAP
22/29
Data Cubes
The Data Warehouse Architecture
Data Marts
Data
Warehouse
OLTP
Databases
-
7/31/2019 BI 2 Data Cubes and OLAP
23/29
Data Cubes - Summarise
Data Cubes 1-D, 2-D, 3-D
Can we have n-D Data Cubes ?
Yes, but need to represent them differently
Facts and Dimensions Usually multiple facts
Querying
Slice and Dice Drill Down
Roll Up
OLAP - On Line Analytical Processing ( vs OLTP )
APCMIS
http://localhost/var/www/apps/conversion/releases/20121105181253/tmp/scratch_6/BI%203a%20APCMIS%20Fact%20Dimension%20Version.ppthttp://localhost/var/www/apps/conversion/releases/20121105181253/tmp/scratch_6/BI%203a%20APCMIS%20Fact%20Dimension%20Version.ppt -
7/31/2019 BI 2 Data Cubes and OLAP
24/29
Exercise
Create a Data Warehouse Design for theCRM System of a company that supplies
stationery to Offices
Facts ?
Dimensions ?
What are the possible Data Marts from this
Data Warehouse ?
-
7/31/2019 BI 2 Data Cubes and OLAP
25/29
Clients
User Interface
Data Cubes
The Data Warehouse Architecture
Data Marts
Data
Warehouse
OLTP
Databases
Finally, what does the user see and use ? User Interface
-
7/31/2019 BI 2 Data Cubes and OLAP
26/29
End User Interface
Dashboard APCMIS
Qlikview
http://localhost/var/www/apps/conversion/releases/20121105181253/tmp/scratch_6/BI%203a%20APCMIS%20Fact%20Dimension%20Version.ppthttp://localhost/var/www/apps/conversion/releases/20121105181253/tmp/scratch_6/BI%202a%20APCMIS%20Fact%20Dimension%20Version.ppthttp://us.demo.qlikview.com/QvAJAXZfc/opendoc.htm?document=qvdocs/Sales%20Management%20and%20Customer%20Analysis.qvw&host=Demo11&anonymous=truehttp://us.demo.qlikview.com/QvAJAXZfc/opendoc.htm?document=qvdocs/Sales%20Management%20and%20Customer%20Analysis.qvw&host=Demo11&anonymous=truehttp://localhost/var/www/apps/conversion/releases/20121105181253/tmp/scratch_6/BI%202a%20APCMIS%20Fact%20Dimension%20Version.ppthttp://localhost/var/www/apps/conversion/releases/20121105181253/tmp/scratch_6/BI%203a%20APCMIS%20Fact%20Dimension%20Version.ppt -
7/31/2019 BI 2 Data Cubes and OLAP
27/29
ClientsData Cubes
Products and Vendors
Data Marts
Data
Warehouse
OLTP
Databases
DBMSVendors
Oracle, Microsoft SQL Server, IBM (DB2),..
-
7/31/2019 BI 2 Data Cubes and OLAP
28/29
ClientsData Cubes
Products and Vendors
Data Marts
Data
Warehouse
OLTP
Databases
Provide everything except the OLTP DBMS and DW. ETL included
BI ToolVendors
SAS, Cognos (IBM), Business Objects (SAP), Qlikview..
-
7/31/2019 BI 2 Data Cubes and OLAP
29/29
Dhruv Nath
BI 2Data Warehousing : Data
Cubes and OLAP
top related