SlideShare a Scribd company logo
1 of 22
Download to read offline
DATA WAREHOUSING
Multi Dimensional
OLAP
Usando el
DW



            2
3
   Example of two-dimensional query.
         ▪ What is the total revenue generated by property sales in
           each city, in each quarter of 2004?’

       Choice of representation is based on types of
        queries end-user may ask.




4
Compare representation - three-field relational table versus two-
    dimensional matrix.
5
   Example of three-dimensional query.
         ‘What is the total revenue generated by property
         sales for each type of property (Flat or House) in
         each city, in each quarter of 2004?’




6
Data Cube
Compare representation - four-field relational table versus three-dimensional cube.
7
   A subset of highly interrelated data that is
        organized to allow users to combine any
        attributes in a cube (e.g., stores, products,
        customers, suppliers) with any metrics in the
        cube (e.g., sales, profit, units, age) to create
        various two-dimensional views, or slices, that
        can be displayed on a computer screen


8
   Cube represents data as cells in an array.

       Relational table only represents multi-
        dimensional data in two dimensions.




9
   Use multi-dimensional structures to store
     data and relationships between data.

    Multi-dimensional structures are best
     visualized as cubes of data, and cubes within
     cubes of data. Each side of a cube is a
     dimension.

    A cube can be expanded to include other
     dimensions.
10
   A cube supports matrix arithmetic.

    Multi-dimensional query response time
     depends on how many cells have to be added
     ‘on the fly’.

    As number of dimensions increases, number
     of the cube’s cells increases exponentially.

11
    However, majority of multi-dimensional
     queries use summarized, high-level data.

    Solution is to pre-aggregate (consolidate) all
     logical subtotals and totals along all
     dimensions.



12
   Pre-aggregation is valuable, as typical
     dimensions are hierarchical in nature.
      (e.g. Time dimension hierarchy - years, quarters,
      months, weeks, and days)

    Predefined hierarchy allows logical pre-
     aggregation and, conversely, allows for a
     logical ‘drill-down’.

13
   Supports common analytical operations
      Consolidation
      Drill-down
      Slicing and dicing
      Pivoting




14
    Consolidation - aggregation of data such as
     simple ‘roll-ups’ or complex expressions
     involving inter-related data.
    Drill-Down - is the reverse of consolidation and
     involves displaying the detailed data that
     comprises the consolidated data.
      The investigation of information in detail (e.g.,
       finding not only total sales but also sales by region, by
       product, or by salesperson). Finding the detailed
       sources.

15
16
     Slicing and Dicing: refers to the ability to look at the data
        from different viewpoints.
         dice: to cut into small cubes
         slice: A section of an cube selected by specifying its lower and
           upper limits



slice(color,mes)

                                                           dice(color)




   17
   Pivoting:
      Pivot deals with presentation
      Choose some dimensions X1, . . . ,Xi to appear
       on x and some dims Y1, . . . ,Yj to appear on y.




18
   Can store data in a compressed form by dynamically
     selecting physical storage organizations and compression
     techniques that maximize space utilization.
    Dense data (that is, data that exists for a high percentage of
     cells) can be stored separately from sparse data (that is, a
     significant percentage of cells are empty).




19
   Ability to omit empty or repetitive cells can
     greatly reduce the size of the cube and the
     amount of processing.

    Allows analysis of exceptionally large
     amounts of data.




20
   In summary, pre-aggregation, dimensional
     hierarchy, and sparse data management can
     significantly reduce the size of the cube and
     the need to calculate values ‘on-the-fly’.

    Removes need for multi-table joins and
     provides quick and direct access to arrays of
     data, thus significantly speeding up
     execution of multi-dimensional queries.
21
   Efraim Turban. Business Intelligence. Prentice
    Hall.2008.

More Related Content

What's hot

ePOM - Intro to Ocean Data Science - Scientific Computing
ePOM - Intro to Ocean Data Science - Scientific ComputingePOM - Intro to Ocean Data Science - Scientific Computing
ePOM - Intro to Ocean Data Science - Scientific ComputingGiuseppe Masetti
 
Vector data model
Vector data model Vector data model
Vector data model Pramoda Raj
 
HEC-RAS LiDAR Cross Sections With Microstation SS3 V8i
HEC-RAS LiDAR Cross Sections With Microstation SS3 V8iHEC-RAS LiDAR Cross Sections With Microstation SS3 V8i
HEC-RAS LiDAR Cross Sections With Microstation SS3 V8iChristopher L Chatfield, P.E.
 
geographic information system pdf
geographic information system pdfgeographic information system pdf
geographic information system pdfRolan Ben Lorono
 
Raster data analysis
Raster data analysisRaster data analysis
Raster data analysisAbdul Raziq
 
Vector and Raster Data data model
Vector and Raster Data data modelVector and Raster Data data model
Vector and Raster Data data modelCalcutta University
 
Data at scale: How to deal with small challenges when they become massive - A...
Data at scale: How to deal with small challenges when they become massive - A...Data at scale: How to deal with small challenges when they become massive - A...
Data at scale: How to deal with small challenges when they become massive - A...Institute of Contemporary Sciences
 
Geographic information system
Geographic information systemGeographic information system
Geographic information systemOssamaElShanawany
 

What's hot (12)

ePOM - Intro to Ocean Data Science - Scientific Computing
ePOM - Intro to Ocean Data Science - Scientific ComputingePOM - Intro to Ocean Data Science - Scientific Computing
ePOM - Intro to Ocean Data Science - Scientific Computing
 
CONNECTING BENTLEY AND ESRI TERRAIN DATA
CONNECTING BENTLEY AND ESRI TERRAIN DATA CONNECTING BENTLEY AND ESRI TERRAIN DATA
CONNECTING BENTLEY AND ESRI TERRAIN DATA
 
Raster
RasterRaster
Raster
 
Vector data model
Vector data model Vector data model
Vector data model
 
HEC-RAS LiDAR Cross Sections With Microstation SS3 V8i
HEC-RAS LiDAR Cross Sections With Microstation SS3 V8iHEC-RAS LiDAR Cross Sections With Microstation SS3 V8i
HEC-RAS LiDAR Cross Sections With Microstation SS3 V8i
 
geographic information system pdf
geographic information system pdfgeographic information system pdf
geographic information system pdf
 
Introduction of Application of Derivatives | Mathematics
Introduction of Application of Derivatives | MathematicsIntroduction of Application of Derivatives | Mathematics
Introduction of Application of Derivatives | Mathematics
 
Raster data analysis
Raster data analysisRaster data analysis
Raster data analysis
 
Vector and Raster Data data model
Vector and Raster Data data modelVector and Raster Data data model
Vector and Raster Data data model
 
Data at scale: How to deal with small challenges when they become massive - A...
Data at scale: How to deal with small challenges when they become massive - A...Data at scale: How to deal with small challenges when they become massive - A...
Data at scale: How to deal with small challenges when they become massive - A...
 
BarnieMAT
BarnieMATBarnieMAT
BarnieMAT
 
Geographic information system
Geographic information systemGeographic information system
Geographic information system
 

Viewers also liked

Viewers also liked (6)

Dw design 4_bus_architecture
Dw design 4_bus_architectureDw design 4_bus_architecture
Dw design 4_bus_architecture
 
Dw design 3_surro_keys
Dw design 3_surro_keysDw design 3_surro_keys
Dw design 3_surro_keys
 
1 introba
1 introba1 introba
1 introba
 
Diseño fisico particiones_3
Diseño fisico particiones_3Diseño fisico particiones_3
Diseño fisico particiones_3
 
Introduction to pharmacy business models
Introduction to pharmacy business modelsIntroduction to pharmacy business models
Introduction to pharmacy business models
 
Marketing strategies for cvs pharmacy
Marketing strategies for cvs pharmacyMarketing strategies for cvs pharmacy
Marketing strategies for cvs pharmacy
 

Similar to 2 olap operaciones

Multi dimensional model vs (1)
Multi dimensional model vs (1)Multi dimensional model vs (1)
Multi dimensional model vs (1)JamesDempsey1
 
Data Warehousing for students educationpptx
Data Warehousing for students educationpptxData Warehousing for students educationpptx
Data Warehousing for students educationpptxjainyshah20
 
dataminingpres-150821063129-lva1-app6891 (3).pdf
dataminingpres-150821063129-lva1-app6891 (3).pdfdataminingpres-150821063129-lva1-app6891 (3).pdf
dataminingpres-150821063129-lva1-app6891 (3).pdfAnilGupta681764
 
multi dimensional data model
multi dimensional data modelmulti dimensional data model
multi dimensional data modelmoni sindhu
 
Dataware house multidimensionalmodelling
Dataware house multidimensionalmodellingDataware house multidimensionalmodelling
Dataware house multidimensionalmodellingmeghu123
 
Provenance and Reuse of Open Data (PILOD 2.0 June 2014)
Provenance and Reuse of Open Data (PILOD 2.0 June 2014)Provenance and Reuse of Open Data (PILOD 2.0 June 2014)
Provenance and Reuse of Open Data (PILOD 2.0 June 2014)Rinke Hoekstra
 
Effective Data Viewing in Sale Trend Analysis by using Data Cube
Effective Data Viewing in Sale Trend Analysis by using Data CubeEffective Data Viewing in Sale Trend Analysis by using Data Cube
Effective Data Viewing in Sale Trend Analysis by using Data Cubeijtsrd
 
Data Mining: Concepts and Techniques (3rd ed.) — Chapter _04 olap
Data Mining:  Concepts and Techniques (3rd ed.)— Chapter _04 olapData Mining:  Concepts and Techniques (3rd ed.)— Chapter _04 olap
Data Mining: Concepts and Techniques (3rd ed.) — Chapter _04 olapSalah Amean
 
Visual Analytics in Big Data
Visual Analytics in Big DataVisual Analytics in Big Data
Visual Analytics in Big DataSaurabh Shanbhag
 
Data warehousing and online analytical processing
Data warehousing and online analytical processingData warehousing and online analytical processing
Data warehousing and online analytical processingVijayasankariS
 
Data Compression in Data mining and Business Intelligencs
Data Compression in Data mining and Business Intelligencs Data Compression in Data mining and Business Intelligencs
Data Compression in Data mining and Business Intelligencs ShahDhruv21
 
Technical Research Document - Anurag
Technical Research Document - AnuragTechnical Research Document - Anurag
Technical Research Document - Anuraganuragrajandekar
 
Data Bases - Introduction to data science
Data Bases - Introduction to data scienceData Bases - Introduction to data science
Data Bases - Introduction to data scienceFrank Kienle
 
5. working on data using R -Cleaning, filtering ,transformation, Sampling
5. working on data using R -Cleaning, filtering ,transformation, Sampling5. working on data using R -Cleaning, filtering ,transformation, Sampling
5. working on data using R -Cleaning, filtering ,transformation, Samplingkrishna singh
 

Similar to 2 olap operaciones (20)

Multi dimensional model vs (1)
Multi dimensional model vs (1)Multi dimensional model vs (1)
Multi dimensional model vs (1)
 
Data Warehousing for students educationpptx
Data Warehousing for students educationpptxData Warehousing for students educationpptx
Data Warehousing for students educationpptx
 
dataminingpres-150821063129-lva1-app6891 (3).pdf
dataminingpres-150821063129-lva1-app6891 (3).pdfdataminingpres-150821063129-lva1-app6891 (3).pdf
dataminingpres-150821063129-lva1-app6891 (3).pdf
 
multi dimensional data model
multi dimensional data modelmulti dimensional data model
multi dimensional data model
 
Data cubes
Data cubesData cubes
Data cubes
 
Dataware house multidimensionalmodelling
Dataware house multidimensionalmodellingDataware house multidimensionalmodelling
Dataware house multidimensionalmodelling
 
mod 2.pdf
mod 2.pdfmod 2.pdf
mod 2.pdf
 
Provenance and Reuse of Open Data (PILOD 2.0 June 2014)
Provenance and Reuse of Open Data (PILOD 2.0 June 2014)Provenance and Reuse of Open Data (PILOD 2.0 June 2014)
Provenance and Reuse of Open Data (PILOD 2.0 June 2014)
 
Effective Data Viewing in Sale Trend Analysis by using Data Cube
Effective Data Viewing in Sale Trend Analysis by using Data CubeEffective Data Viewing in Sale Trend Analysis by using Data Cube
Effective Data Viewing in Sale Trend Analysis by using Data Cube
 
2013-imMens-EuroVis
2013-imMens-EuroVis2013-imMens-EuroVis
2013-imMens-EuroVis
 
OLAPCUBE.pptx
OLAPCUBE.pptxOLAPCUBE.pptx
OLAPCUBE.pptx
 
19CS3052R-CO1-7-S7 ECE
19CS3052R-CO1-7-S7 ECE19CS3052R-CO1-7-S7 ECE
19CS3052R-CO1-7-S7 ECE
 
Data Mining: Concepts and Techniques (3rd ed.) — Chapter _04 olap
Data Mining:  Concepts and Techniques (3rd ed.)— Chapter _04 olapData Mining:  Concepts and Techniques (3rd ed.)— Chapter _04 olap
Data Mining: Concepts and Techniques (3rd ed.) — Chapter _04 olap
 
Visual Analytics in Big Data
Visual Analytics in Big DataVisual Analytics in Big Data
Visual Analytics in Big Data
 
Data warehousing and online analytical processing
Data warehousing and online analytical processingData warehousing and online analytical processing
Data warehousing and online analytical processing
 
Data Compression in Data mining and Business Intelligencs
Data Compression in Data mining and Business Intelligencs Data Compression in Data mining and Business Intelligencs
Data Compression in Data mining and Business Intelligencs
 
2. olap warehouse
2. olap warehouse2. olap warehouse
2. olap warehouse
 
Technical Research Document - Anurag
Technical Research Document - AnuragTechnical Research Document - Anurag
Technical Research Document - Anurag
 
Data Bases - Introduction to data science
Data Bases - Introduction to data scienceData Bases - Introduction to data science
Data Bases - Introduction to data science
 
5. working on data using R -Cleaning, filtering ,transformation, Sampling
5. working on data using R -Cleaning, filtering ,transformation, Sampling5. working on data using R -Cleaning, filtering ,transformation, Sampling
5. working on data using R -Cleaning, filtering ,transformation, Sampling
 

More from Claudia Gomez

More from Claudia Gomez (19)

Olapsql
OlapsqlOlapsql
Olapsql
 
3 olap storage
3 olap storage3 olap storage
3 olap storage
 
3 olap storage
3 olap storage3 olap storage
3 olap storage
 
Diseño fisico indices_2
Diseño fisico indices_2Diseño fisico indices_2
Diseño fisico indices_2
 
Diseño fisico 1
Diseño fisico 1Diseño fisico 1
Diseño fisico 1
 
Agreggates iii
Agreggates iiiAgreggates iii
Agreggates iii
 
Agreggates ii
Agreggates iiAgreggates ii
Agreggates ii
 
Agreggates i
Agreggates iAgreggates i
Agreggates i
 
Dw design hierarchies_7
Dw design hierarchies_7Dw design hierarchies_7
Dw design hierarchies_7
 
Dw design fact_tables_types_6
Dw design fact_tables_types_6Dw design fact_tables_types_6
Dw design fact_tables_types_6
 
Dw design date_dimension_1_1
Dw design date_dimension_1_1Dw design date_dimension_1_1
Dw design date_dimension_1_1
 
Dw design 2_conceptual_model
Dw design 2_conceptual_modelDw design 2_conceptual_model
Dw design 2_conceptual_model
 
Dw design 1_dim_facts
Dw design 1_dim_factsDw design 1_dim_facts
Dw design 1_dim_facts
 
3 dw architectures
3 dw architectures3 dw architectures
3 dw architectures
 
2 dw requeriments
2 dw requeriments2 dw requeriments
2 dw requeriments
 
1 dw projectplanning
1 dw projectplanning1 dw projectplanning
1 dw projectplanning
 
0 dw process
0 dw process0 dw process
0 dw process
 
Clase2 introdw
Clase2 introdwClase2 introdw
Clase2 introdw
 
Intro bi
Intro biIntro bi
Intro bi
 

Recently uploaded

New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 

Recently uploaded (20)

New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 

2 olap operaciones

  • 3. 3
  • 4. Example of two-dimensional query. ▪ What is the total revenue generated by property sales in each city, in each quarter of 2004?’  Choice of representation is based on types of queries end-user may ask. 4
  • 5. Compare representation - three-field relational table versus two- dimensional matrix. 5
  • 6. Example of three-dimensional query.  ‘What is the total revenue generated by property sales for each type of property (Flat or House) in each city, in each quarter of 2004?’ 6
  • 7. Data Cube Compare representation - four-field relational table versus three-dimensional cube. 7
  • 8. A subset of highly interrelated data that is organized to allow users to combine any attributes in a cube (e.g., stores, products, customers, suppliers) with any metrics in the cube (e.g., sales, profit, units, age) to create various two-dimensional views, or slices, that can be displayed on a computer screen 8
  • 9. Cube represents data as cells in an array.  Relational table only represents multi- dimensional data in two dimensions. 9
  • 10. Use multi-dimensional structures to store data and relationships between data.  Multi-dimensional structures are best visualized as cubes of data, and cubes within cubes of data. Each side of a cube is a dimension.  A cube can be expanded to include other dimensions. 10
  • 11. A cube supports matrix arithmetic.  Multi-dimensional query response time depends on how many cells have to be added ‘on the fly’.  As number of dimensions increases, number of the cube’s cells increases exponentially. 11
  • 12. However, majority of multi-dimensional queries use summarized, high-level data.  Solution is to pre-aggregate (consolidate) all logical subtotals and totals along all dimensions. 12
  • 13. Pre-aggregation is valuable, as typical dimensions are hierarchical in nature.  (e.g. Time dimension hierarchy - years, quarters, months, weeks, and days)  Predefined hierarchy allows logical pre- aggregation and, conversely, allows for a logical ‘drill-down’. 13
  • 14. Supports common analytical operations  Consolidation  Drill-down  Slicing and dicing  Pivoting 14
  • 15. Consolidation - aggregation of data such as simple ‘roll-ups’ or complex expressions involving inter-related data.  Drill-Down - is the reverse of consolidation and involves displaying the detailed data that comprises the consolidated data.  The investigation of information in detail (e.g., finding not only total sales but also sales by region, by product, or by salesperson). Finding the detailed sources. 15
  • 16. 16
  • 17. Slicing and Dicing: refers to the ability to look at the data from different viewpoints.  dice: to cut into small cubes  slice: A section of an cube selected by specifying its lower and upper limits slice(color,mes) dice(color) 17
  • 18. Pivoting:  Pivot deals with presentation  Choose some dimensions X1, . . . ,Xi to appear on x and some dims Y1, . . . ,Yj to appear on y. 18
  • 19. Can store data in a compressed form by dynamically selecting physical storage organizations and compression techniques that maximize space utilization.  Dense data (that is, data that exists for a high percentage of cells) can be stored separately from sparse data (that is, a significant percentage of cells are empty). 19
  • 20. Ability to omit empty or repetitive cells can greatly reduce the size of the cube and the amount of processing.  Allows analysis of exceptionally large amounts of data. 20
  • 21. In summary, pre-aggregation, dimensional hierarchy, and sparse data management can significantly reduce the size of the cube and the need to calculate values ‘on-the-fly’.  Removes need for multi-table joins and provides quick and direct access to arrays of data, thus significantly speeding up execution of multi-dimensional queries. 21
  • 22. Efraim Turban. Business Intelligence. Prentice Hall.2008.