Sql Saturday Costa Rica-SSAS Tabular Model

4,066 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,066
On SlideShare
0
From Embeds
0
Number of Embeds
2,560
Actions
Shares
0
Downloads
27
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Sql Saturday Costa Rica-SSAS Tabular Model

  1. 1. SSAS Tabular Model Ahias Portillo ahias.portillo@ninjawebcorporation.com
  2. 2. SQL Saturday Sponsors Diamond Sponsors Bronze Sponsors
  3. 3. SSAS Tabular Model  Conceptos  Historia y RoadMap de SSAS.  SSAS Tabular vs Multidimensional  Demo  Que es lo nuevo  Consideraciones 3 |
  4. 4. ¿Por qué utilizar Base de datos Analíticas?  Acceso a datos con alto rendimiento.  Consultas analíticas.  Entrega de datos en lenguaje natural.  Self-Services.  Funcionalidades de navegación (Jerarquías), KPI.  Minería de datos.
  5. 5. ¿Evolución de SSAS? OLAP Services Sql Server 7 Sql Server 2000 Sql Server Analysis Services Sql Server 2005 Sql Server 2008 Sql Server 2008 R2 Sql Server 2012 Power Pivot (Excel -SP) Tabular Model
  6. 6. ¿Qué es SSAS?  BISM (2012/2014)  Business Intelligence Semantic Model  UDM (2005-2008 R2)  Unified Dimensional Model  Data Mining Model  Tabular Model
  7. 7. ¿Que es BISM?  BISM es un concepto.  Es un modelo de datos que los usuarios pueden consultar.  No necesitas comprender la complejidad de los repositorios de datos.  BISM provee:  Modelo de datos  Lógica de negocio  Acceso a datos.  Se puede implementar en 3 tecnologías:  MOLAP  SSAS Tabular Mode  Sharepoint (PowerPivot)
  8. 8. Visión de BISM
  9. 9. ¿Que es Multidimensional Model?  OLAP DB  Dimensiones  Hechos  Almacenamiento optimizado para análisis  MDX  Agregaciones.
  10. 10. ¿Que es Tabular Model?  Nuevo Motor DB (xvelocity)  Metodología de desarrollo basado en el modelo relacional.  Base de datos columnar.  Compresión de datos.  Acceso en tiempo real (DirectSql)
  11. 11. ¿SSAS Tabular vs Multidimensional?
  12. 12. ¿SSAS Tabular vs Multidimensional? Tabular  Menores tiempos de desarrollo.  Alto rendimiento.  Características limitadas.  Almacenamiento en Memoria.  Disponible en ediciones BI y Empresarial. Multidimensional  Soporte para cubos de gran volumen.  Principal almacenamiento en disco duro.  Disponibles en todas las ediciones de Sql Server.
  13. 13. ¿SSAS Tabular vs Multidimensional? Acceso a orígenes de datos Tabular  Base de datos relacionales.  SSAS multidimensional.  Data Feed.  Text Files.  Nota: Existe restricciones si se utiliza configuración DirectQuery. Multidimensional  Base de datos relacional.
  14. 14. ¿SSAS Tabular vs Multidimensional? Acceso a datos Tabular  Cache (Xvelocity) datos en memoria, almacenamiento secundario.  Online (DirectQuery).  Nota: Existe restricciones si se utiliza configuración DirectQuery. Multidimensional  MOLAP datos en disco y cache de servidor.  ROLAP datos online
  15. 15. ¿SSAS Tabular vs Multidimensional? Rendimiento Escenario Multidimensional MOLAP Tabular In-Memory Mejor Rendimiento Reportes de baja granularidad de datos Lectura desde disco Lectura de RAM. Tabular In –Memory. Reportes con agregaciones, no en cache. Lectura de agregaciones en disco. Lectura de datos en RAM y Agregación en memoria. Tabular In –Memory. Reportes con agregaciones en cache. Lectura en RAM Lectura de datos en RAM y Agregación en memoria. Multidimensional.
  16. 16. ¿SSAS Tabular vs Multidimensional? Feature group Decision criteria Multidimensional/ Tabular Multidimensional modeling Tabular modeling Time to solution / Longer time to solution. Shorter time to solution. Learning curve / Dimensional modeling and MDX language create a steeper learning curve but natively provide more complex capabilities. Relational modeling and Excel-like DAX language create a less steep learning curve but complex capabilities may require sophisticated DAX expressions. Data model Data relationships / One-to-many. Many-to-many. Reference relationships must be explicitly modeled. One-to-many. Many-to-many requires DAX expressions. Modeling table relationships creates reference relationships. (Microsoft, Choosing a Tabular or Multidimensional Modeling Experience in SQL Server 2012 Analysis Services)
  17. 17. ¿SSAS Tabular vs Multidimensional? Feature group Decision criteria Multidimensional/ Tabular Multidimensional modeling Tabular modeling Data model Hierarchies / Native support for standard, ragged, and parent-child hierarchies Native support for standard hierarchies. Parent- child hierarchies require DAX expressions. Data model Additional data modeling features / Perspectives, translations, actions, drillthrough, stored procedures, and write-back. Perspectives and drillthrough. Business logic Calculation language / MDX DAX Business logic Calculations / Native support for common and complex calculations. Native support for common and many complex calculations. (Microsoft, Choosing a Tabular or Multidimensional Modeling Experience in SQL Server 2012 Analysis Services)
  18. 18. ¿SSAS Tabular vs Multidimensional? Feature group Decision criteria Multidimensional/ Tabular Multidimensional modeling Tabular modeling Business logic Aggregation functions / Sum, Count, Min, Max, Distinct Count, None, ByAccount, AverageOfChildren, FirstChild, LastChild, FirstNonEmpty, and LastNonEmpty. Sum, Count, Min, Max, Average, DistinctCount, and various time intelligence functions like FirstDate, LastDate, OpeningBalanceMo nth, and ClosingBalanceMon th. Business logic Hierarchy logic / Functions to navigate standard and parent-child hierarchies. DAX functions to navigate parent- child hierarchies, DAX expressions to implement logic in standard dimensions. Hierarchy logic generally more difficult using DAX. (Microsoft, Choosing a Tabular or Multidimensional Modeling Experience in SQL Server 2012 Analysis Services)
  19. 19. ¿SSAS Tabular vs Multidimensional? Feature group Decision criteria Multidimensional/ Tabular Multidimensional modeling Tabular modeling Business logic KPIs / Actual, goal, status, and trend with graphical indicators Actual, goal, and status with graphical indicators. Business logic Currency conversion / Supports multi- currency conversion using the Business Intelligence Wizard. Implement using DAX expressions. Data access and storage Scale / Extremely large scale (multi- terabyte) Large Scale (Billions of records) Data access and storage Performance / Indexes and preaggregated measure values stored on disk. Dimension data and query results cached in memory. Approximately 3x data compression. In memory column- based data storage. Approximately 10x data compression. (Microsoft, Choosing a Tabular or Multidimensional Modeling Experience in SQL Server 2012 Analysis Services)
  20. 20. ¿SSAS Tabular vs Multidimensional? Feature group Decision criteria Multidimensional/ Tabular Multidimensional modeling Tabular modeling Data access and storage Data sources / Relational databases. Relational databases, Excel, Text, OData feeds, Azure Data Market, Analysis Services. Data access and storage Query language / MDX DAX MDX (In-Memory mode only) Data access and storage Data storage / MOLAP - Dimension, fact, and aggregated data stored on disk. Dimension data and query results cached in memory. ROLAP – Dimension, fact, and aggregated data stored in a relational database. In-Memory - All data cached in memory utilizing column- oriented xVelocity analytics engine DirectQuery – Data stored in SQL Server 2012. (Microsoft, Choosing a Tabular or Multidimensional Modeling Experience in SQL Server 2012 Analysis Services)
  21. 21. ¿SSAS Tabular vs Multidimensional? Feature group Decision criteria Multidimensional/ Tabular Multidimensional modeling Tabular modeling Data access and storage Data compression / Typically 3x. Typically 10x. Data access and storage Client tools / Excel, Reporting Services, Microsoft PerformancePoint, and other third-party client tools. Reporting Services Power View supported in future SQL Server versions. Reporting Services Power View, Excel, Reporting Services, PerformancePoint, and other third-party client tools. (Microsoft, Choosing a Tabular or Multidimensional Modeling Experience in SQL Server 2012 Analysis Services)
  22. 22. ¿SSAS Tabular vs Multidimensional? Feature group Decision criteria Multidimensional/ Tabular Multidimensional modeling Tabular modeling Data access and storage Programmability / XMLA, ASSL, ADOMD.NET, MSOLAP, AMO, Windows PowerShell for AMO. Developed for use with multidimensional models. XMLA, ASSL, ADOMD.NET, MSOLAP, AMO, PowerShell for AMO. Available but less intuitive for use with tabular models. Security Security / Dimension member and cell-level security. Dynamic Security. Row-level security. Dynamic Security. (Microsoft, Choosing a Tabular or Multidimensional Modeling Experience in SQL Server 2012 Analysis Services)
  23. 23. Demo
  24. 24. ¿ Que es lo nuevo?  Soporte de crear Power View en el modelo multidimensional (SQL Server 2012 Service Pack 1 Cumulative Update 4)  Actualización de SSDT – BI  Visual Studio 2012  Visual Studio 2013  Soporte nativo de Power View en Sql Server 2014 (SQL Server 2014 Reporting Services (in SharePoint mode)  Nota: Power View Add-in in Excel 2013, no soporta Multidimensional Model.
  25. 25. Consideraciones Multidimensional: Enfoque de BI Data Model Complexity SSAS MultidimensionalVisual Studio Requerimientos de Usuarios (Marco Russo, BISM: Multidimensional vs.Tabular)
  26. 26. Consideraciones Tabular: Enfoque de BI Data Model Complexity Requerimientos de Usuarios PowerPivot for Excel PowerPivot for SharePoint SSAS Tabular EXCEL Visual Studio (Marco Russo, BISM: Multidimensional vs.Tabular)
  27. 27. Consideraciones Hardware Feature Multidimensional Tabular RAM Some (16/32 Gb) A lot (64/128 Gb) RAM Speed Important Crucial Number of cores 4/8/16 4/8/16 Core speed Less Important Crucial Disk speed Very Important Useless SSD Disk Usage Strongly recommended Useless Network speed Important Important Concurrency Pretty good Not enough experience… (Marco Russo, BISM: Multidimensional vs.Tabular)
  28. 28. Preguntas?
  29. 29. Mas información  http://ninjawebcorporation.com/  http://www.elrincondesqlserver.com/  https://www.facebook.com/groups/elrincondesqlserver/  https://www.youtube.com/user/elrincondesqlserver

×