SlideShare une entreprise Scribd logo
1  sur  34
Analysis Services in SQL Server® 2008 Eduardo Castro SQL MVP,MCDBA , MCSE, MCAD, MCSD  ecastro@mswindowscr.org Comunidad Windows Costa Rica
Data Warehouse System Components Data Warehouse User  Data Access Data  Sources Staging Area Data Marts   Data Input Data Access
Understanding Data Warehouse Design The Star Schema Fact Table Components Dimension Table Characteristics The Snowflake Schema
The Star Schema Employee_Dim EmployeeKey EmployeeID ... Product_Dim Time_Dim ProductKey TimeKey ProductID ... TheDate ... Shipper_Dim Customer_Dim ShipperKey CustomerKey ShipperID ... CustomerID ... Dimension Table Fact Table Sales_Fact TimeKey EmployeeKey ProductKey CustomerKey ShipperKey Sales Amount Unit Sales ...
Fact Table Components Measures time_dim 134   1/1/2000 DimensionTables sales_fact Table customer_dim Foreign Keys 201 ALFI   Alfreds customer_key product_key time_key quantity_sales amount_sales product_dim 201 25 134 400 10,789  25   123    Chai The grain of the sales_fact table is defined by the lowest level of detail stored in each dimension
Dimension Table Characteristics Describes Business Entities Contains Attributes That Provide Context to Numeric Data Presents Data Organized into Hierarchies
The Snowflake Schema Defines Hierarchies by Using Multiple Dimension Tables Is More Normalized than a Single Table Dimension Is Supported within Analysis Services
Defining OLAP Solutions OLAP Databases  Common OLAP Applications Relational Data Marts and OLAP Cubes OLAP in SQL Server 2005
OLAP Databases Optimized Schema for Fast User Queries Robust Calculation Engine for Numeric Analysis Conceptual, Intuitive Data Model  Multidimensional View of Data Drill down and drill up Pivot views of data
OLAP in SQL Server Microsoft Is One of Several OLAP Vendors Analysis Services Is Bundled with Microsoft SQL Server 2005 and SQL Server 2008 Analysis Services Include  OLAP engine   Data Mining technology
Dimension Fundamentals
Cube Measures Are the Numeric Values of Principle Interest Correspond to Fact Table Facts Intersect All Dimensions at All Levels Are Aggregated at All Levels of Detail
Relational Data Sources Star and Snowflake Schemas  Are required to build a cube with Analysis Services Fact Table Contains measures Contains keys that join to dimension tables Dimension Tables Must exist in same database as fact table Contain primary keys that identify each member
Applying OLAP Cubes Defining a Cube Querying a Cube Defining a Cube Slice Working with Dimensions and Hierarchies Visualizing Cube Dimensions Connecting to an OLAP Cube
Defining a Cube Atlanta Chicago Market Dimension Denver Grapes Cherries Detroit Melons Apples Products Dimension Q4 Q1 Q2 Q3 Time Dimension
Fact Sales Atlanta Chicago MarketsDimension Denver Grapes Cherries Dallas Melons ProductsDimension Apples Q4 Q1 Q2 Q3 TimeDimension Querying a Cube
SQL Server 2008 Analysis Services Enhancements Multidimensional Analysis with SQL Server Analysis Services Data Mining with SQL Server Analysis Services
Multidimensional Analysis with SQL Server Analysis Services Cube Wizard Dimension Wizard The Attribute Relationship Designer The Aggregation Designer AMO Warnings
Cube Wizard More efficient interface Create a cube based on a single de-normalized table Create a cube based on a data source that has only linked dimensions
Dimension Wizard Create dimensions more efficiently Automatically detect parent-child hierarchies Provide safer default error configuration Set member properties while creating the dimension
The Attribute Relationship Designer Flexible relationship Rigid relationship Manage Relationship through right-click options in the Attribute Relationship pane
The Aggregation Designer New Aggregation Designer: Aggregations designs are shown grouped by measure group New view available for manual aggregation design Improved Usage-Based Optimization Wizard: Ability to append new aggregations to an existing aggregation design Ability to modify storage settings for one or more partitions simultaneously Improved Aggregation Design Wizard
AMO Warnings Uses familiar symbols such as the wavy underline and a yellow triangle with an exclamation point Non-intrusive warning messages appear when you pause the mouse over a warning Available 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 Services Improved Data Mining Wizard Separating Test and Training Data Filtering Model Cases Cross Validation of Mining Models Data Mining Add-Ins for Microsoft Office Systems
Data Mining Enhancements Improve both short-term and long-term predictions with the Microsoft Time Series algorithm, which has been enhanced to support both ARTXP and ARIMA algorithms Enable drillthrough on a mining structure to allow queries about the cases used for both training and testing Create 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 label Separate test and training data Improve performance and analyze different scenarios by using Model Case Filtering Create cross-validation reports Utilize Data Mining Add-ins for Office
Separating Test and Training Data Three ways to partition data into training and test sets: The Data Mining Wizard Modifying 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 properties DMX statement, AMO, or XML DDL
Filtering Model Cases ,[object Object]
Use to compare subsets of your data such as different regions,[object Object]
Data Mining Add-Ins for Microsoft Office System Data Mining Client for Excel – create, test, and manage data mining projects within Excel 2007 Table Analysis Tools for Excel – use powerful analysis tools such as analyzing key influencers, highlighting exceptions, and forecasting for data stored in spreadsheets Data Mining Templates for Visio – render decision trees, regression trees, cluster diagrams, and dependency nets in diagrams created in Visio 2007 Important: Data Mining Add-ins for Microsoft Office System will be available for SQL Server 2008 when it releases to manufacturing.
Demonstration Implementing Multidimensional Analysis
Optimizing Storage What 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 Backups Data compression can be enabled on tables or views Different compression types can be configured on a per-partition basis The following data compression types can be defined: Row compression Page compression Backup compression: Normally decreases time required to perform a backup Managed with Transact-SQL, Backup Task, Maintenance Plan Wizard, and Integration Services Backup Database task
Contact Information Eduardo Castro ecastro@mswindowscr.org http://ecastrom.blogspot.com

Contenu connexe

Tendances

Crystal xcelsius best practices and workflows for building enterprise solut...
Crystal xcelsius   best practices and workflows for building enterprise solut...Crystal xcelsius   best practices and workflows for building enterprise solut...
Crystal xcelsius best practices and workflows for building enterprise solut...
Yogeeswar Reddy
 
Crystal xcelsius 4.5 tutorials
Crystal xcelsius 4.5 tutorialsCrystal xcelsius 4.5 tutorials
Crystal xcelsius 4.5 tutorials
Syed Abdul
 

Tendances (15)

Training BOBJ SAP Online
Training BOBJ SAP OnlineTraining BOBJ SAP Online
Training BOBJ SAP Online
 
A Gentle Introduction to Microsoft SSAS
A Gentle Introduction to Microsoft SSASA Gentle Introduction to Microsoft SSAS
A Gentle Introduction to Microsoft SSAS
 
DAX (Data Analysis eXpressions) from Zero to Hero
DAX (Data Analysis eXpressions) from Zero to HeroDAX (Data Analysis eXpressions) from Zero to Hero
DAX (Data Analysis eXpressions) from Zero to Hero
 
SAP BOBJ 4.2 Jobsupport and Online Training
SAP BOBJ 4.2 Jobsupport and Online TrainingSAP BOBJ 4.2 Jobsupport and Online Training
SAP BOBJ 4.2 Jobsupport and Online Training
 
SAP BO 4.1 Training
SAP BO 4.1 Training SAP BO 4.1 Training
SAP BO 4.1 Training
 
MS SQL SERVER: SSIS and data mining
MS SQL SERVER: SSIS and data miningMS SQL SERVER: SSIS and data mining
MS SQL SERVER: SSIS and data mining
 
AAO BI Portfolio
AAO BI PortfolioAAO BI Portfolio
AAO BI Portfolio
 
U-SQL Partitioned Data and Tables (SQLBits 2016)
U-SQL Partitioned Data and Tables (SQLBits 2016)U-SQL Partitioned Data and Tables (SQLBits 2016)
U-SQL Partitioned Data and Tables (SQLBits 2016)
 
Wave Analytics
Wave AnalyticsWave Analytics
Wave Analytics
 
Crystal xcelsius best practices and workflows for building enterprise solut...
Crystal xcelsius   best practices and workflows for building enterprise solut...Crystal xcelsius   best practices and workflows for building enterprise solut...
Crystal xcelsius best practices and workflows for building enterprise solut...
 
GRID VIEW PPT
GRID VIEW PPTGRID VIEW PPT
GRID VIEW PPT
 
Introduction to DAX
Introduction to DAXIntroduction to DAX
Introduction to DAX
 
Victoria Tableau User Group - Getting started with Tableau
Victoria Tableau User Group - Getting started with TableauVictoria Tableau User Group - Getting started with Tableau
Victoria Tableau User Group - Getting started with Tableau
 
Crystal xcelsius 4.5 tutorials
Crystal xcelsius 4.5 tutorialsCrystal xcelsius 4.5 tutorials
Crystal xcelsius 4.5 tutorials
 
Dax en
Dax enDax en
Dax en
 

En vedette

Olap fundamentals
Olap fundamentalsOlap fundamentals
Olap fundamentals
Amit Sharma
 
Bob’s discount furniture and the american red cross team up
Bob’s discount furniture and the american red cross team upBob’s discount furniture and the american red cross team up
Bob’s discount furniture and the american red cross team up
Bob Smith
 
Diseño sísmico de la conexión losa columna en losas planas postensadas aliger...
Diseño sísmico de la conexión losa columna en losas planas postensadas aliger...Diseño sísmico de la conexión losa columna en losas planas postensadas aliger...
Diseño sísmico de la conexión losa columna en losas planas postensadas aliger...
Martin Olmedo Zarate
 
Chicken wangs café naughty party 2012 3
Chicken wangs café naughty party 2012 3Chicken wangs café naughty party 2012 3
Chicken wangs café naughty party 2012 3
Waymon Fuller
 

En vedette (20)

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

Similaire à Analysis Services en SQL Server 2008

Data Mining for Developers
Data Mining for DevelopersData Mining for Developers
Data Mining for Developers
llangit
 
AnalysisServices
AnalysisServicesAnalysisServices
AnalysisServices
webuploader
 

Similaire à Analysis Services en SQL Server 2008 (20)

Data Mining 2008
Data Mining 2008Data Mining 2008
Data Mining 2008
 
SQL Server 2008 Data Mining
SQL Server 2008 Data MiningSQL Server 2008 Data Mining
SQL Server 2008 Data Mining
 
BI 2008 Simple
BI 2008 SimpleBI 2008 Simple
BI 2008 Simple
 
SQL Server 2008 Data Mining
SQL Server 2008 Data MiningSQL Server 2008 Data Mining
SQL Server 2008 Data Mining
 
SQL Server 2008 Data Mining
SQL Server 2008 Data MiningSQL Server 2008 Data Mining
SQL Server 2008 Data Mining
 
Data Mining for Developers
Data Mining for DevelopersData Mining for Developers
Data Mining for Developers
 
SQL Server 2008 for Developers
SQL Server 2008 for DevelopersSQL Server 2008 for Developers
SQL Server 2008 for Developers
 
Minería de Datos en Sql Server 2008
Minería de Datos en Sql Server 2008Minería de Datos en Sql Server 2008
Minería de Datos en Sql Server 2008
 
MS SQL SERVER: Using the data mining tools
MS SQL SERVER: Using the data mining toolsMS SQL SERVER: Using the data mining tools
MS SQL SERVER: Using the data mining tools
 
Steps towards business intelligence
Steps towards business intelligenceSteps towards business intelligence
Steps towards business intelligence
 
How to Use a Semantic Layer on Big Data to Drive AI & BI Impact
How to Use a Semantic Layer on Big Data to Drive AI & BI ImpactHow to Use a Semantic Layer on Big Data to Drive AI & BI Impact
How to Use a Semantic Layer on Big Data to Drive AI & BI Impact
 
Self-serve analytics journey at Celtra: Snowflake, Spark, and Databricks
Self-serve analytics journey at Celtra: Snowflake, Spark, and DatabricksSelf-serve analytics journey at Celtra: Snowflake, Spark, and Databricks
Self-serve analytics journey at Celtra: Snowflake, Spark, and Databricks
 
Msbi online training
Msbi online trainingMsbi online training
Msbi online training
 
Ax
AxAx
Ax
 
Colin\'s BI Portfolio
Colin\'s BI PortfolioColin\'s BI Portfolio
Colin\'s BI Portfolio
 
AnalysisServices
AnalysisServicesAnalysisServices
AnalysisServices
 
Introduction To Sql Server Data Mining
Introduction To Sql Server Data MiningIntroduction To Sql Server Data Mining
Introduction To Sql Server Data Mining
 
SQL SERVER 2008 R2 CTP
SQL SERVER 2008 R2 CTPSQL SERVER 2008 R2 CTP
SQL SERVER 2008 R2 CTP
 
Tony Von Gusmann & MS BI
Tony Von Gusmann & MS BITony Von Gusmann & MS BI
Tony Von Gusmann & MS BI
 
MSBI Online Training in Hyderabad
MSBI Online Training in HyderabadMSBI Online Training in Hyderabad
MSBI Online Training in Hyderabad
 

Plus de Eduardo Castro

Plus de Eduardo Castro (20)

Introducción a polybase en SQL Server
Introducción a polybase en SQL ServerIntroducción a polybase en SQL Server
Introducción a polybase en SQL Server
 
Creando tu primer ambiente de AI en Azure ML y SQL Server
Creando tu primer ambiente de AI en Azure ML y SQL ServerCreando tu primer ambiente de AI en Azure ML y SQL Server
Creando tu primer ambiente de AI en Azure ML y SQL Server
 
Seguridad en SQL Azure
Seguridad en SQL AzureSeguridad en SQL Azure
Seguridad en SQL Azure
 
Azure Synapse Analytics MLflow
Azure Synapse Analytics MLflowAzure Synapse Analytics MLflow
Azure Synapse Analytics MLflow
 
SQL Server 2019 con Windows Server 2022
SQL Server 2019 con Windows Server 2022SQL Server 2019 con Windows Server 2022
SQL Server 2019 con Windows Server 2022
 
Novedades en SQL Server 2022
Novedades en SQL Server 2022Novedades en SQL Server 2022
Novedades en SQL Server 2022
 
Introduccion a SQL Server 2022
Introduccion a SQL Server 2022Introduccion a SQL Server 2022
Introduccion a SQL Server 2022
 
Machine Learning con Azure Managed Instance
Machine Learning con Azure Managed InstanceMachine Learning con Azure Managed Instance
Machine Learning con Azure Managed Instance
 
Novedades en sql server 2022
Novedades en sql server 2022Novedades en sql server 2022
Novedades en sql server 2022
 
Sql server 2019 con windows server 2022
Sql server 2019 con windows server 2022Sql server 2019 con windows server 2022
Sql server 2019 con windows server 2022
 
Introduccion a databricks
Introduccion a databricksIntroduccion a databricks
Introduccion a databricks
 
Pronosticos con sql server
Pronosticos con sql serverPronosticos con sql server
Pronosticos con sql server
 
Data warehouse con azure synapse analytics
Data warehouse con azure synapse analyticsData warehouse con azure synapse analytics
Data warehouse con azure synapse analytics
 
Que hay de nuevo en el Azure Data Lake Storage Gen2
Que hay de nuevo en el Azure Data Lake Storage Gen2Que hay de nuevo en el Azure Data Lake Storage Gen2
Que hay de nuevo en el Azure Data Lake Storage Gen2
 
Introduccion a Azure Synapse Analytics
Introduccion a Azure Synapse AnalyticsIntroduccion a Azure Synapse Analytics
Introduccion a Azure Synapse Analytics
 
Seguridad de SQL Database en Azure
Seguridad de SQL Database en AzureSeguridad de SQL Database en Azure
Seguridad de SQL Database en Azure
 
Python dentro de SQL Server
Python dentro de SQL ServerPython dentro de SQL Server
Python dentro de SQL Server
 
Servicios Cognitivos de de Microsoft
Servicios Cognitivos de de Microsoft Servicios Cognitivos de de Microsoft
Servicios Cognitivos de de Microsoft
 
Script de paso a paso de configuración de Secure Enclaves
Script de paso a paso de configuración de Secure EnclavesScript de paso a paso de configuración de Secure Enclaves
Script de paso a paso de configuración de Secure Enclaves
 
Introducción a conceptos de SQL Server Secure Enclaves
Introducción a conceptos de SQL Server Secure EnclavesIntroducción a conceptos de SQL Server Secure Enclaves
Introducción a conceptos de SQL Server Secure Enclaves
 

Dernier

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 

Analysis Services en SQL Server 2008

  • 1. Analysis Services in SQL Server® 2008 Eduardo Castro SQL MVP,MCDBA , MCSE, MCAD, MCSD ecastro@mswindowscr.org Comunidad Windows Costa Rica
  • 2. Data Warehouse System Components Data Warehouse User Data Access Data Sources Staging Area Data Marts Data Input Data Access
  • 3. Understanding Data Warehouse Design The Star Schema Fact Table Components Dimension Table Characteristics The Snowflake Schema
  • 4. The Star Schema Employee_Dim EmployeeKey EmployeeID ... Product_Dim Time_Dim ProductKey TimeKey ProductID ... TheDate ... Shipper_Dim Customer_Dim ShipperKey CustomerKey ShipperID ... CustomerID ... Dimension Table Fact Table Sales_Fact TimeKey EmployeeKey ProductKey CustomerKey ShipperKey Sales Amount Unit Sales ...
  • 5. Fact Table Components Measures time_dim 134 1/1/2000 DimensionTables sales_fact Table customer_dim Foreign Keys 201 ALFI Alfreds customer_key product_key time_key quantity_sales amount_sales product_dim 201 25 134 400 10,789 25 123 Chai The grain of the sales_fact table is defined by the lowest level of detail stored in each dimension
  • 6. Dimension Table Characteristics Describes Business Entities Contains Attributes That Provide Context to Numeric Data Presents Data Organized into Hierarchies
  • 7. The Snowflake Schema Defines Hierarchies by Using Multiple Dimension Tables Is More Normalized than a Single Table Dimension Is Supported within Analysis Services
  • 8. Defining OLAP Solutions OLAP Databases Common OLAP Applications Relational Data Marts and OLAP Cubes OLAP in SQL Server 2005
  • 9. OLAP Databases Optimized Schema for Fast User Queries Robust Calculation Engine for Numeric Analysis Conceptual, Intuitive Data Model Multidimensional View of Data Drill down and drill up Pivot views of data
  • 10. OLAP in SQL Server Microsoft Is One of Several OLAP Vendors Analysis Services Is Bundled with Microsoft SQL Server 2005 and SQL Server 2008 Analysis Services Include OLAP engine Data Mining technology
  • 12. Cube Measures Are the Numeric Values of Principle Interest Correspond to Fact Table Facts Intersect All Dimensions at All Levels Are Aggregated at All Levels of Detail
  • 13. Relational Data Sources Star and Snowflake Schemas Are required to build a cube with Analysis Services Fact Table Contains measures Contains keys that join to dimension tables Dimension Tables Must exist in same database as fact table Contain primary keys that identify each member
  • 14. Applying OLAP Cubes Defining a Cube Querying a Cube Defining a Cube Slice Working with Dimensions and Hierarchies Visualizing Cube Dimensions Connecting to an OLAP Cube
  • 15. Defining a Cube Atlanta Chicago Market Dimension Denver Grapes Cherries Detroit Melons Apples Products Dimension Q4 Q1 Q2 Q3 Time Dimension
  • 16. Fact Sales Atlanta Chicago MarketsDimension Denver Grapes Cherries Dallas Melons ProductsDimension Apples Q4 Q1 Q2 Q3 TimeDimension Querying a Cube
  • 17. SQL Server 2008 Analysis Services Enhancements Multidimensional Analysis with SQL Server Analysis Services Data Mining with SQL Server Analysis Services
  • 18. Multidimensional Analysis with SQL Server Analysis Services Cube Wizard Dimension Wizard The Attribute Relationship Designer The Aggregation Designer AMO Warnings
  • 19. Cube Wizard More efficient interface Create a cube based on a single de-normalized table Create a cube based on a data source that has only linked dimensions
  • 20. Dimension Wizard Create dimensions more efficiently Automatically detect parent-child hierarchies Provide safer default error configuration Set member properties while creating the dimension
  • 21. The Attribute Relationship Designer Flexible relationship Rigid relationship Manage Relationship through right-click options in the Attribute Relationship pane
  • 22. The Aggregation Designer New Aggregation Designer: Aggregations designs are shown grouped by measure group New view available for manual aggregation design Improved Usage-Based Optimization Wizard: Ability to append new aggregations to an existing aggregation design Ability to modify storage settings for one or more partitions simultaneously Improved Aggregation Design Wizard
  • 23. AMO Warnings Uses familiar symbols such as the wavy underline and a yellow triangle with an exclamation point Non-intrusive warning messages appear when you pause the mouse over a warning Available 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 Services Improved Data Mining Wizard Separating Test and Training Data Filtering Model Cases Cross Validation of Mining Models Data Mining Add-Ins for Microsoft Office Systems
  • 25. Data Mining Enhancements Improve both short-term and long-term predictions with the Microsoft Time Series algorithm, which has been enhanced to support both ARTXP and ARIMA algorithms Enable drillthrough on a mining structure to allow queries about the cases used for both training and testing Create 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 label Separate test and training data Improve performance and analyze different scenarios by using Model Case Filtering Create cross-validation reports Utilize Data Mining Add-ins for Office
  • 26. Separating Test and Training Data Three ways to partition data into training and test sets: The Data Mining Wizard Modifying 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 properties DMX statement, AMO, or XML DDL
  • 27.
  • 28.
  • 29. Data Mining Add-Ins for Microsoft Office System Data Mining Client for Excel – create, test, and manage data mining projects within Excel 2007 Table Analysis Tools for Excel – use powerful analysis tools such as analyzing key influencers, highlighting exceptions, and forecasting for data stored in spreadsheets Data Mining Templates for Visio – render decision trees, regression trees, cluster diagrams, and dependency nets in diagrams created in Visio 2007 Important: Data Mining Add-ins for Microsoft Office System will be available for SQL Server 2008 when it releases to manufacturing.
  • 31. Optimizing Storage What 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 Backups Data compression can be enabled on tables or views Different compression types can be configured on a per-partition basis The following data compression types can be defined: Row compression Page compression Backup compression: Normally decreases time required to perform a backup Managed with Transact-SQL, Backup Task, Maintenance Plan Wizard, and Integration Services Backup Database task
  • 34. Contact Information Eduardo Castro ecastro@mswindowscr.org http://ecastrom.blogspot.com