SlideShare a Scribd company logo
Analysis Services in SQL Server® 2008Eduardo Castro SQL MVP,MCDBA , MCSE, MCAD, MCSD ecastro@mswindowscr.orgComunidad Windows Costa Rica
Data Warehouse System ComponentsData WarehouseUser Data AccessData SourcesStagingAreaData Marts  Data InputData Access
Understanding Data Warehouse DesignThe Star SchemaFact Table ComponentsDimension Table CharacteristicsThe Snowflake Schema
The Star SchemaEmployee_DimEmployeeKeyEmployeeID...Product_DimTime_DimProductKeyTimeKeyProductID...TheDate...Shipper_DimCustomer_DimShipperKeyCustomerKeyShipperID...CustomerID...Dimension TableFact TableSales_FactTimeKeyEmployeeKeyProductKeyCustomerKeyShipperKeySales AmountUnit Sales ...
Fact Table ComponentsMeasurestime_dim134   1/1/2000DimensionTablessales_fact Tablecustomer_dimForeign Keys201 ALFI   Alfredscustomer_keyproduct_keytime_keyquantity_salesamount_salesproduct_dim2012513440010,789 25   123    ChaiThe grain of the sales_fact table is defined by the lowest level of detail stored in each dimension
Dimension Table CharacteristicsDescribes Business EntitiesContains Attributes That Provide Context to Numeric DataPresents Data Organized into Hierarchies
The Snowflake SchemaDefines Hierarchies by Using Multiple Dimension TablesIs More Normalized than a Single Table DimensionIs Supported within Analysis Services
Defining OLAP SolutionsOLAP Databases Common OLAP ApplicationsRelational Data Marts and OLAP CubesOLAP in SQL Server 2005
OLAP DatabasesOptimized Schema for Fast User QueriesRobust Calculation Engine for Numeric AnalysisConceptual, Intuitive Data Model Multidimensional View of DataDrill down and drill upPivot views of data
OLAP in SQL ServerMicrosoft Is One of Several OLAP VendorsAnalysis Services Is Bundled with Microsoft SQL Server 2005 and SQL Server 2008Analysis Services Include OLAP engine  Data Mining technology
Dimension Fundamentals
Cube MeasuresAre the Numeric Values of Principle InterestCorrespond to Fact Table FactsIntersect All Dimensions at All LevelsAre Aggregated at All Levels of Detail
Relational Data SourcesStar and Snowflake Schemas Are required to build a cube with Analysis ServicesFact TableContains measuresContains keys that join to dimension tablesDimension TablesMust exist in same database as fact tableContain primary keys that identify each member
Applying OLAP CubesDefining a CubeQuerying a CubeDefining a Cube SliceWorking with Dimensions and HierarchiesVisualizing Cube DimensionsConnecting to an OLAP Cube
Defining a CubeAtlantaChicagoMarket DimensionDenverGrapesCherriesDetroitMelonsApplesProducts DimensionQ4Q1Q2Q3Time Dimension
Fact SalesAtlantaChicagoMarketsDimensionDenverGrapesCherriesDallasMelonsProductsDimensionApplesQ4Q1Q2Q3TimeDimensionQuerying a Cube
SQL Server 2008 Analysis Services EnhancementsMultidimensional Analysis with SQL Server Analysis ServicesData Mining with SQL Server Analysis Services
Multidimensional Analysis with SQL Server Analysis ServicesCube WizardDimension WizardThe Attribute Relationship DesignerThe Aggregation DesignerAMO Warnings
Cube WizardMore efficient interfaceCreate a cube based on a single de-normalized tableCreate a cube based on a data source that has only linked dimensions
Dimension WizardCreate dimensions more efficientlyAutomatically detect parent-child hierarchiesProvide safer default error configurationSet member properties while creating the dimension
The Attribute Relationship DesignerFlexible relationshipRigid relationshipManage Relationship through right-click options in the Attribute Relationship pane
The Aggregation DesignerNew Aggregation Designer:Aggregations designs are shown grouped by measure groupNew view available for manual aggregation designImproved Usage-Based Optimization Wizard:Ability to append new aggregations to an existing aggregation designAbility to modify storage settings for one or more partitions simultaneouslyImproved Aggregation Design Wizard
AMO WarningsUses familiar symbols such as the wavy underline and a yellow triangle with an exclamation pointNon-intrusive warning messages appear when you pause the mouse over a warningAvailable for logical errors in database design, when users depart from design best practices, and for non-optimal aggregation designs
Data Mining with SQL Server Analysis ServicesImproved Data Mining WizardSeparating Test and Training DataFiltering Model CasesCross Validation of Mining ModelsData Mining Add-Ins for Microsoft Office Systems
Data Mining EnhancementsImprove both short-term and long-term predictions with the Microsoft Time Series algorithm, which has been enhanced to support both ARTXP and ARIMA algorithmsEnable drillthrough on a mining structure to allow queries about the cases used for both training and testingCreate column aliases to make it easier to understand column content. In the Data Mining Designer, the alias appears in parentheses next to the column usage labelSeparate test and training dataImprove performance and analyze different scenarios by using Model Case FilteringCreate cross-validation reportsUtilize Data Mining Add-ins for Office
Separating Test and Training DataThree ways to partition data into training and test sets:The Data Mining WizardModifying the properties of the mining structure:If you did not create a test partition when you created the structure, you can modify the HouldoutMaxCases, HoldoutMaxPercent, and HoldoutSeed propertiesDMX statement, AMO, or XML DDL
Filtering Model CasesLimit the cases used in a model based on any attribute included in the model
Use to compare subsets of your data such as different regionsCross-Validation of Mining ModelsAdditional method to test and view mining model accuracyData is partitioned into cross-sections which are used to train and test models against each of the other cross sectionsOne portion of the data is used to test, the remaining data is used to train the modelTo define a cross-validation report, you must configure:The Fold Count, which specifies the number of folds or partitions that the data is broken into for testingThe Max Cases, which specifies the maximum number of cases to use (a value of 0 specifies that all cases will be used)The Target Attribute, which defines the column or attribute that you want to predictThe Target State, which defines a particular value that you want to analyze within the target attribute
Data Mining Add-Ins for Microsoft Office SystemData Mining Client for Excel – create, test, and manage data mining projects within Excel 2007Table Analysis Tools for Excel – use powerful analysis tools such as analyzing key influencers, highlighting exceptions, and forecasting for data stored in spreadsheetsData Mining Templates for Visio – render decision trees, regression trees, cluster diagrams, and dependency nets in diagrams created in Visio 2007Important: Data Mining Add-ins for Microsoft Office System will be available for SQL Server 2008 when it releases to manufacturing.
DemonstrationImplementing Multidimensional Analysis
Optimizing StorageWhat Are Sparse Columns?How to Compress Data and Backups
What Are Sparse Columns?Eliminate limitation of 1024 columns.Efficient way to manage object models that frequently contain numerous NULL values.CREATE TABLE products (product_numint, item_numint, price decimal(7,2), ...,                       color char(5) SPARSE, width float SPARSE...)
How to Compress Data and BackupsData compression can be enabled on tables or viewsDifferent compression types can be configured on a per-partition basisThe following data compression types can be defined:Row compressionPage compressionBackup compression:Normally decreases time required to perform a backupManaged with Transact-SQL, Backup Task, Maintenance Plan Wizard, and Integration Services Backup Database task
Contact InformationEduardo Castroecastro@mswindowscr.orghttp://ecastrom.blogspot.com

More Related Content

PPTX
Getting power bi
DOC
Sap bo 4.2 course content (1)
DOC
Online SAP BO 4.2 Training
PPT
It ready dw_day4_rev00
PPTX
Pass 2018 introduction to dax
PPTX
MS SQL SERVER: Using the data mining tools
PPTX
Building your first Analysis Services Tabular BI Semantic model with SQL Serv...
PPTX
Sas visual analytics Training
Getting power bi
Sap bo 4.2 course content (1)
Online SAP BO 4.2 Training
It ready dw_day4_rev00
Pass 2018 introduction to dax
MS SQL SERVER: Using the data mining tools
Building your first Analysis Services Tabular BI Semantic model with SQL Serv...
Sas visual analytics Training

What's hot (15)

PDF
Training BOBJ SAP Online
PDF
A Gentle Introduction to Microsoft SSAS
PPTX
DAX (Data Analysis eXpressions) from Zero to Hero
DOC
SAP BOBJ 4.2 Jobsupport and Online Training
DOC
SAP BO 4.1 Training
PPTX
MS SQL SERVER: SSIS and data mining
PPTX
AAO BI Portfolio
PPTX
U-SQL Partitioned Data and Tables (SQLBits 2016)
PPTX
Wave Analytics
PDF
Crystal xcelsius best practices and workflows for building enterprise solut...
PPTX
Introduction to DAX
PPTX
Victoria Tableau User Group - Getting started with Tableau
PDF
Crystal xcelsius 4.5 tutorials
PPTX
Dax en
Training BOBJ SAP Online
A Gentle Introduction to Microsoft SSAS
DAX (Data Analysis eXpressions) from Zero to Hero
SAP BOBJ 4.2 Jobsupport and Online Training
SAP BO 4.1 Training
MS SQL SERVER: SSIS and data mining
AAO BI Portfolio
U-SQL Partitioned Data and Tables (SQLBits 2016)
Wave Analytics
Crystal xcelsius best practices and workflows for building enterprise solut...
Introduction to DAX
Victoria Tableau User Group - Getting started with Tableau
Crystal xcelsius 4.5 tutorials
Dax en
Ad

Viewers also liked (20)

PPTX
Slowly changing dimension
PDF
Olap fundamentals
PDF
OLAP – Creating Cubes with SQL Server Analysis Services
PPT
Dimensional Modeling
PPTX
MS SQL SERVER: Olap cubes and data mining
PPS
Découvrez les 10 plus grands mystères
PPTX
งานนำเสนอ
PDF
Gestión de Proyectos
PPTX
Shooting Script
PPTX
Presentacion clase 1
PPTX
Bob’s discount furniture and the american red cross team up
DOCX
Mapa mental, mapa conceptual acerca de la comprension de archivos
PDF
Diseño sísmico de la conexión losa columna en losas planas postensadas aliger...
PPTX
Partes De La Computadora
PPTX
Proyecto de vida
PDF
Computer science
PDF
PMP_Certification
PPTX
Info-competencias para procesos de aprendizaje e investigación
PPTX
Pedro garcia slideshare
PPTX
Chicken wangs café naughty party 2012 3
Slowly changing dimension
Olap fundamentals
OLAP – Creating Cubes with SQL Server Analysis Services
Dimensional Modeling
MS SQL SERVER: Olap cubes and data mining
Découvrez les 10 plus grands mystères
งานนำเสนอ
Gestión de Proyectos
Shooting Script
Presentacion clase 1
Bob’s discount furniture and the american red cross team up
Mapa mental, mapa conceptual acerca de la comprension de archivos
Diseño sísmico de la conexión losa columna en losas planas postensadas aliger...
Partes De La Computadora
Proyecto de vida
Computer science
PMP_Certification
Info-competencias para procesos de aprendizaje e investigación
Pedro garcia slideshare
Chicken wangs café naughty party 2012 3
Ad

Similar to Analysis Services en SQL Server 2008 (20)

PDF
SQL DAY 2012 | DEV Track | Session 8 - Getting Dimension with Data by C.Tecta...
PPTX
SSAS R2 and SharePoint 2010 – Business Intelligence
PDF
SSAS Design & Incremental Processing - PASSMN May 2010
PPTX
Data ware dimension design
PPTX
Data ware dimension design
PPTX
Analysis services day1
DOCX
Excel2007 analysisservicescubespivottables
DOCX
Sql server 2008 r2 data mining whitepaper overview
PPTX
PASSMN Summit 2009 Upgrade to SSAS 2008
PPTX
Biug 20112026 dimensional modeling and mdx best practices
PPT
BI 2008 Simple
PPTX
Minería de Datos en Sql Server 2008
PPTX
MS SQL Server Analysis Services 2008 and Enterprise Data Warehousing
PDF
Руководство по SQL Server 2012: Многомерное моделирование шаг за шагом.
PDF
Sql server 2012 tutorials analysis services multidimensional modeling
PDF
Sql server 2012 tutorials analysis services multidimensional modeling
PPT
New Features Sql 2008
PPTX
Project report aditi paul1
PDF
SQLDay2013_ChrisWebb_CubeDesign&PerformanceTuning
PDF
SQL DAY 2012 | DEV Track | Session 8 - Getting Dimension with Data by C.Tecta...
SSAS R2 and SharePoint 2010 – Business Intelligence
SSAS Design & Incremental Processing - PASSMN May 2010
Data ware dimension design
Data ware dimension design
Analysis services day1
Excel2007 analysisservicescubespivottables
Sql server 2008 r2 data mining whitepaper overview
PASSMN Summit 2009 Upgrade to SSAS 2008
Biug 20112026 dimensional modeling and mdx best practices
BI 2008 Simple
Minería de Datos en Sql Server 2008
MS SQL Server Analysis Services 2008 and Enterprise Data Warehousing
Руководство по SQL Server 2012: Многомерное моделирование шаг за шагом.
Sql server 2012 tutorials analysis services multidimensional modeling
Sql server 2012 tutorials analysis services multidimensional modeling
New Features Sql 2008
Project report aditi paul1
SQLDay2013_ChrisWebb_CubeDesign&PerformanceTuning

More from Eduardo Castro (20)

PPTX
Introducción a polybase en SQL Server
PPTX
Creando tu primer ambiente de AI en Azure ML y SQL Server
PPTX
Seguridad en SQL Azure
PPTX
Azure Synapse Analytics MLflow
PPTX
SQL Server 2019 con Windows Server 2022
PPTX
Novedades en SQL Server 2022
PPTX
Introduccion a SQL Server 2022
PPTX
Machine Learning con Azure Managed Instance
PPTX
Novedades en sql server 2022
PDF
Sql server 2019 con windows server 2022
PDF
Introduccion a databricks
PDF
Pronosticos con sql server
PDF
Data warehouse con azure synapse analytics
PPTX
Que hay de nuevo en el Azure Data Lake Storage Gen2
PPTX
Introduccion a Azure Synapse Analytics
PPTX
Seguridad de SQL Database en Azure
PPTX
Python dentro de SQL Server
PDF
Servicios Cognitivos de de Microsoft
TXT
Script de paso a paso de configuración de Secure Enclaves
PDF
Introducción a conceptos de SQL Server Secure Enclaves
Introducción a polybase en SQL Server
Creando tu primer ambiente de AI en Azure ML y SQL Server
Seguridad en SQL Azure
Azure Synapse Analytics MLflow
SQL Server 2019 con Windows Server 2022
Novedades en SQL Server 2022
Introduccion a SQL Server 2022
Machine Learning con Azure Managed Instance
Novedades en sql server 2022
Sql server 2019 con windows server 2022
Introduccion a databricks
Pronosticos con sql server
Data warehouse con azure synapse analytics
Que hay de nuevo en el Azure Data Lake Storage Gen2
Introduccion a Azure Synapse Analytics
Seguridad de SQL Database en Azure
Python dentro de SQL Server
Servicios Cognitivos de de Microsoft
Script de paso a paso de configuración de Secure Enclaves
Introducción a conceptos de SQL Server Secure Enclaves

Recently uploaded (20)

PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
cuic standard and advanced reporting.pdf
PDF
Getting Started with Data Integration: FME Form 101
PPTX
A Presentation on Artificial Intelligence
PPTX
Machine Learning_overview_presentation.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Encapsulation theory and applications.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Assigned Numbers - 2025 - Bluetooth® Document
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
cuic standard and advanced reporting.pdf
Getting Started with Data Integration: FME Form 101
A Presentation on Artificial Intelligence
Machine Learning_overview_presentation.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Encapsulation theory and applications.pdf
Unlocking AI with Model Context Protocol (MCP)
Advanced methodologies resolving dimensionality complications for autism neur...
MIND Revenue Release Quarter 2 2025 Press Release
Spectral efficient network and resource selection model in 5G networks
Programs and apps: productivity, graphics, security and other tools
Digital-Transformation-Roadmap-for-Companies.pptx
Accuracy of neural networks in brain wave diagnosis of schizophrenia
20250228 LYD VKU AI Blended-Learning.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
The Rise and Fall of 3GPP – Time for a Sabbatical?

Analysis Services en SQL Server 2008

  • 1. Analysis Services in SQL Server® 2008Eduardo Castro SQL MVP,MCDBA , MCSE, MCAD, MCSD [email protected] Windows Costa Rica
  • 2. Data Warehouse System ComponentsData WarehouseUser Data AccessData SourcesStagingAreaData Marts Data InputData Access
  • 3. Understanding Data Warehouse DesignThe Star SchemaFact Table ComponentsDimension Table CharacteristicsThe Snowflake Schema
  • 5. Fact Table ComponentsMeasurestime_dim134 1/1/2000DimensionTablessales_fact Tablecustomer_dimForeign Keys201 ALFI Alfredscustomer_keyproduct_keytime_keyquantity_salesamount_salesproduct_dim2012513440010,789 25 123 ChaiThe grain of the sales_fact table is defined by the lowest level of detail stored in each dimension
  • 6. Dimension Table CharacteristicsDescribes Business EntitiesContains Attributes That Provide Context to Numeric DataPresents Data Organized into Hierarchies
  • 7. The Snowflake SchemaDefines Hierarchies by Using Multiple Dimension TablesIs More Normalized than a Single Table DimensionIs Supported within Analysis Services
  • 8. Defining OLAP SolutionsOLAP Databases Common OLAP ApplicationsRelational Data Marts and OLAP CubesOLAP in SQL Server 2005
  • 9. OLAP DatabasesOptimized Schema for Fast User QueriesRobust Calculation Engine for Numeric AnalysisConceptual, Intuitive Data Model Multidimensional View of DataDrill down and drill upPivot views of data
  • 10. OLAP in SQL ServerMicrosoft Is One of Several OLAP VendorsAnalysis Services Is Bundled with Microsoft SQL Server 2005 and SQL Server 2008Analysis Services Include OLAP engine Data Mining technology
  • 12. Cube MeasuresAre the Numeric Values of Principle InterestCorrespond to Fact Table FactsIntersect All Dimensions at All LevelsAre Aggregated at All Levels of Detail
  • 13. Relational Data SourcesStar and Snowflake Schemas Are required to build a cube with Analysis ServicesFact TableContains measuresContains keys that join to dimension tablesDimension TablesMust exist in same database as fact tableContain primary keys that identify each member
  • 14. Applying OLAP CubesDefining a CubeQuerying a CubeDefining a Cube SliceWorking with Dimensions and HierarchiesVisualizing Cube DimensionsConnecting to an OLAP Cube
  • 15. Defining a CubeAtlantaChicagoMarket DimensionDenverGrapesCherriesDetroitMelonsApplesProducts DimensionQ4Q1Q2Q3Time Dimension
  • 17. SQL Server 2008 Analysis Services EnhancementsMultidimensional Analysis with SQL Server Analysis ServicesData Mining with SQL Server Analysis Services
  • 18. Multidimensional Analysis with SQL Server Analysis ServicesCube WizardDimension WizardThe Attribute Relationship DesignerThe Aggregation DesignerAMO Warnings
  • 19. Cube WizardMore efficient interfaceCreate a cube based on a single de-normalized tableCreate a cube based on a data source that has only linked dimensions
  • 20. Dimension WizardCreate dimensions more efficientlyAutomatically detect parent-child hierarchiesProvide safer default error configurationSet member properties while creating the dimension
  • 21. The Attribute Relationship DesignerFlexible relationshipRigid relationshipManage Relationship through right-click options in the Attribute Relationship pane
  • 22. The Aggregation DesignerNew Aggregation Designer:Aggregations designs are shown grouped by measure groupNew view available for manual aggregation designImproved Usage-Based Optimization Wizard:Ability to append new aggregations to an existing aggregation designAbility to modify storage settings for one or more partitions simultaneouslyImproved Aggregation Design Wizard
  • 23. AMO WarningsUses familiar symbols such as the wavy underline and a yellow triangle with an exclamation pointNon-intrusive warning messages appear when you pause the mouse over a warningAvailable for logical errors in database design, when users depart from design best practices, and for non-optimal aggregation designs
  • 24. Data Mining with SQL Server Analysis ServicesImproved Data Mining WizardSeparating Test and Training DataFiltering Model CasesCross Validation of Mining ModelsData Mining Add-Ins for Microsoft Office Systems
  • 25. Data Mining EnhancementsImprove both short-term and long-term predictions with the Microsoft Time Series algorithm, which has been enhanced to support both ARTXP and ARIMA algorithmsEnable drillthrough on a mining structure to allow queries about the cases used for both training and testingCreate column aliases to make it easier to understand column content. In the Data Mining Designer, the alias appears in parentheses next to the column usage labelSeparate test and training dataImprove performance and analyze different scenarios by using Model Case FilteringCreate cross-validation reportsUtilize Data Mining Add-ins for Office
  • 26. Separating Test and Training DataThree ways to partition data into training and test sets:The Data Mining WizardModifying the properties of the mining structure:If you did not create a test partition when you created the structure, you can modify the HouldoutMaxCases, HoldoutMaxPercent, and HoldoutSeed propertiesDMX statement, AMO, or XML DDL
  • 27. Filtering Model CasesLimit the cases used in a model based on any attribute included in the model
  • 28. Use to compare subsets of your data such as different regionsCross-Validation of Mining ModelsAdditional method to test and view mining model accuracyData is partitioned into cross-sections which are used to train and test models against each of the other cross sectionsOne portion of the data is used to test, the remaining data is used to train the modelTo define a cross-validation report, you must configure:The Fold Count, which specifies the number of folds or partitions that the data is broken into for testingThe Max Cases, which specifies the maximum number of cases to use (a value of 0 specifies that all cases will be used)The Target Attribute, which defines the column or attribute that you want to predictThe Target State, which defines a particular value that you want to analyze within the target attribute
  • 29. Data Mining Add-Ins for Microsoft Office SystemData Mining Client for Excel – create, test, and manage data mining projects within Excel 2007Table Analysis Tools for Excel – use powerful analysis tools such as analyzing key influencers, highlighting exceptions, and forecasting for data stored in spreadsheetsData Mining Templates for Visio – render decision trees, regression trees, cluster diagrams, and dependency nets in diagrams created in Visio 2007Important: Data Mining Add-ins for Microsoft Office System will be available for SQL Server 2008 when it releases to manufacturing.
  • 31. Optimizing StorageWhat Are Sparse Columns?How to Compress Data and Backups
  • 32. What Are Sparse Columns?Eliminate limitation of 1024 columns.Efficient way to manage object models that frequently contain numerous NULL values.CREATE TABLE products (product_numint, item_numint, price decimal(7,2), ...,                       color char(5) SPARSE, width float SPARSE...)
  • 33. How to Compress Data and BackupsData compression can be enabled on tables or viewsDifferent compression types can be configured on a per-partition basisThe following data compression types can be defined:Row compressionPage compressionBackup compression:Normally decreases time required to perform a backupManaged with Transact-SQL, Backup Task, Maintenance Plan Wizard, and Integration Services Backup Database task