Bts(Fs-tmt) Dwh - Ucf 2.x Advanced Olap Concepts v1.0 - Part 2

28
© 2009 Wipro Ltd – Internal & Restricted Advanced OLAP Concepts Advanced OLAP Concepts Part 2 Part 2 <OLAP Concepts 201 Series> Renu Singh

description

imp

Transcript of Bts(Fs-tmt) Dwh - Ucf 2.x Advanced Olap Concepts v1.0 - Part 2

Page 1: Bts(Fs-tmt) Dwh - Ucf 2.x Advanced Olap Concepts v1.0 - Part 2

© 2009 Wipro Ltd – Internal & Restricted

Advanced OLAP ConceptsAdvanced OLAP ConceptsPart 2Part 2

<OLAP Concepts 201 Series>Renu Singh

Page 2: Bts(Fs-tmt) Dwh - Ucf 2.x Advanced Olap Concepts v1.0 - Part 2

© 2009 Wipro Ltd - Confidential2 © 2009 Wipro Ltd - Confidential2

OLAP Overview• On-Line Analytical Processing is a decision support

software that allows the user to quickly analyze information that has been summarized into multidimensional views and hierarchies.

• There are three main features of OLAP system : Multidimensional Viewing – OLAP supports

multidimensional model which consists of facts and dimensions also called as Star Schema.

Calculation Intensive Capabilities – Due to data is stored in facts and dimensions tables, it enables users to analyze data without much calculations.

Time Series analysis – Enables users to analyze data across time.

• This Module will cover the details in four parts:– Part 1 – OLAP Modeling – Building Blocks– Part 2 – OLAP Types & Architectures – Part 3 – OLAP Reporting Styles – Part 4 – OLAP Issues & Optimization

Page 3: Bts(Fs-tmt) Dwh - Ucf 2.x Advanced Olap Concepts v1.0 - Part 2

© 2009 Wipro Ltd - Confidential3 © 2009 Wipro Ltd - Confidential3

OLAP Objectives

Upon completion of this module you will be able to:• Various OLAP Types and their Architectures

Page 4: Bts(Fs-tmt) Dwh - Ucf 2.x Advanced Olap Concepts v1.0 - Part 2

© 2009 Wipro Ltd - Confidential4 © 2009 Wipro Ltd - Confidential4

OLAP Outline

Lesson 1 OLAP Types and Architectures

Page 5: Bts(Fs-tmt) Dwh - Ucf 2.x Advanced Olap Concepts v1.0 - Part 2

© 2009 Wipro Ltd - Confidential5

OLAP Types & Architectures

Page 6: Bts(Fs-tmt) Dwh - Ucf 2.x Advanced Olap Concepts v1.0 - Part 2

© 2009 Wipro Ltd - Confidential6 © 2009 Wipro Ltd - Confidential6 © 2009 Wipro Ltd - Confidential6

Data is stored in multidimensional cubes MDDB technology is proprietary. Compilation intensive architecture. Load involves series of aggregations across orthogonal

dimensions Good to access pre-aggregated data

MOLAP – Multidimensional OLAP

Page 7: Bts(Fs-tmt) Dwh - Ucf 2.x Advanced Olap Concepts v1.0 - Part 2

© 2009 Wipro Ltd - Confidential7 © 2009 Wipro Ltd - Confidential7 © 2009 Wipro Ltd - Confidential7

Advantages• Intuitive• Performance

advantages• Ease of navigation• Little Performance

Tuning required

MDDB - A perspective

Disadvantages• Proprietary• No standard storage

techniques• Aggregate explosion

problem• Limited to 50-100 GB of

calculated data

Page 8: Bts(Fs-tmt) Dwh - Ucf 2.x Advanced Olap Concepts v1.0 - Part 2

© 2009 Wipro Ltd - Confidential8 © 2009 Wipro Ltd - Confidential8 © 2009 Wipro Ltd - Confidential8

Store atomic data in a proprietary data structure (MDDB), pre-calculate as many outcomes as possible, obtain OLAP functionality via proprietary algorithms running against this data.

Obtain multi-dimensional reports from the DSS Client

MOLAP - Architecture

MDDB Engine MDDB Engine Decision Support Client

Database Layer Application Logic Layer Presentation Layer

Page 9: Bts(Fs-tmt) Dwh - Ucf 2.x Advanced Olap Concepts v1.0 - Part 2

© 2009 Wipro Ltd - Confidential9 © 2009 Wipro Ltd - Confidential9 © 2009 Wipro Ltd - Confidential9

Support for large databases with good performance Excellent platform portability Good exploitation of hardware advances such as parallel

processing Codd rules however are not concerned about storage, but

about functionality only

ROLAP

Page 10: Bts(Fs-tmt) Dwh - Ucf 2.x Advanced Olap Concepts v1.0 - Part 2

© 2009 Wipro Ltd - Confidential10 © 2009 Wipro Ltd - Confidential10 © 2009 Wipro Ltd - Confidential10

Advantages • Robust security • Multi-user concurrent access

(e.g. read-write with locking) • Widely recognized standards • Openness to multiple tools • Based on familiar, proven

and scalable technology Extraction & Replication Parallelization Query Optimization Advanced Indexing

techniques

ROLAP - A Perspective

Disadvantages• Computation Intensive

queries are slow.• Additional layer of OLAP

engine• Non intuitive

Page 11: Bts(Fs-tmt) Dwh - Ucf 2.x Advanced Olap Concepts v1.0 - Part 2

© 2009 Wipro Ltd - Confidential11 © 2009 Wipro Ltd - Confidential11 © 2009 Wipro Ltd - Confidential11

Three tiered Architecture : • OLAP interface • ROLAP engine• RDBMS

ROLAP - Architecture

Data Warehouse ROLAP Engine Decision Support Client

Database Layer Application Logic Layer Presentation Layer

Page 12: Bts(Fs-tmt) Dwh - Ucf 2.x Advanced Olap Concepts v1.0 - Part 2

© 2009 Wipro Ltd - Confidential12 © 2009 Wipro Ltd - Confidential12 © 2009 Wipro Ltd - Confidential12

Hybrid approach seeks to provide best of both worlds - MOLAP and ROLAP

Create MDB structures for fast analytical needs Create mappings to RDBMS for larger data volumes The engine hides these mappings/ structures from the end

user

HOLAP - Hybrid OLAP

Page 13: Bts(Fs-tmt) Dwh - Ucf 2.x Advanced Olap Concepts v1.0 - Part 2

© 2009 Wipro Ltd - Confidential13 © 2009 Wipro Ltd - Confidential13 © 2009 Wipro Ltd - Confidential13

Advantages• Performance due to MDB

structures• Integration with data

maintained in RDBMS• Leverages RDBMS engine

and administration skills• Support for large volumes of

data by Relational Mappings

Hybrid OLAP - A perspective

Disadvantages• Managing large number of

data structures• Complex Architecture• Expensive

Page 14: Bts(Fs-tmt) Dwh - Ucf 2.x Advanced Olap Concepts v1.0 - Part 2

© 2009 Wipro Ltd - Confidential14 © 2009 Wipro Ltd - Confidential14 © 2009 Wipro Ltd - Confidential14

HOLAP - Architecture

Page 15: Bts(Fs-tmt) Dwh - Ucf 2.x Advanced Olap Concepts v1.0 - Part 2

© 2009 Wipro Ltd - Confidential15 © 2009 Wipro Ltd - Confidential15 © 2009 Wipro Ltd - Confidential15

Desktop OLAP tools work by extracting RDBMS data into local (or server) MD cubes

User queries are limited to the predefined dimensions in the hypercube

Do not provide shared environment Do not provide read/write capabilities Low cost tools

DOLAP

Page 16: Bts(Fs-tmt) Dwh - Ucf 2.x Advanced Olap Concepts v1.0 - Part 2

© 2009 Wipro Ltd - Confidential16 © 2009 Wipro Ltd - Confidential16 © 2009 Wipro Ltd - Confidential16

DOLAP - Architecture

Page 17: Bts(Fs-tmt) Dwh - Ucf 2.x Advanced Olap Concepts v1.0 - Part 2

© 2009 Wipro Ltd - Confidential17 © 2009 Wipro Ltd - Confidential17 © 2009 Wipro Ltd - Confidential17

Most OLAP products can now be deployed to Web browsers Approaches used

• Static Web publishing - The reports are generated in the form of HTML documents

• Using a Web OLAP Server - Simple scripts allow users to perform basic manipulations like dimension rotations, drill downs and dimension member selections

Web OLAP

Page 18: Bts(Fs-tmt) Dwh - Ucf 2.x Advanced Olap Concepts v1.0 - Part 2

© 2009 Wipro Ltd - Confidential18 © 2009 Wipro Ltd - Confidential18 © 2009 Wipro Ltd - Confidential18

Web OLAP - Architecture

Page 19: Bts(Fs-tmt) Dwh - Ucf 2.x Advanced Olap Concepts v1.0 - Part 2

© 2009 Wipro Ltd - Confidential19 © 2009 Wipro Ltd - Confidential19 © 2009 Wipro Ltd - Confidential19

Congratulations! You have now completed the module OLAP Types

You should now be able – Understand different OLAP Types– Architecture– Advantages Disadvantages

Module Summary

Page 20: Bts(Fs-tmt) Dwh - Ucf 2.x Advanced Olap Concepts v1.0 - Part 2

© 2009 Wipro Ltd – Internal & Restricted20

Quiz

Page 21: Bts(Fs-tmt) Dwh - Ucf 2.x Advanced Olap Concepts v1.0 - Part 2

© 2009 Wipro Ltd – Internal & Restricted21 © 2009 Wipro Ltd – Internal & Restricted21

The cube structure in OLAP achieves the __________functionalitya) Sharedb) Informationc) Collectiond) Multidimensional

Question 1

Answer: D

Page 22: Bts(Fs-tmt) Dwh - Ucf 2.x Advanced Olap Concepts v1.0 - Part 2

© 2009 Wipro Ltd – Internal & Restricted22 © 2009 Wipro Ltd – Internal & Restricted22

Aggregation provides OLAP with __________

a) Multidimensional Datab) Pre Calculated Datac) Slow Retrievald) Nested Data

Question 2

Answer: B

Page 23: Bts(Fs-tmt) Dwh - Ucf 2.x Advanced Olap Concepts v1.0 - Part 2

© 2009 Wipro Ltd – Internal & Restricted23 © 2009 Wipro Ltd – Internal & Restricted23

MDDB Engine is used in __________architecturea) HOLAPb) WOLAPc) MOLAPd) None of the above

Question 3

Answer: C

Page 24: Bts(Fs-tmt) Dwh - Ucf 2.x Advanced Olap Concepts v1.0 - Part 2

© 2009 Wipro Ltd – Internal & Restricted24 © 2009 Wipro Ltd – Internal & Restricted24

Deploying OLAP products on Web Browsers is

a) Web Deploymentb) WOLAPc) Web Reportsd) None of the above

Question 4

Answer: B

Page 25: Bts(Fs-tmt) Dwh - Ucf 2.x Advanced Olap Concepts v1.0 - Part 2

© 2009 Wipro Ltd – Internal & Restricted25 © 2009 Wipro Ltd – Internal & Restricted25

ROLAP Architecture includes

a) DBMS, Engine, DSSb) DBMS, ROLAP Engine, OLAP Interfacec) ROLAP Engined) None of the above

Question 5

Answer: B

Page 26: Bts(Fs-tmt) Dwh - Ucf 2.x Advanced Olap Concepts v1.0 - Part 2

© 2009 Wipro Ltd – Internal & Restricted26

References

Page 27: Bts(Fs-tmt) Dwh - Ucf 2.x Advanced Olap Concepts v1.0 - Part 2

© 2009 Wipro Ltd – Internal & Restricted27 © 2009 Wipro Ltd – Internal & Restricted27 © 2009 Wipro Ltd – Internal & Restricted27 © 2009 Wipro Ltd – Internal & Restricted27

References

Library:Tek-tips reporting solutions

forumhttp://www.dmreview.com/http://www.dwinfocenter.org

Data warehouse and OLAP – Concepts, Architecture and Solutions by Robert Wrember & Christian Koncilia

The OLAP Report by Nigel Pendse and Richard Creeth

The OLAP Solutions – Building Multidimensional Information Systems Second Edition by Erik Thomsen, Wiley dreamtech India Pvt. Ltd. 2002 ISBN 81-265-0275-4

Publications Publications

Training ProgramsURL’s

Page 28: Bts(Fs-tmt) Dwh - Ucf 2.x Advanced Olap Concepts v1.0 - Part 2

© 2009 Wipro Ltd – Internal & Restricted

Thank You

Renu SinghTechnical Lead

[email protected]