SlideShare a Scribd company logo
OLAP Operations
• Name : Kunj Desai
• Enrollment Number : 140950107022
• Branch : CSE – A
• Semester : 7th
• Year : 2017
Definition
• Online Analytical Processing Server (OLAP) is based on the
multidimensional data model.
• It allows managers, and analysts to get an insight of the
information through fast, consistent, and interactive access to
information.
• OLAP (Online Analytical Processing) is the technology behind
many Business Intelligence (BI) applications.
• OLAP is a powerful technology for data discovery, including
capabilities for limitless report viewing, complex analytical
calculations, and predictive “what if” scenario (budget,
forecast) planning.
Types of OLAP Server
• We have four types of OLAP servers:
1. Relational OLAP (ROLAP)
2. Multidimensional OLAP (MOLAP)
3. Hybrid OLAP (HOLAP)
4. Specialized SQL Servers
Multidimensional OLAP
• MOLAP uses array-based multidimensional storage engines
for multidimensional views of data.
• With multidimensional data stores, the storage utilization may
be low if the data set is sparse.
• Therefore, many MOLAP server use two levels of data storage
representation to handle dense and sparse data sets.
• Multidimensional structure is defined as "a variation of the
relational model that uses multidimensional structures to
organize data and express the relationships between data".
• Multidimensional structure is quite popular for analytical
databases that use online analytical processing (OLAP)
applications.
OLAP Operations
• Since OLAP servers are based on multidimensional view of
data, we will discuss OLAP operations in multidimensional
data.
• Here is the list of OLAP operations:
1. Roll-up
2. Drill-down
3. Slice and dice
4. Pivot (rotate)
1. Roll - up
• Roll-up performs aggregation on a data cube in any of the
following ways:
1. By climbing up a concept hierarchy for a dimension
2. By dimension reduction
3. Roll-up is performed by climbing up a concept hierarchy for the
dimension location.
4. Initially the concept hierarchy was "street < city < province <
country".
5. On rolling up, the data is aggregated by ascending the location
hierarchy from the level of city to the level of country.
6. The data is grouped into cities rather than countries.
7. When roll-up is performed, one or more dimensions from the
data cube are removed.
Diagram
• The following diagram illustrates how roll-up works:
Figure 1: Roll - Up
2. Drill - Down
• Drill-down is the reverse operation of roll-up. It is performed by
either of the following ways:
1. By stepping down a concept hierarchy for a dimension
2. By introducing a new dimension.
3. Drill-down is performed by stepping down a concept hierarchy
for the dimension time.
4. Initially the concept hierarchy was "day < month < quarter <
year."
5. On drilling down, the time dimension is descended from the
level of quarter to the level of month.
6. When drill-down is performed, one or more dimensions from
the data cube are added.
7. It navigates the data from less detailed data to highly detailed
data.
Diagram
• The following diagram illustrates how drill down works:
Figure 2: Drill - Down
3. Slice
• The slice operation selects one particular dimension from a
given cube and provides a new sub-cube.
• In the following diagram diagram(Figure 3) Slice is performed
for the dimension "time" using the criterion time = "Q1".
• It will form a new sub-cube by selecting one or more
dimensions.
Diagram
• The following diagram illustrates how Slice works:
Figure 3. Slice
4. Dice
• Dice selects two or more dimensions from a given cube and
provides a new sub-cube.
• This is shown in the following diagram (Figure 4 ) Dice is
shown .
• The dice operation on the cube based on the following
selection criteria involves three dimensions.
1. (location = "Toronto" or "Vancouver")
2. (time = "Q1" or "Q2")
3. (item =" Mobile" or "Modem")
Diagram
• The following diagram illustrates how dice works:
Figure 4 : Dice
5. Pivot
• The pivot operation is also known as rotation(Figure 5). It rotates
the data axes in view in order to provide an alternative
presentation of data.
Figure 5: Pivot

More Related Content

What's hot

Oltp vs olap
Oltp vs olapOltp vs olap
Oltp vs olap
Mr. Fmhyudin
 
Major issues in data mining
Major issues in data miningMajor issues in data mining
Major issues in data miningSlideshare
 
Online analytical processing
Online analytical processingOnline analytical processing
Online analytical processing
nurmeen1
 
Types of Database Models
Types of Database ModelsTypes of Database Models
Types of Database Models
Murassa Gillani
 
Online analytical processing
Online analytical processingOnline analytical processing
Online analytical processing
Samraiz Tejani
 
Data warehousing and online analytical processing
Data warehousing and online analytical processingData warehousing and online analytical processing
Data warehousing and online analytical processing
VijayasankariS
 
Data preprocessing using Machine Learning
Data  preprocessing using Machine Learning Data  preprocessing using Machine Learning
Data preprocessing using Machine Learning
Gopal Sakarkar
 
Data mining tasks
Data mining tasksData mining tasks
Data mining tasks
Khwaja Aamer
 
2. visualization in data mining
2. visualization in data mining2. visualization in data mining
2. visualization in data mining
Azad public school
 
Dimensional Modeling
Dimensional ModelingDimensional Modeling
Dimensional Modeling
Sunita Sahu
 
Classification and prediction in data mining
Classification and prediction in data miningClassification and prediction in data mining
Classification and prediction in data mining
Er. Nawaraj Bhandari
 
Data mining primitives
Data mining primitivesData mining primitives
Data mining primitives
lavanya marichamy
 
1.4 data independence
1.4 data independence1.4 data independence
1.4 data independence
BHARATH KUMAR
 
Data Models
Data ModelsData Models
Data Models
RituBhargava7
 
Data mining and data warehouse lab manual updated
Data mining and data warehouse lab manual updatedData mining and data warehouse lab manual updated
Data mining and data warehouse lab manual updated
Yugal Kumar
 
Clustering in Data Mining
Clustering in Data MiningClustering in Data Mining
Clustering in Data Mining
Archana Swaminathan
 
OLAP in Data Warehouse
OLAP in Data WarehouseOLAP in Data Warehouse
OLAP in Data Warehouse
SOMASUNDARAM T
 
Multimedia Database
Multimedia Database Multimedia Database
Multimedia Database
Avnish Patel
 
Data Reduction
Data ReductionData Reduction
Data Reduction
Rajan Shah
 

What's hot (20)

Oltp vs olap
Oltp vs olapOltp vs olap
Oltp vs olap
 
Major issues in data mining
Major issues in data miningMajor issues in data mining
Major issues in data mining
 
Online analytical processing
Online analytical processingOnline analytical processing
Online analytical processing
 
Types of Database Models
Types of Database ModelsTypes of Database Models
Types of Database Models
 
Online analytical processing
Online analytical processingOnline analytical processing
Online analytical processing
 
Data warehousing and online analytical processing
Data warehousing and online analytical processingData warehousing and online analytical processing
Data warehousing and online analytical processing
 
Data preprocessing using Machine Learning
Data  preprocessing using Machine Learning Data  preprocessing using Machine Learning
Data preprocessing using Machine Learning
 
Data mining tasks
Data mining tasksData mining tasks
Data mining tasks
 
2. visualization in data mining
2. visualization in data mining2. visualization in data mining
2. visualization in data mining
 
Dimensional Modeling
Dimensional ModelingDimensional Modeling
Dimensional Modeling
 
Classification and prediction in data mining
Classification and prediction in data miningClassification and prediction in data mining
Classification and prediction in data mining
 
Data mining primitives
Data mining primitivesData mining primitives
Data mining primitives
 
1.4 data independence
1.4 data independence1.4 data independence
1.4 data independence
 
Data Models
Data ModelsData Models
Data Models
 
Data mining and data warehouse lab manual updated
Data mining and data warehouse lab manual updatedData mining and data warehouse lab manual updated
Data mining and data warehouse lab manual updated
 
Clustering in Data Mining
Clustering in Data MiningClustering in Data Mining
Clustering in Data Mining
 
OLAP in Data Warehouse
OLAP in Data WarehouseOLAP in Data Warehouse
OLAP in Data Warehouse
 
Distributed database
Distributed databaseDistributed database
Distributed database
 
Multimedia Database
Multimedia Database Multimedia Database
Multimedia Database
 
Data Reduction
Data ReductionData Reduction
Data Reduction
 

Similar to OLAP operations

Case study: Implementation of OLAP operations
Case study: Implementation of OLAP operationsCase study: Implementation of OLAP operations
Case study: Implementation of OLAP operations
chirag patil
 
Business analysis
Business analysisBusiness analysis
Business analysis
Dhilsath Fathima
 
Case Study Real Time Olap Cubes
Case Study Real Time Olap CubesCase Study Real Time Olap Cubes
Case Study Real Time Olap Cubes
mister_zed
 
Olap operations
Olap operationsOlap operations
Olap operations
RohanJaiswal29
 
Complete unit ii notes
Complete unit ii notesComplete unit ii notes
Complete unit ii notes
Benazir Fathima
 
Lecture2 (1).ppt
Lecture2 (1).pptLecture2 (1).ppt
Lecture2 (1).ppt
Minakshee Patil
 
Essbase beginner's guide olap fundamental chapter 1
Essbase beginner's guide olap fundamental chapter 1Essbase beginner's guide olap fundamental chapter 1
Essbase beginner's guide olap fundamental chapter 1Amit Sharma
 
mod 2.pdf
mod 2.pdfmod 2.pdf
BUILDING A DATA WAREHOUSE
BUILDING A DATA WAREHOUSEBUILDING A DATA WAREHOUSE
BUILDING A DATA WAREHOUSENeha Kapoor
 
Data Warehouse Implementation
Data Warehouse ImplementationData Warehouse Implementation
Data Warehouse Implementation
omayva
 
86921864 olap-case-study-vj
86921864 olap-case-study-vj86921864 olap-case-study-vj
86921864 olap-case-study-vj
homeworkping4
 
OLAP Basics and Fundamentals by Bharat Kalia
OLAP Basics and Fundamentals by Bharat Kalia OLAP Basics and Fundamentals by Bharat Kalia
OLAP Basics and Fundamentals by Bharat Kalia
Bharat Kalia
 
Sql server introduction
Sql server introductionSql server introduction
Sql server introduction
Riteshkiit
 
MULTIMEDIA MODELING
MULTIMEDIA MODELINGMULTIMEDIA MODELING
MULTIMEDIA MODELING
Jasbeer Chauhan
 
Kylin and Druid Presentation
Kylin and Druid PresentationKylin and Druid Presentation
Kylin and Druid Presentation
argonauts007
 
Multi dimensional model vs (1)
Multi dimensional model vs (1)Multi dimensional model vs (1)
Multi dimensional model vs (1)
JamesDempsey1
 
overview of_data_processing
overview of_data_processingoverview of_data_processing
overview of_data_processing
FEG
 
Olap queries
Olap queriesOlap queries
Olap queries
Jaya Jeswani
 

Similar to OLAP operations (20)

Case study: Implementation of OLAP operations
Case study: Implementation of OLAP operationsCase study: Implementation of OLAP operations
Case study: Implementation of OLAP operations
 
datacub
datacubdatacub
datacub
 
Business analysis
Business analysisBusiness analysis
Business analysis
 
Case Study Real Time Olap Cubes
Case Study Real Time Olap CubesCase Study Real Time Olap Cubes
Case Study Real Time Olap Cubes
 
Olap operations
Olap operationsOlap operations
Olap operations
 
Complete unit ii notes
Complete unit ii notesComplete unit ii notes
Complete unit ii notes
 
Lecture2 (1).ppt
Lecture2 (1).pptLecture2 (1).ppt
Lecture2 (1).ppt
 
Essbase beginner's guide olap fundamental chapter 1
Essbase beginner's guide olap fundamental chapter 1Essbase beginner's guide olap fundamental chapter 1
Essbase beginner's guide olap fundamental chapter 1
 
mod 2.pdf
mod 2.pdfmod 2.pdf
mod 2.pdf
 
BUILDING A DATA WAREHOUSE
BUILDING A DATA WAREHOUSEBUILDING A DATA WAREHOUSE
BUILDING A DATA WAREHOUSE
 
Data Warehouse Implementation
Data Warehouse ImplementationData Warehouse Implementation
Data Warehouse Implementation
 
86921864 olap-case-study-vj
86921864 olap-case-study-vj86921864 olap-case-study-vj
86921864 olap-case-study-vj
 
OLAP Basics and Fundamentals by Bharat Kalia
OLAP Basics and Fundamentals by Bharat Kalia OLAP Basics and Fundamentals by Bharat Kalia
OLAP Basics and Fundamentals by Bharat Kalia
 
Sql server introduction
Sql server introductionSql server introduction
Sql server introduction
 
MULTIMEDIA MODELING
MULTIMEDIA MODELINGMULTIMEDIA MODELING
MULTIMEDIA MODELING
 
BI_OLAP_Chap-3
BI_OLAP_Chap-3BI_OLAP_Chap-3
BI_OLAP_Chap-3
 
Kylin and Druid Presentation
Kylin and Druid PresentationKylin and Druid Presentation
Kylin and Druid Presentation
 
Multi dimensional model vs (1)
Multi dimensional model vs (1)Multi dimensional model vs (1)
Multi dimensional model vs (1)
 
overview of_data_processing
overview of_data_processingoverview of_data_processing
overview of_data_processing
 
Olap queries
Olap queriesOlap queries
Olap queries
 

More from kunj desai

Bottom - Up Parsing
Bottom - Up ParsingBottom - Up Parsing
Bottom - Up Parsing
kunj desai
 
Loaders and Linkers
Loaders and LinkersLoaders and Linkers
Loaders and Linkers
kunj desai
 
Binary Search
Binary SearchBinary Search
Binary Search
kunj desai
 
Introduction to 8085 microprocessor
Introduction to 8085 microprocessorIntroduction to 8085 microprocessor
Introduction to 8085 microprocessor
kunj desai
 
Custom Controls in ASP.net
Custom Controls in ASP.netCustom Controls in ASP.net
Custom Controls in ASP.net
kunj desai
 
JDBC Connectivity Model
JDBC Connectivity ModelJDBC Connectivity Model
JDBC Connectivity Model
kunj desai
 
Requirement specification (SRS)
Requirement specification (SRS)Requirement specification (SRS)
Requirement specification (SRS)
kunj desai
 
Minimization of DFA
Minimization of DFAMinimization of DFA
Minimization of DFA
kunj desai
 
php databse handling
php databse handlingphp databse handling
php databse handling
kunj desai
 
Concept of constructors
Concept of constructorsConcept of constructors
Concept of constructors
kunj desai
 

More from kunj desai (10)

Bottom - Up Parsing
Bottom - Up ParsingBottom - Up Parsing
Bottom - Up Parsing
 
Loaders and Linkers
Loaders and LinkersLoaders and Linkers
Loaders and Linkers
 
Binary Search
Binary SearchBinary Search
Binary Search
 
Introduction to 8085 microprocessor
Introduction to 8085 microprocessorIntroduction to 8085 microprocessor
Introduction to 8085 microprocessor
 
Custom Controls in ASP.net
Custom Controls in ASP.netCustom Controls in ASP.net
Custom Controls in ASP.net
 
JDBC Connectivity Model
JDBC Connectivity ModelJDBC Connectivity Model
JDBC Connectivity Model
 
Requirement specification (SRS)
Requirement specification (SRS)Requirement specification (SRS)
Requirement specification (SRS)
 
Minimization of DFA
Minimization of DFAMinimization of DFA
Minimization of DFA
 
php databse handling
php databse handlingphp databse handling
php databse handling
 
Concept of constructors
Concept of constructorsConcept of constructors
Concept of constructors
 

Recently uploaded

Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
Kamal Acharya
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
MuhammadTufail242431
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
Kamal Acharya
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
Kamal Acharya
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
Kamal Acharya
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
ShahidSultan24
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 

Recently uploaded (20)

Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 

OLAP operations

  • 1. OLAP Operations • Name : Kunj Desai • Enrollment Number : 140950107022 • Branch : CSE – A • Semester : 7th • Year : 2017
  • 2. Definition • Online Analytical Processing Server (OLAP) is based on the multidimensional data model. • It allows managers, and analysts to get an insight of the information through fast, consistent, and interactive access to information. • OLAP (Online Analytical Processing) is the technology behind many Business Intelligence (BI) applications. • OLAP is a powerful technology for data discovery, including capabilities for limitless report viewing, complex analytical calculations, and predictive “what if” scenario (budget, forecast) planning.
  • 3. Types of OLAP Server • We have four types of OLAP servers: 1. Relational OLAP (ROLAP) 2. Multidimensional OLAP (MOLAP) 3. Hybrid OLAP (HOLAP) 4. Specialized SQL Servers
  • 4. Multidimensional OLAP • MOLAP uses array-based multidimensional storage engines for multidimensional views of data. • With multidimensional data stores, the storage utilization may be low if the data set is sparse. • Therefore, many MOLAP server use two levels of data storage representation to handle dense and sparse data sets. • Multidimensional structure is defined as "a variation of the relational model that uses multidimensional structures to organize data and express the relationships between data". • Multidimensional structure is quite popular for analytical databases that use online analytical processing (OLAP) applications.
  • 5. OLAP Operations • Since OLAP servers are based on multidimensional view of data, we will discuss OLAP operations in multidimensional data. • Here is the list of OLAP operations: 1. Roll-up 2. Drill-down 3. Slice and dice 4. Pivot (rotate)
  • 6. 1. Roll - up • Roll-up performs aggregation on a data cube in any of the following ways: 1. By climbing up a concept hierarchy for a dimension 2. By dimension reduction 3. Roll-up is performed by climbing up a concept hierarchy for the dimension location. 4. Initially the concept hierarchy was "street < city < province < country". 5. On rolling up, the data is aggregated by ascending the location hierarchy from the level of city to the level of country. 6. The data is grouped into cities rather than countries. 7. When roll-up is performed, one or more dimensions from the data cube are removed.
  • 7. Diagram • The following diagram illustrates how roll-up works: Figure 1: Roll - Up
  • 8. 2. Drill - Down • Drill-down is the reverse operation of roll-up. It is performed by either of the following ways: 1. By stepping down a concept hierarchy for a dimension 2. By introducing a new dimension. 3. Drill-down is performed by stepping down a concept hierarchy for the dimension time. 4. Initially the concept hierarchy was "day < month < quarter < year." 5. On drilling down, the time dimension is descended from the level of quarter to the level of month. 6. When drill-down is performed, one or more dimensions from the data cube are added. 7. It navigates the data from less detailed data to highly detailed data.
  • 9. Diagram • The following diagram illustrates how drill down works: Figure 2: Drill - Down
  • 10. 3. Slice • The slice operation selects one particular dimension from a given cube and provides a new sub-cube. • In the following diagram diagram(Figure 3) Slice is performed for the dimension "time" using the criterion time = "Q1". • It will form a new sub-cube by selecting one or more dimensions.
  • 11. Diagram • The following diagram illustrates how Slice works: Figure 3. Slice
  • 12. 4. Dice • Dice selects two or more dimensions from a given cube and provides a new sub-cube. • This is shown in the following diagram (Figure 4 ) Dice is shown . • The dice operation on the cube based on the following selection criteria involves three dimensions. 1. (location = "Toronto" or "Vancouver") 2. (time = "Q1" or "Q2") 3. (item =" Mobile" or "Modem")
  • 13. Diagram • The following diagram illustrates how dice works: Figure 4 : Dice
  • 14. 5. Pivot • The pivot operation is also known as rotation(Figure 5). It rotates the data axes in view in order to provide an alternative presentation of data. Figure 5: Pivot