Professional Documents
Culture Documents
Who Needs SSAS When You've Got SQL - 403 PDF
Who Needs SSAS When You've Got SQL - 403 PDF
Meagan Longoria
#ITDEVCON
WHO NEEDS SSAS WHEN YOU’VE GOT SQL?
Getting Started
• Slides are on my blog:
http://datasavvy.wordpress.com/
presentations
• Feel free to share questions and
comments throughout the
presentation
WHO NEEDS SSAS WHEN YOU’VE GOT SQL?
About Me
• Meagan Longoria
• Solutions Consultant with BlueGranite
• Organizer of SQL Saturday Kansas City (Oct. 3, 2015)
• Blog: http://datasavvy.wordpress.com
• Twitter: @mmarie
• LinkedIn: www.linkedin.com/in/meaganlongoria/
• 8 years in BI/Analytics, 3 years in consulting
WHO NEEDS SSAS WHEN YOU’VE GOT SQL?
In the Beginning…
• SQL Server 7 OLAP Services
• MOLAP, ROLAP, HOLAP, MDX
1998
• Analysis Services 2000
• Data mining, parent-child dimensions, dimension security,
distinct count
2000 • Only 1 fact table per cube
WHO NEEDS SSAS WHEN YOU’VE GOT SQL?
Then Came…
•SQL Server Analysis Services 2005
2005 •Unified Dimensional Model, AMO
In the Meantime…
The SQL Server Database Engine Grew Up
• Columnstore Indexes
• New analytic functions
• Memory-optimized tables
• Row-level security (2016)
WHO NEEDS SSAS WHEN YOU’VE GOT SQL?
Security
BI Semantic Model
WHO NEEDS SSAS WHEN YOU’VE GOT SQL?
My Suggestion
If all you need is increased speed while
querying large amounts of data, the
relational engine may provide your
solution.
Shared metadata, security, and ease of
ad hoc analysis may make SSAS worth
consideration.
WHO NEEDS SSAS WHEN YOU’VE GOT SQL?
#ITDEVCON
UNDERSTAND
MODES & FEATURES
WHO NEEDS SSAS WHEN YOU’VE GOT SQL?
http://www.sqlchick.com/entries/2012/3/4/decisions-
powerpivot-ssas-tabular-or-ssas-multidimensional-m.html
WHO NEEDS SSAS WHEN YOU’VE GOT SQL?
Differences – Engine/Database
Multidimensional Tabular
• OLAP engine • In-memory xVelocity Engine
• MDX • DAX (can translate MDX)
• Can be larger than server memory • In-memory means it must fit on
• Multiple cubes per database server
• Direct query • Direct query can’t use calculated
• Very large data sets measures, must use SQL Server
source
• Process partitions in parallel
• Process partitions serially (until 2016)
• Data mining
• Better performance on distinct
counts
WHO NEEDS SSAS WHEN YOU’VE GOT SQL?
Demo
Differences – Features
Multidimensional Tabular
• Native parent-child hierarchies • Parent-child hierarchies through
• Many-to-many relationships DAX
• Native drillthrough • M2M through DAX and many
• Writeback calculations
• Named sets • Drillthrough with BIDS Helper
• Role-playing dimensions • Integrate different data sources
• Dimension attributes for • Flexible model (no true
optimization, discretization, default dimension/fact)
member, aggregation • Upgrade path from Power Pivot
WHO NEEDS SSAS WHEN YOU’VE GOT SQL?
Demo
Demo
Demo
Further Reading
• Why use SSAS: http://www.jamesserra.com/archive/2013/08/why-use-a-ssas-cube/
• Why Analysis Services: http://www.angelsbiblog.com/2013/01/why-analysis-
services.html
• https://msdn.microsoft.com/en-us/library/hh212940.aspx
• Why do I need a cube: http://blog.datainspirations.com/2011/05/11/sqlu-ssas-
week-why-do-i-need-a-cube-how-do-i-get-started/
• AtScale OLAP on Hadoop: http://talkincloud.com/iaas/atscale-partners-microsoft-
big-data
• Differences between OLAP & Tabular: http://www.codemag.com/Article/1308091
• Choosing a tabular or multidimensional experience:
https://msdn.microsoft.com/en-us/library/Hh994774.aspx
• What’s new in SSAS 2016:
https://msdn.microsoft.com/en-us/library/bb522628.aspx
WHO NEEDS SSAS WHEN YOU’VE GOT SQL?
Further Reading
• PowerPivot vs SSAS Tabular vs SSAS MD:
http://www.sqlchick.com/entries/2012/3/4/decisions-powerpivot-ssas-tabular-or-
ssas-multidimensional-m.html
• Large scale Tabular SSAS whitepaper:
http://sqlblog.com/blogs/marco_russo/archive/2014/06/05/white-paper-on-
analysis-services-tabular-large-scale-solution-ssas-tabular.aspx
• Optimizing M2M calculations: https://www.sqlbi.com/articles/optimize-many-to-
many-calculation-in-dax-with-summarize-and-cross-table-filtering/
• SSAS MOLAP Performance Guide:
https://msdn.microsoft.com/en-us/library/Dn749781.aspx
• Establishing Connections in ADOMD.NET: https://msdn.microsoft.com/en-
us/library/ms123468.aspx
WHO NEEDS SSAS WHEN YOU’VE GOT SQL?
GOLD
WHO NEEDS SSAS WHEN YOU’VE GOT SQL?
SILVER
BRONZE PERSONAL/BLOG
WHO NEEDS SSAS WHEN YOU’VE GOT SQL?
Questions/Comments
• Meagan Longoria
• Solutions Consultant with BlueGranite
• Blog: http://datasavvy.wordpress.com
• Twitter: @mmarie
• LinkedIn: www.linkedin.com/in/meaganlongoria/