OLAP

22
OLAP V. Saranya AP/CSE Sri Vidya college of Engineering & Technology, Virudhunagar

description

 

Transcript of OLAP

Page 1: OLAP

OLAP

V. SaranyaAP/CSE

Sri Vidya college of Engineering & Technology, Virudhunagar

Page 2: OLAP

Need for OLAP

• Business problems need query centric db.• Need multidimensional approach.Characteristics of above problems: Extract large number of records from large

data set. Data summary.

To solve these kind of problems we need OLAP

Page 3: OLAP

Introduction to OLAP

• Continuous iterative process.• Operations are:– Drill down– Drill up– pivot

Page 4: OLAP

Multidimensional data model

• How many students done the exams conducted by department in college.

• Dimensions are:– Students– Exams– Department– College.

Response time of multidimensional query depends upon the number of cells to be added on the fly.Number of dimension increases=no of cube cell increase

Page 5: OLAP

Data Cubes

Page 6: OLAP

OLAP Guidelines• Multidimensional conceptual view• Transparency• Accessibility• Consistent reporting performance• Client/Server architecture• Generic dimensionality• Dynamic square matrix handling• Multiuser support• Unrestricted cross dimensional operation• Institutive data manipulation• Flexible reporting• Unlimited dimension and aggregation levels

Page 7: OLAP

• Comprehensive database management tools• The ability to drill down to detail view• Incremental database refresh• SQL interface.

Page 8: OLAP

Classification of OLAP tools

• Based on multidimensional db.• Allow the users to analyze the data using

views.• Need MDDB.• Classifications:– MOLAP– ROLAP

Page 9: OLAP

M(Multidimensional)OLAP

• Uses MDDBMS to organize and navigate data• Data Structure: Array• Segregate the OLAP thro APIPros:Excellent performanceResponse time.Cons:Series analysis iteration

Page 10: OLAP

Example

Organization tool• Arbor software: ESSbase• Oracle: Express server• Pilot Software: Light Slip Server• Snipper: TM/I• Planning Science: Gentium• Kenan technology: Multiway

Page 11: OLAP

Challenges• Data structure to support multiple subject area of data.• Analyze which data can be navigated and analyzed.• When the navigation changes the data structure needs to be

physically reorganized.• Need different skill set and tools for DBA to build, maintain

database.• Need hybrid solution.

Hybrid Solution:Integration of multidimensional data storage with RDBMS,Provide users with MDDSData maintained in RDBMS.

Page 12: OLAP

MOLAP Architecture

Database Server

Meta Data Request

Processing

MOLAP Server

Load

Result

SQLFront End Tool

Result Set

InfoRequest

Page 13: OLAP

• This allows the MDDS to dynamically obtain the detail maintained in RDBMS when the application reaches the bottom of multidimensional cells during drill down analysis.

• Best for Sensitive applications.

Page 14: OLAP

ROLAP• Fastest growing style of OLAP• Products of ROLAP have been engineered to

support products directly through meta data.• Enables multi dimensional views of 2D

relational tables.• Pros:– Flexibility

• Cons:– Data base design

Page 15: OLAP

ROLAP

Database Server

Meta Data Request

Processing

ROLAP Server

Resultset

SQLFront End Tool

Result Set

InfoRequest

Page 16: OLAP

Vendors Tools• Information advantage Axsys• Microstrategy Dss agent/ Dss server• Platinum/Prodea software Beacon• Sybase High gate project

Page 17: OLAP

Managed Query Environment/HOLAP

• Provides user with ability to perform limited analysis capability either directly with RDBMS products or

• Intermediate MOLAP.• The ad hoc query converted to provide data cube.Done by:1. Convert the query to select data from DBMS2. Deliver the data to desktop where it is placed in data

cube.3. Data cube is stored locally to reduce overhead of

creation of the cube.4. Now user can perform multi dimensional analysis.

Page 18: OLAP

HOLAP/MQE/Hybrid architecture

RDBMS

Database Server

MOLAP Server

Resultset

SQL

Front End Tool

Result Set

InfoRequest

LoadResult set OR

SQL Query

Page 19: OLAP

• Pros:– Simple installation– Administration is easy– Network traffic is less

• Cons:– Redundancy– Inconsistency.

Page 20: OLAP

OLAP tools and Internet• Internet free resource, provides connectivity, can do

complex administration jobs, store and manage data applications

• Data warehousingGeneral features of web enabled data access:• 1st generation websites:– Static distribution model– Client access static html pages via browser.– Decision support reports stored as html doc and delivered to

users.

• Deficiencies:– Interaction with clients.

Page 21: OLAP

• 2nd generation:– Supports interaction– Multi tiered architecture– Client submits the query in html to web server– Server transform the request to CGI– The gateway submits SQL queries to db and

receives and translates to html and sends to page requester.

Page 22: OLAP

Web Processing Model