OLAP
-
Upload
slideshare -
Category
Education
-
view
2.528 -
download
0
description
Transcript of OLAP
![Page 1: OLAP](https://reader033.fdocuments.us/reader033/viewer/2022061215/548017e0b4af9fe87d8b4572/html5/thumbnails/1.jpg)
OLAP
V. SaranyaAP/CSE
Sri Vidya college of Engineering & Technology, Virudhunagar
![Page 2: OLAP](https://reader033.fdocuments.us/reader033/viewer/2022061215/548017e0b4af9fe87d8b4572/html5/thumbnails/2.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022061215/548017e0b4af9fe87d8b4572/html5/thumbnails/3.jpg)
Introduction to OLAP
• Continuous iterative process.• Operations are:– Drill down– Drill up– pivot
![Page 4: OLAP](https://reader033.fdocuments.us/reader033/viewer/2022061215/548017e0b4af9fe87d8b4572/html5/thumbnails/4.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022061215/548017e0b4af9fe87d8b4572/html5/thumbnails/5.jpg)
Data Cubes
![Page 6: OLAP](https://reader033.fdocuments.us/reader033/viewer/2022061215/548017e0b4af9fe87d8b4572/html5/thumbnails/6.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022061215/548017e0b4af9fe87d8b4572/html5/thumbnails/7.jpg)
• Comprehensive database management tools• The ability to drill down to detail view• Incremental database refresh• SQL interface.
![Page 8: OLAP](https://reader033.fdocuments.us/reader033/viewer/2022061215/548017e0b4af9fe87d8b4572/html5/thumbnails/8.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022061215/548017e0b4af9fe87d8b4572/html5/thumbnails/9.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022061215/548017e0b4af9fe87d8b4572/html5/thumbnails/10.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022061215/548017e0b4af9fe87d8b4572/html5/thumbnails/11.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022061215/548017e0b4af9fe87d8b4572/html5/thumbnails/12.jpg)
MOLAP Architecture
Database Server
Meta Data Request
Processing
MOLAP Server
Load
Result
SQLFront End Tool
Result Set
InfoRequest
![Page 13: OLAP](https://reader033.fdocuments.us/reader033/viewer/2022061215/548017e0b4af9fe87d8b4572/html5/thumbnails/13.jpg)
• 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](https://reader033.fdocuments.us/reader033/viewer/2022061215/548017e0b4af9fe87d8b4572/html5/thumbnails/14.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022061215/548017e0b4af9fe87d8b4572/html5/thumbnails/15.jpg)
ROLAP
Database Server
Meta Data Request
Processing
ROLAP Server
Resultset
SQLFront End Tool
Result Set
InfoRequest
![Page 16: OLAP](https://reader033.fdocuments.us/reader033/viewer/2022061215/548017e0b4af9fe87d8b4572/html5/thumbnails/16.jpg)
Vendors Tools• Information advantage Axsys• Microstrategy Dss agent/ Dss server• Platinum/Prodea software Beacon• Sybase High gate project
![Page 17: OLAP](https://reader033.fdocuments.us/reader033/viewer/2022061215/548017e0b4af9fe87d8b4572/html5/thumbnails/17.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022061215/548017e0b4af9fe87d8b4572/html5/thumbnails/18.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022061215/548017e0b4af9fe87d8b4572/html5/thumbnails/19.jpg)
• Pros:– Simple installation– Administration is easy– Network traffic is less
• Cons:– Redundancy– Inconsistency.
![Page 20: OLAP](https://reader033.fdocuments.us/reader033/viewer/2022061215/548017e0b4af9fe87d8b4572/html5/thumbnails/20.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022061215/548017e0b4af9fe87d8b4572/html5/thumbnails/21.jpg)
• 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](https://reader033.fdocuments.us/reader033/viewer/2022061215/548017e0b4af9fe87d8b4572/html5/thumbnails/22.jpg)
Web Processing Model