modelo tabular
TRANSCRIPT
![Page 1: Modelo Tabular](https://reader034.vdocuments.net/reader034/viewer/2022052400/559c1b2a1a28ab32598b4874/html5/thumbnails/1.jpg)
![Page 2: Modelo Tabular](https://reader034.vdocuments.net/reader034/viewer/2022052400/559c1b2a1a28ab32598b4874/html5/thumbnails/2.jpg)
SSAS Tabular Model
Introducción al modelo tabular de Sql Server
Analysis Services 2012.
![Page 3: Modelo Tabular](https://reader034.vdocuments.net/reader034/viewer/2022052400/559c1b2a1a28ab32598b4874/html5/thumbnails/3.jpg)
Expositor
Ing. Ahias Portillo, MCT, MCITP DBA, BI
Evangelista y conferencista latinoamericano de
Sql Server, con mas de 7 años de experiencia en
el desarrollo de soluciones BI.
![Page 4: Modelo Tabular](https://reader034.vdocuments.net/reader034/viewer/2022052400/559c1b2a1a28ab32598b4874/html5/thumbnails/4.jpg)
Organización
![Page 5: Modelo Tabular](https://reader034.vdocuments.net/reader034/viewer/2022052400/559c1b2a1a28ab32598b4874/html5/thumbnails/5.jpg)
Patrocinadores / Sponsors
GOLD
SILVER
BRONCE
Personal/Swag
![Page 6: Modelo Tabular](https://reader034.vdocuments.net/reader034/viewer/2022052400/559c1b2a1a28ab32598b4874/html5/thumbnails/6.jpg)
Objetivos de la sesión
Definición de conceptos
SSAS Tabular vs Multidimensional
Demostración.
![Page 7: Modelo Tabular](https://reader034.vdocuments.net/reader034/viewer/2022052400/559c1b2a1a28ab32598b4874/html5/thumbnails/7.jpg)
¿Por qué utilizar Base de datos Analíticas?
Mejores Tiempos de
respuestas.
Entrega de datos en
lenguaje natural.
Self-Services.
Funcionalidades de
navegación (Jerarquías),
KPI.
Minería de datos.
![Page 8: Modelo Tabular](https://reader034.vdocuments.net/reader034/viewer/2022052400/559c1b2a1a28ab32598b4874/html5/thumbnails/8.jpg)
¿Qué es SSAS?
BISM (2012)
Business Intelligence Semantic Model
UDM (2005-2008 R2)
Unified Dimensional Model
Multidimensional Model
Data Mining Model
Tabular Model
![Page 9: Modelo Tabular](https://reader034.vdocuments.net/reader034/viewer/2022052400/559c1b2a1a28ab32598b4874/html5/thumbnails/9.jpg)
¿Evolución de SSAS?
OLAP Services
Sql Server 7
Sql Server 2000
Sql ServerAnalysis Services
Sql Server 2005
Sql Server 2008
Sql Server 2008 R2
Sql Server 2012
Power Pivot(Excel -SP)
Tabular Model
![Page 10: Modelo Tabular](https://reader034.vdocuments.net/reader034/viewer/2022052400/559c1b2a1a28ab32598b4874/html5/thumbnails/10.jpg)
¿Preguntas comunes ?
El Tabular Model sustituye el modelo
multidimensional o solo es una mejora de
Power Pivot.
Debería desarrollar solo modelos Tabulares.
Quien es mas rápido los modelos en
memoria o los MOLAP.
El desarrollo en Tabular Model es mas
sencillo. Pero solo conocemos de
Dimensiones, Hechos y MDX.
![Page 11: Modelo Tabular](https://reader034.vdocuments.net/reader034/viewer/2022052400/559c1b2a1a28ab32598b4874/html5/thumbnails/11.jpg)
¿Que es BISM?
BISM es un concepto.
Es un modelo de datos que los usuarios puedenconsultar. No necesitas comprender la complejidad de los
repositorios de datos.
BISM provee: Modelo de datos
Lógica de negocio y Consultas
Acceso a datos.
Se puede implementar en 3 tecnologías: MOLAP
SSAS Tabular Mode
PowerPivot
![Page 12: Modelo Tabular](https://reader034.vdocuments.net/reader034/viewer/2022052400/559c1b2a1a28ab32598b4874/html5/thumbnails/12.jpg)
¿Que es Multidimensional Model?
OLAP DB
Dimensiones
Hechos
Almacenamiento optimizado para análisis
MDX
Modelos MOLAP, ROLAP y HOLAP.
Agregaciones.
![Page 13: Modelo Tabular](https://reader034.vdocuments.net/reader034/viewer/2022052400/559c1b2a1a28ab32598b4874/html5/thumbnails/13.jpg)
¿Que es Tabular Model?
Nuevo Motor DB
Tabular Mode
Column Store
In-Memory
Compresión
Copia de todos los datos al Tabular model
Direct SQL
Querys transformados a SQL, ejecutando
directamente al motor relacional de Sql Server.
Es la versión ROLAP del Tabular Model.
![Page 14: Modelo Tabular](https://reader034.vdocuments.net/reader034/viewer/2022052400/559c1b2a1a28ab32598b4874/html5/thumbnails/14.jpg)
Arquitectura BI Semantic Model
![Page 15: Modelo Tabular](https://reader034.vdocuments.net/reader034/viewer/2022052400/559c1b2a1a28ab32598b4874/html5/thumbnails/15.jpg)
¿SSAS Tabular vs Multidimensional?
![Page 16: Modelo Tabular](https://reader034.vdocuments.net/reader034/viewer/2022052400/559c1b2a1a28ab32598b4874/html5/thumbnails/16.jpg)
¿SSAS Tabular vs Multidimensional?
Tabular
Menores tiempos de desarrollo.
Alto rendimiento.
Características limitadas.
Principal almacenamiento es Memoria.
Disponible en ediciones BI y Empresarial.
Multidimensional
Modelo basado en Dimensiones y hechos.
Soporte para cubos de gran volumen.
Principal almacenamiento es disco duro.
Disponibles en todas las ediciones comerciales.
![Page 17: Modelo Tabular](https://reader034.vdocuments.net/reader034/viewer/2022052400/559c1b2a1a28ab32598b4874/html5/thumbnails/17.jpg)
Tabular Model - Dimensiones
Solo una relación
puede estar activa
por tabla.
Alto rendimiento en
dimensiones de
millones de registros.
Una dimensión es
una tabla.
![Page 18: Modelo Tabular](https://reader034.vdocuments.net/reader034/viewer/2022052400/559c1b2a1a28ab32598b4874/html5/thumbnails/18.jpg)
Tabular Model - Métricas
Sum, min, max,
count, distinct count o
expresiones
complejas de DAX.
Una tabla puede
contener atributos y
métricas.
![Page 19: Modelo Tabular](https://reader034.vdocuments.net/reader034/viewer/2022052400/559c1b2a1a28ab32598b4874/html5/thumbnails/19.jpg)
¿SSAS Tabular vs Multidimensional?
Featuregroup
Decisioncriteria
Multidimensional/Tabular
Multidimensionalmodeling
Tabularmodeling
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.
![Page 20: Modelo Tabular](https://reader034.vdocuments.net/reader034/viewer/2022052400/559c1b2a1a28ab32598b4874/html5/thumbnails/20.jpg)
¿SSAS Tabular vs Multidimensional?
Featuregroup
Decisioncriteria
Multidimensional/Tabular
Multidimensionalmodeling
Tabularmodeling
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.
![Page 21: Modelo Tabular](https://reader034.vdocuments.net/reader034/viewer/2022052400/559c1b2a1a28ab32598b4874/html5/thumbnails/21.jpg)
¿SSAS Tabular vs Multidimensional?
Featuregroup
Decisioncriteria
Multidimensional/Tabular
Multidimensionalmodeling
Tabularmodeling
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, OpeningBalanceMonth, and ClosingBalanceMonth.
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.
![Page 22: Modelo Tabular](https://reader034.vdocuments.net/reader034/viewer/2022052400/559c1b2a1a28ab32598b4874/html5/thumbnails/22.jpg)
¿SSAS Tabular vs Multidimensional?
Featuregroup
Decisioncriteria
Multidimensional/Tabular
Multidimensionalmodeling
Tabularmodeling
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.
![Page 23: Modelo Tabular](https://reader034.vdocuments.net/reader034/viewer/2022052400/559c1b2a1a28ab32598b4874/html5/thumbnails/23.jpg)
¿SSAS Tabular vs Multidimensional?
Featuregroup
Decisioncriteria
Multidimensional/Tabular
Multidimensionalmodeling
Tabularmodeling
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 xVelocityanalytics engine
DirectQuery – Data stored in SQL Server 2012.
![Page 24: Modelo Tabular](https://reader034.vdocuments.net/reader034/viewer/2022052400/559c1b2a1a28ab32598b4874/html5/thumbnails/24.jpg)
¿SSAS Tabular vs Multidimensional?
Featuregroup
Decisioncriteria
Multidimensional/Tabular
Multidimensionalmodeling
Tabularmodeling
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.
![Page 25: Modelo Tabular](https://reader034.vdocuments.net/reader034/viewer/2022052400/559c1b2a1a28ab32598b4874/html5/thumbnails/25.jpg)
¿SSAS Tabular vs Multidimensional?
(Microsoft, Choosing a Tabular or Multidimensional Modeling Experience in SQL Server 2012 Analysis
Services)
Featuregroup
Decisioncriteria
Multidimensional/Tabular
Multidimensionalmodeling
Tabularmodeling
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.
![Page 26: Modelo Tabular](https://reader034.vdocuments.net/reader034/viewer/2022052400/559c1b2a1a28ab32598b4874/html5/thumbnails/26.jpg)
SQL SERVER ANALYSIS SERVICES
TABULAR MODEL
Demo
![Page 27: Modelo Tabular](https://reader034.vdocuments.net/reader034/viewer/2022052400/559c1b2a1a28ab32598b4874/html5/thumbnails/27.jpg)
¿Qué debo considerar?
Esfuerzo requerido en el desarrollo.
Presupuesto.
Hardware.
Requerimientos de datos en tiempo real.
Herramientas de cliente.
Requerimientos del negocio.
![Page 28: Modelo Tabular](https://reader034.vdocuments.net/reader034/viewer/2022052400/559c1b2a1a28ab32598b4874/html5/thumbnails/28.jpg)
¿Qué debo considerar?
Tiempo.
Tabular Model puede brindar desarrollos en menos tiempo.
Modelo de procesamiento y la optimización de querys pueden mejorar tiempos de respuesta.
Presupuesto.
Solo disponible en versiones Empresarial y BI.
Tiempo = Dinero
Hardware.
El core del este modelo es la memoria.
![Page 29: Modelo Tabular](https://reader034.vdocuments.net/reader034/viewer/2022052400/559c1b2a1a28ab32598b4874/html5/thumbnails/29.jpg)
Muchas Gracias!!!