SlideShare a Scribd company logo
An Introduction to OLAP And Data warehouse Ashish Awasthi
Overview What is DWH What is OLAP Different Flavors of OLAP Questions
OLAP: 3 Tier DSS * Data Warehouse Database Layer Store atomic data in industry standard Data Warehouse. OLAP Engine Application Logic Layer Generate SQL execution plans in the OLAP engine to obtain OLAP functionality. Decision Support Client Presentation Layer Obtain multi-dimensional reports from the DSS Client.
What is OLAP? OLAP  - On Line Analytical Processing An approach to provide answers to analytical queries which are multidimensional in nature Typical applications are: Sales report Biz report for marketing Database for OLAP employ a multi-dimensional model
What is OLAP Cont… O/P typically displayed as a matrix Rows being the dimension Columns being the measures (the values) Indexes Bit-map Index Join Indices
OLAP Servers High-capacity data manipulation engine designed to  support and operate on multi-dimensional data structures. Two approaches for information retrieval: - Physically stage the processed multi-dimensional  information -- rapid response time – preferred choice. - Populate its data structures in real-time from relational or other databases.
Different Flavors - MOLAP Advantages Fast query performance due to optimized storage, multidimensional indexing and caching Automated computation of higher level aggregates of the data Very compact for low dimension data sets  Disadvantages The processing step (data load) can be quite lengthy, especially on large data volumes Introduces data redundancy Some MOAP query tools have difficulty querying models with dimensions with very high cardinality (e.g. million of members) MOLAP - Multidimensional Online Analytical Processing  Pre-computes and stores information in the form of a cube Uses an optimized multi-dimensional array storage rather than relational database The way each dimension is aggregated is defined in advance Products/Vendors Microsoft Analysis Service EssBase MIS Alea Palo (Open Source)
Different Flavors - ROLAP ROLAP Works directly with Relational DB Does not require pre-computation and storage of information Uses additional tables (summary or aggregations) which summarize data in desired combination of dimension Products/Vendors Microsoft Analysis Service Micro Strategy Oracle BI Business Objects Mondrian (Open Source) Advantages More Scalable in handling large data volume esp. with dimensions with high cardinality Data load is much faster as compared to MOLAP Data is stored in relational format and can be accessed by any standard SQL query tool Disadvantages The loading of aggregate tables must be managed by custom ETL tool If aggregate tables not created, performance of the queries suffers Relies on general purpose database for indexing and caching - special MOLAP indexing techniques are not available
Industry Trends - HOLAP Allows part of the data in the MOLAP store and another part of the data in ROLAP store Vertical partitioning model Stores aggregations  in MOLAP for fast query performance Stores detailed data in ROLAP to optimize time of cube  processing Horizontal partitioning model Stores some slice of data, usually the more recent one (i.e. sliced by Time dimension) in MOLAP and older data in ROLAP Products/Vendors MS Analysis Service Micro Strategy SAP AG BI Accelerator
Multidimensional Database Architecture MDDB Source Databases ETL Metadata Repository Data Modeling Tool Warehouse Admin Tool RDBMS Local Metadata Local Metadata Data Access Tools Data Access Tools
APIs and Query Languages MDX (Multidimensional Expressions) A query language for OLAP Is a Microsoft owned spec and not yet an open standard Adopted by various vendors  MS Reporting Service, SAP, NCR, BO, Crystal Reports, Cognos, MS Excel etc. mdXML It is part of XML for Analysis standard released by XML Council in 2001 Olap4J An open Java API for building OLAP applications. Parallel to JDBC.
MDX - Query Example The SELECT clause sets the query axes as the Store Sales Amount member of the Measures dimension, and the 2002 and 2003 members of the Date dimension.  The FROM clause indicates that the data source is the Sales cube.  The WHERE clause defines the "slicer axis" as the California member of the Store dimension.  SELECT { [Measures].[Store Sales] } ON COLUMNS, { [Date].[2002], [Date].[2003] } ON ROWS FROM Sales WHERE ( [Store].[USA].[CA] )
XMLA – XML for Analysis The industry standard for data access in analytical systems (OLAP, Data Mining) Based on industry standard such as XML, SOAP and HTTP XMLA Providers MS Analysis Service 2005 Hyperion Essbase 7 MS XMLA SDK Mondrian <soap:Envelope> <soap:Body>   <Execute xmlns=&quot;urn:schemas-microsoft-com:xml-  analysis&quot;>    <Command> <Statement>SELECT Measures.MEMBERS    ON COLUMNS FROM Sales</Statement>    </Command>    <Properties>   <PropertyList>   <DataSourceInfo/> <Catalog>FoodMart</Catalog>  <Format>Multidimensional</Format>  <AxisFormat>TupleFormat</AxisFormat>    </PropertyList>  </Properties>  </Execute>  </soap:Body> </soap:Envelope>
Top OLAP Vendors MOLAP :  Hyperion (Arbor Essbase),  Oracle Express ROLAP :  Informix MetaCube,  Microstrategy DSS Agent HOLAP :  Microsoft Analysis Services,  MicroStrategy DSS Agent, SAP AG
Microsoft Analysis Service Supports MOLAP, ROLAP and HOLAP Uses MDX as query language Partition Storage Modes MOLAP :Both fact data and aggregations are processed, stored, and indexed using a special format optimized for multidimensional data ROLAP : Both fact data and aggregations remain in the relational data source, eliminating the need for special processing HOLAP : Uses the relational data source to store the fact data, but pre-processes aggregations and indexes, storing these in a special format, optimized for multidimensional data
Microsoft Analysis Service Cont… Dimension Storage Modes MOLAP - dimension attributes and hierarchies are processed and stored in the special format  ROLAP - dimension attributes are not processed and remain in the relational data source. Partitions dimensioned by ROLAP dimensions must be in the ROLAP mode as well
Microsoft Analysis Service APIs Querying  XML For Analysis (Can be used from any platform and any language) – Good for us !! OLEDB, ADO.NET ( COM based and suitable for apps on Windows platform)
Mondrian OLAP Server written in Java “ ROLAP” architecture Works with all popular open source and proprietary DBs Good News!! View data “dimensionally” i.e. Sales by region, by channel, by time period Navigate and explore Ad Hoc analysis “ Drill-down” from year to quarter Pivot Select specific members for analysis Web-based or Excel front ends
Mondrian High performance, interactive analysis of large or small volumes of information  &quot;Dimensional&quot; exploration of data, for example analyzing sales by product line, by region, by time period  Parsing of Multi-Dimensional eXpression (MDX) language into Structured Query Language (SQL) to retrieve answers to dimensional queries  High-speed queries through the use of aggregate tables in the RDBMS  Advanced calculations using the calculation expressions of the MDX language
Mondrian Client Access API Olap4J : An open Java API for building OLAP applications Olap4j is to multidimensional data what JDBC is  for relational data . An OLAP application in Java for one server (say  Mondrian) can be easily switched to another (say  Microsoft Analysis Services, accessed via XML  for Analysis).
Mondrian Architecture
Ad

More Related Content

What's hot (20)

What is sap hana
What is sap hanaWhat is sap hana
What is sap hana
i Mark
 
Oracle BI Publsiher Using Data Template
Oracle BI Publsiher Using Data TemplateOracle BI Publsiher Using Data Template
Oracle BI Publsiher Using Data Template
Edi Yanto
 
HANA Modeling
HANA Modeling HANA Modeling
HANA Modeling
Kishore Chaganti
 
Sap abap
Sap abapSap abap
Sap abap
SVRTechnologies
 
Sap architecture
Sap architectureSap architecture
Sap architecture
Jugul Crasta
 
Sap Business Objects solutioning Framework architecture
Sap Business Objects solutioning Framework architectureSap Business Objects solutioning Framework architecture
Sap Business Objects solutioning Framework architecture
Sandeep Sharma IIMK Smart City,IoT,Bigdata,Cloud,BI,DW
 
SPS Oslo 18 Spice Up your modern SharePoint list with Power Apps Forms
SPS Oslo 18 Spice Up your modern SharePoint list with Power Apps FormsSPS Oslo 18 Spice Up your modern SharePoint list with Power Apps Forms
SPS Oslo 18 Spice Up your modern SharePoint list with Power Apps Forms
Rebekka Aalbers-de Jong
 
02 Essbase
02 Essbase02 Essbase
02 Essbase
Amit Sharma
 
Online analytical processing
Online analytical processingOnline analytical processing
Online analytical processing
nurmeen1
 
Seminar on olap online analytical
Seminar on olap  online analyticalSeminar on olap  online analytical
Seminar on olap online analytical
cyber_fox
 
Sap abap part1
Sap abap part1Sap abap part1
Sap abap part1
sailesh107
 
OLAP
OLAPOLAP
OLAP
gokulprasath06
 
500+ SAP ABAP INTERVIEW QUESTIONS WITH ANSWERS
500+ SAP ABAP INTERVIEW QUESTIONS WITH ANSWERS500+ SAP ABAP INTERVIEW QUESTIONS WITH ANSWERS
500+ SAP ABAP INTERVIEW QUESTIONS WITH ANSWERS
IICT Chromepet
 
Introduction To Msbi By Yasir
Introduction To Msbi By YasirIntroduction To Msbi By Yasir
Introduction To Msbi By Yasir
guest7c8e5f
 
Hyperion Essbase - Ravi Kurakula
Hyperion Essbase   -   Ravi KurakulaHyperion Essbase   -   Ravi Kurakula
Hyperion Essbase - Ravi Kurakula
Ravi kurakula
 
Financial Reporting Odtug
Financial Reporting OdtugFinancial Reporting Odtug
Financial Reporting Odtug
sbernhoit
 
Hana
HanaHana
Hana
Sam Rathod
 
Tableau Architecture
Tableau ArchitectureTableau Architecture
Tableau Architecture
Kishore Chaganti
 
BI Publisher Data model design document
BI Publisher Data model design documentBI Publisher Data model design document
BI Publisher Data model design document
adivasoft
 
SAP S/4 HANA ONLINE TRAINING
SAP S/4 HANA ONLINE TRAININGSAP S/4 HANA ONLINE TRAINING
SAP S/4 HANA ONLINE TRAINING
Glory IT Technologies
 
What is sap hana
What is sap hanaWhat is sap hana
What is sap hana
i Mark
 
Oracle BI Publsiher Using Data Template
Oracle BI Publsiher Using Data TemplateOracle BI Publsiher Using Data Template
Oracle BI Publsiher Using Data Template
Edi Yanto
 
SPS Oslo 18 Spice Up your modern SharePoint list with Power Apps Forms
SPS Oslo 18 Spice Up your modern SharePoint list with Power Apps FormsSPS Oslo 18 Spice Up your modern SharePoint list with Power Apps Forms
SPS Oslo 18 Spice Up your modern SharePoint list with Power Apps Forms
Rebekka Aalbers-de Jong
 
Online analytical processing
Online analytical processingOnline analytical processing
Online analytical processing
nurmeen1
 
Seminar on olap online analytical
Seminar on olap  online analyticalSeminar on olap  online analytical
Seminar on olap online analytical
cyber_fox
 
Sap abap part1
Sap abap part1Sap abap part1
Sap abap part1
sailesh107
 
500+ SAP ABAP INTERVIEW QUESTIONS WITH ANSWERS
500+ SAP ABAP INTERVIEW QUESTIONS WITH ANSWERS500+ SAP ABAP INTERVIEW QUESTIONS WITH ANSWERS
500+ SAP ABAP INTERVIEW QUESTIONS WITH ANSWERS
IICT Chromepet
 
Introduction To Msbi By Yasir
Introduction To Msbi By YasirIntroduction To Msbi By Yasir
Introduction To Msbi By Yasir
guest7c8e5f
 
Hyperion Essbase - Ravi Kurakula
Hyperion Essbase   -   Ravi KurakulaHyperion Essbase   -   Ravi Kurakula
Hyperion Essbase - Ravi Kurakula
Ravi kurakula
 
Financial Reporting Odtug
Financial Reporting OdtugFinancial Reporting Odtug
Financial Reporting Odtug
sbernhoit
 
BI Publisher Data model design document
BI Publisher Data model design documentBI Publisher Data model design document
BI Publisher Data model design document
adivasoft
 

Similar to Olap introduction (20)

OBIEE ARCHITECTURE.ppt
OBIEE ARCHITECTURE.pptOBIEE ARCHITECTURE.ppt
OBIEE ARCHITECTURE.ppt
Canara bank
 
3 OLAP.pptx
3 OLAP.pptx3 OLAP.pptx
3 OLAP.pptx
Priyanshu931034
 
OLAP (Online Analytical Processing).pptx
OLAP (Online Analytical Processing).pptxOLAP (Online Analytical Processing).pptx
OLAP (Online Analytical Processing).pptx
lalitajites
 
Bi Dw Presentation
Bi Dw PresentationBi Dw Presentation
Bi Dw Presentation
vickyc
 
Dwh faqs
Dwh faqsDwh faqs
Dwh faqs
infor123
 
Sql Server 2005 Business Inteligence
Sql Server 2005 Business InteligenceSql Server 2005 Business Inteligence
Sql Server 2005 Business Inteligence
abercius24
 
Data Warehouse
Data WarehouseData Warehouse
Data Warehouse
ganblues
 
OLAP & Data Warehouse
OLAP & Data WarehouseOLAP & Data Warehouse
OLAP & Data Warehouse
Zalpa Rathod
 
Data ware house architecture
Data ware house architectureData ware house architecture
Data ware house architecture
Deepak Chaurasia
 
Mondrian - Geo Mondrian
Mondrian - Geo MondrianMondrian - Geo Mondrian
Mondrian - Geo Mondrian
Simone Campora
 
OLAP & DATA WAREHOUSE
OLAP & DATA WAREHOUSEOLAP & DATA WAREHOUSE
OLAP & DATA WAREHOUSE
Zalpa Rathod
 
What is OLAP -Data Warehouse Concepts - IT Online Training @ Newyorksys
What is OLAP -Data Warehouse Concepts - IT Online Training @ NewyorksysWhat is OLAP -Data Warehouse Concepts - IT Online Training @ Newyorksys
What is OLAP -Data Warehouse Concepts - IT Online Training @ Newyorksys
NEWYORKSYS-IT SOLUTIONS
 
ActiveWarehouse/ETL - BI & DW for Ruby/Rails
ActiveWarehouse/ETL - BI & DW for Ruby/RailsActiveWarehouse/ETL - BI & DW for Ruby/Rails
ActiveWarehouse/ETL - BI & DW for Ruby/Rails
Paul Gallagher
 
86921864 olap-case-study-vj
86921864 olap-case-study-vj86921864 olap-case-study-vj
86921864 olap-case-study-vj
homeworkping4
 
Datawarehousing & DSS
Datawarehousing & DSSDatawarehousing & DSS
Datawarehousing & DSS
Deepali Raut
 
OLAP Cubes in Datawarehousing
OLAP Cubes in DatawarehousingOLAP Cubes in Datawarehousing
OLAP Cubes in Datawarehousing
Prithwis Mukerjee
 
CS636-olap.ppt
CS636-olap.pptCS636-olap.ppt
CS636-olap.ppt
Iftikharbaig7
 
Bw training 1 intro dw
Bw training   1 intro dwBw training   1 intro dw
Bw training 1 intro dw
Joseph Tham
 
lecture_6_Online Analytical Processing.ppt
lecture_6_Online Analytical Processing.pptlecture_6_Online Analytical Processing.ppt
lecture_6_Online Analytical Processing.ppt
RehmahAtugonza
 
Oracle BI 11g Insync presentation
Oracle BI 11g Insync presentationOracle BI 11g Insync presentation
Oracle BI 11g Insync presentation
InSync Conference
 
OBIEE ARCHITECTURE.ppt
OBIEE ARCHITECTURE.pptOBIEE ARCHITECTURE.ppt
OBIEE ARCHITECTURE.ppt
Canara bank
 
OLAP (Online Analytical Processing).pptx
OLAP (Online Analytical Processing).pptxOLAP (Online Analytical Processing).pptx
OLAP (Online Analytical Processing).pptx
lalitajites
 
Bi Dw Presentation
Bi Dw PresentationBi Dw Presentation
Bi Dw Presentation
vickyc
 
Sql Server 2005 Business Inteligence
Sql Server 2005 Business InteligenceSql Server 2005 Business Inteligence
Sql Server 2005 Business Inteligence
abercius24
 
Data Warehouse
Data WarehouseData Warehouse
Data Warehouse
ganblues
 
OLAP & Data Warehouse
OLAP & Data WarehouseOLAP & Data Warehouse
OLAP & Data Warehouse
Zalpa Rathod
 
Data ware house architecture
Data ware house architectureData ware house architecture
Data ware house architecture
Deepak Chaurasia
 
Mondrian - Geo Mondrian
Mondrian - Geo MondrianMondrian - Geo Mondrian
Mondrian - Geo Mondrian
Simone Campora
 
OLAP & DATA WAREHOUSE
OLAP & DATA WAREHOUSEOLAP & DATA WAREHOUSE
OLAP & DATA WAREHOUSE
Zalpa Rathod
 
What is OLAP -Data Warehouse Concepts - IT Online Training @ Newyorksys
What is OLAP -Data Warehouse Concepts - IT Online Training @ NewyorksysWhat is OLAP -Data Warehouse Concepts - IT Online Training @ Newyorksys
What is OLAP -Data Warehouse Concepts - IT Online Training @ Newyorksys
NEWYORKSYS-IT SOLUTIONS
 
ActiveWarehouse/ETL - BI & DW for Ruby/Rails
ActiveWarehouse/ETL - BI & DW for Ruby/RailsActiveWarehouse/ETL - BI & DW for Ruby/Rails
ActiveWarehouse/ETL - BI & DW for Ruby/Rails
Paul Gallagher
 
86921864 olap-case-study-vj
86921864 olap-case-study-vj86921864 olap-case-study-vj
86921864 olap-case-study-vj
homeworkping4
 
Datawarehousing & DSS
Datawarehousing & DSSDatawarehousing & DSS
Datawarehousing & DSS
Deepali Raut
 
OLAP Cubes in Datawarehousing
OLAP Cubes in DatawarehousingOLAP Cubes in Datawarehousing
OLAP Cubes in Datawarehousing
Prithwis Mukerjee
 
Bw training 1 intro dw
Bw training   1 intro dwBw training   1 intro dw
Bw training 1 intro dw
Joseph Tham
 
lecture_6_Online Analytical Processing.ppt
lecture_6_Online Analytical Processing.pptlecture_6_Online Analytical Processing.ppt
lecture_6_Online Analytical Processing.ppt
RehmahAtugonza
 
Oracle BI 11g Insync presentation
Oracle BI 11g Insync presentationOracle BI 11g Insync presentation
Oracle BI 11g Insync presentation
InSync Conference
 
Ad

Recently uploaded (20)

Network Security. Different aspects of Network Security.
Network Security. Different aspects of Network Security.Network Security. Different aspects of Network Security.
Network Security. Different aspects of Network Security.
gregtap1
 
Learn the Basics of Agile Development: Your Step-by-Step Guide
Learn the Basics of Agile Development: Your Step-by-Step GuideLearn the Basics of Agile Development: Your Step-by-Step Guide
Learn the Basics of Agile Development: Your Step-by-Step Guide
Marcel David
 
Image processinglab image processing image processing
Image processinglab image processing  image processingImage processinglab image processing  image processing
Image processinglab image processing image processing
RaghadHany
 
Buckeye Dreamin' 2023: De-fogging Debug Logs
Buckeye Dreamin' 2023: De-fogging Debug LogsBuckeye Dreamin' 2023: De-fogging Debug Logs
Buckeye Dreamin' 2023: De-fogging Debug Logs
Lynda Kane
 
"PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System""PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System"
Jainul Musani
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5..."Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
Fwdays
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Salesforce AI Associate 2 of 2 Certification.docx
Salesforce AI Associate 2 of 2 Certification.docxSalesforce AI Associate 2 of 2 Certification.docx
Salesforce AI Associate 2 of 2 Certification.docx
José Enrique López Rivera
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Asthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdfAsthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdf
VanessaRaudez
 
Automation Dreamin' 2022: Sharing Some Gratitude with Your Users
Automation Dreamin' 2022: Sharing Some Gratitude with Your UsersAutomation Dreamin' 2022: Sharing Some Gratitude with Your Users
Automation Dreamin' 2022: Sharing Some Gratitude with Your Users
Lynda Kane
 
Rock, Paper, Scissors: An Apex Map Learning Journey
Rock, Paper, Scissors: An Apex Map Learning JourneyRock, Paper, Scissors: An Apex Map Learning Journey
Rock, Paper, Scissors: An Apex Map Learning Journey
Lynda Kane
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Leading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael JidaelLeading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael Jidael
Michael Jidael
 
Network Security. Different aspects of Network Security.
Network Security. Different aspects of Network Security.Network Security. Different aspects of Network Security.
Network Security. Different aspects of Network Security.
gregtap1
 
Learn the Basics of Agile Development: Your Step-by-Step Guide
Learn the Basics of Agile Development: Your Step-by-Step GuideLearn the Basics of Agile Development: Your Step-by-Step Guide
Learn the Basics of Agile Development: Your Step-by-Step Guide
Marcel David
 
Image processinglab image processing image processing
Image processinglab image processing  image processingImage processinglab image processing  image processing
Image processinglab image processing image processing
RaghadHany
 
Buckeye Dreamin' 2023: De-fogging Debug Logs
Buckeye Dreamin' 2023: De-fogging Debug LogsBuckeye Dreamin' 2023: De-fogging Debug Logs
Buckeye Dreamin' 2023: De-fogging Debug Logs
Lynda Kane
 
"PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System""PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System"
Jainul Musani
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5..."Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
Fwdays
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Salesforce AI Associate 2 of 2 Certification.docx
Salesforce AI Associate 2 of 2 Certification.docxSalesforce AI Associate 2 of 2 Certification.docx
Salesforce AI Associate 2 of 2 Certification.docx
José Enrique López Rivera
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Asthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdfAsthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdf
VanessaRaudez
 
Automation Dreamin' 2022: Sharing Some Gratitude with Your Users
Automation Dreamin' 2022: Sharing Some Gratitude with Your UsersAutomation Dreamin' 2022: Sharing Some Gratitude with Your Users
Automation Dreamin' 2022: Sharing Some Gratitude with Your Users
Lynda Kane
 
Rock, Paper, Scissors: An Apex Map Learning Journey
Rock, Paper, Scissors: An Apex Map Learning JourneyRock, Paper, Scissors: An Apex Map Learning Journey
Rock, Paper, Scissors: An Apex Map Learning Journey
Lynda Kane
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Leading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael JidaelLeading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael Jidael
Michael Jidael
 
Ad

Olap introduction

  • 1. An Introduction to OLAP And Data warehouse Ashish Awasthi
  • 2. Overview What is DWH What is OLAP Different Flavors of OLAP Questions
  • 3. OLAP: 3 Tier DSS * Data Warehouse Database Layer Store atomic data in industry standard Data Warehouse. OLAP Engine Application Logic Layer Generate SQL execution plans in the OLAP engine to obtain OLAP functionality. Decision Support Client Presentation Layer Obtain multi-dimensional reports from the DSS Client.
  • 4. What is OLAP? OLAP - On Line Analytical Processing An approach to provide answers to analytical queries which are multidimensional in nature Typical applications are: Sales report Biz report for marketing Database for OLAP employ a multi-dimensional model
  • 5. What is OLAP Cont… O/P typically displayed as a matrix Rows being the dimension Columns being the measures (the values) Indexes Bit-map Index Join Indices
  • 6. OLAP Servers High-capacity data manipulation engine designed to support and operate on multi-dimensional data structures. Two approaches for information retrieval: - Physically stage the processed multi-dimensional information -- rapid response time – preferred choice. - Populate its data structures in real-time from relational or other databases.
  • 7. Different Flavors - MOLAP Advantages Fast query performance due to optimized storage, multidimensional indexing and caching Automated computation of higher level aggregates of the data Very compact for low dimension data sets Disadvantages The processing step (data load) can be quite lengthy, especially on large data volumes Introduces data redundancy Some MOAP query tools have difficulty querying models with dimensions with very high cardinality (e.g. million of members) MOLAP - Multidimensional Online Analytical Processing Pre-computes and stores information in the form of a cube Uses an optimized multi-dimensional array storage rather than relational database The way each dimension is aggregated is defined in advance Products/Vendors Microsoft Analysis Service EssBase MIS Alea Palo (Open Source)
  • 8. Different Flavors - ROLAP ROLAP Works directly with Relational DB Does not require pre-computation and storage of information Uses additional tables (summary or aggregations) which summarize data in desired combination of dimension Products/Vendors Microsoft Analysis Service Micro Strategy Oracle BI Business Objects Mondrian (Open Source) Advantages More Scalable in handling large data volume esp. with dimensions with high cardinality Data load is much faster as compared to MOLAP Data is stored in relational format and can be accessed by any standard SQL query tool Disadvantages The loading of aggregate tables must be managed by custom ETL tool If aggregate tables not created, performance of the queries suffers Relies on general purpose database for indexing and caching - special MOLAP indexing techniques are not available
  • 9. Industry Trends - HOLAP Allows part of the data in the MOLAP store and another part of the data in ROLAP store Vertical partitioning model Stores aggregations in MOLAP for fast query performance Stores detailed data in ROLAP to optimize time of cube processing Horizontal partitioning model Stores some slice of data, usually the more recent one (i.e. sliced by Time dimension) in MOLAP and older data in ROLAP Products/Vendors MS Analysis Service Micro Strategy SAP AG BI Accelerator
  • 10. Multidimensional Database Architecture MDDB Source Databases ETL Metadata Repository Data Modeling Tool Warehouse Admin Tool RDBMS Local Metadata Local Metadata Data Access Tools Data Access Tools
  • 11. APIs and Query Languages MDX (Multidimensional Expressions) A query language for OLAP Is a Microsoft owned spec and not yet an open standard Adopted by various vendors MS Reporting Service, SAP, NCR, BO, Crystal Reports, Cognos, MS Excel etc. mdXML It is part of XML for Analysis standard released by XML Council in 2001 Olap4J An open Java API for building OLAP applications. Parallel to JDBC.
  • 12. MDX - Query Example The SELECT clause sets the query axes as the Store Sales Amount member of the Measures dimension, and the 2002 and 2003 members of the Date dimension. The FROM clause indicates that the data source is the Sales cube. The WHERE clause defines the &quot;slicer axis&quot; as the California member of the Store dimension. SELECT { [Measures].[Store Sales] } ON COLUMNS, { [Date].[2002], [Date].[2003] } ON ROWS FROM Sales WHERE ( [Store].[USA].[CA] )
  • 13. XMLA – XML for Analysis The industry standard for data access in analytical systems (OLAP, Data Mining) Based on industry standard such as XML, SOAP and HTTP XMLA Providers MS Analysis Service 2005 Hyperion Essbase 7 MS XMLA SDK Mondrian <soap:Envelope> <soap:Body> <Execute xmlns=&quot;urn:schemas-microsoft-com:xml- analysis&quot;> <Command> <Statement>SELECT Measures.MEMBERS ON COLUMNS FROM Sales</Statement> </Command> <Properties> <PropertyList> <DataSourceInfo/> <Catalog>FoodMart</Catalog> <Format>Multidimensional</Format> <AxisFormat>TupleFormat</AxisFormat> </PropertyList> </Properties> </Execute> </soap:Body> </soap:Envelope>
  • 14. Top OLAP Vendors MOLAP : Hyperion (Arbor Essbase), Oracle Express ROLAP : Informix MetaCube, Microstrategy DSS Agent HOLAP : Microsoft Analysis Services, MicroStrategy DSS Agent, SAP AG
  • 15. Microsoft Analysis Service Supports MOLAP, ROLAP and HOLAP Uses MDX as query language Partition Storage Modes MOLAP :Both fact data and aggregations are processed, stored, and indexed using a special format optimized for multidimensional data ROLAP : Both fact data and aggregations remain in the relational data source, eliminating the need for special processing HOLAP : Uses the relational data source to store the fact data, but pre-processes aggregations and indexes, storing these in a special format, optimized for multidimensional data
  • 16. Microsoft Analysis Service Cont… Dimension Storage Modes MOLAP - dimension attributes and hierarchies are processed and stored in the special format ROLAP - dimension attributes are not processed and remain in the relational data source. Partitions dimensioned by ROLAP dimensions must be in the ROLAP mode as well
  • 17. Microsoft Analysis Service APIs Querying XML For Analysis (Can be used from any platform and any language) – Good for us !! OLEDB, ADO.NET ( COM based and suitable for apps on Windows platform)
  • 18. Mondrian OLAP Server written in Java “ ROLAP” architecture Works with all popular open source and proprietary DBs Good News!! View data “dimensionally” i.e. Sales by region, by channel, by time period Navigate and explore Ad Hoc analysis “ Drill-down” from year to quarter Pivot Select specific members for analysis Web-based or Excel front ends
  • 19. Mondrian High performance, interactive analysis of large or small volumes of information &quot;Dimensional&quot; exploration of data, for example analyzing sales by product line, by region, by time period Parsing of Multi-Dimensional eXpression (MDX) language into Structured Query Language (SQL) to retrieve answers to dimensional queries High-speed queries through the use of aggregate tables in the RDBMS Advanced calculations using the calculation expressions of the MDX language
  • 20. Mondrian Client Access API Olap4J : An open Java API for building OLAP applications Olap4j is to multidimensional data what JDBC is for relational data . An OLAP application in Java for one server (say Mondrian) can be easily switched to another (say Microsoft Analysis Services, accessed via XML for Analysis).