Download presentation
Presentation is loading. Please wait.
1
Multi-client SSAS deployment
What's MDS got to do with?
2
Our Sponsors If you think, that a SQL Saturday is a nice possibility to learn from and network with fellow SQL Server enthusiasts FOR FREE, I just ask you one thing: Visit the sponsor booths and chat with the sponsors! They are covering the expenses for each and every of you, with is around EUR 60 …
3
Who am I? Gabi Münster BI consultant at oh22data AG since 2010
Experience with SQL Server since version 2000 Main topics: SSAS (Multidimensional/Tabular), SSRS, MDS, PowerBI Speaker at chapter meetings and national and international conferences
4
Agenda Multi-client SSAS deployment Motivation A little bit of theory
How can a config look like? How to deploy a multidimensional database with AMO? How to deploy a Tabular model with TOM? Resumé
5
Motivation Enhancement of testing possibilites Enabling of staff
Realization of multi-szenario deployments Version control Added value for documentation
6
A little bit of theory (I)
Understand the SSAS data model Very flexible Lots of objects Large variety of attributes Deeply interlaced Very complex
7
A little bit of theory (II)
<Server> <Name/> <ID/> <Description/> <Version/> <Edition/> <Databases> <Database> <CreatedTimestamp/> <LastSchemaUpdate/> … <Dimensions> <Dimension> <Source> <!-- Binding --> </Source> <DimensionPermissions> <DimensionPermission xsi:type="Permission"> ... </Dimension> </Dimensions> <Cubes> <Cube> </Databases> <Roles> <Role> </Role> </Roles> </Server> A little bit of theory (II) 2. Choose the language: ASSL => XML based AMO => .NET class library Server srv = ServerConnect(strConn); Database db = CreateDatabase(srv, strDBName, true); if (db == null) { return "Failure"; } DataSource ds = CreateDataSource(db, "AdventureWorksDW2014", "Provider=SQLNCLI11.1;Data Source=.\\SQL2016;Integrated Security=SSPI;Initial Catalog=AdventureWorksDW2014"); if (ds == null)
8
A little bit of theory (III)
Understand the data model Meant for comprehensibility Less objects Less interdependencies Easier to understand and maintain
9
A little bit of theory (IV)
2. Choose the language: TMSL => JSON based TOM => .NET class library // Generate a new database name and use GetNewName // to ensure the database name is unique. // string newDatabaseName = server.Databases.GetNewName(strDatabaseName); string newDatabaseID = server.Databases.GetNewID(strDatabaseID); // Instantiate a new // Microsoft.AnalysisServices.Tabular.Database object. var dbWithTable = new Microsoft.AnalysisServices.Tabular.Database() { Name = newDatabaseName, ID = newDatabaseID, CompatibilityLevel = 1200, StorageEngineUsed = StorageEngineUsed.TabularMetadata, };
10
How can a config look like?
What of the data models are you using? What is „static“, what needs configuration? Build step by step Demo
11
How to deploy a multidimensional database with AMO?
Example: .Net Choose integration: Stand-alone application Assembly to use in SSIS … Demo
12
How to deploy a Tabular model with AMO?
Example: .Net Choose integration: Stand-alone application Assembly to use in SSIS … Demo
13
Resumé Cost/benefit evaluation necessary
Criteria Assessment Funktionality Covers all necessary functionality Implementation effort High! Potential benefit Also high Cost/benefit evaluation necessary Especially meaningful for consulting companies with different customers (reusability)
14
Some useful links AMO für multidimensionale Datenbanken: ASSL
AMO Concepts and AMO Model ASSL Analysis Services Scripting Language (ASSL for XMLA) AMO für Tabular (TOM) Introduction to the Tabular Object Model (TOM) in Analysis Services AMO TMSL Tabular Model Scripting Language (TMSL) Reference
15
Any questions?
16
Please give us feedback!
How did you like it? Please give us feedback! to the event: to me as a speaker:
17
Ressources SQL Server 2016 in 15 Minuten SQL PASS Austria Homepage
SQL PASS Austria Homepage SQL PASS Austria Meeting Archive
18
Thank You! If you think, that a SQL Saturday is a nice possibility to learn from and network with fellow SQL Server enthusiasts FOR FREE, I just ask you one thing: Visit the sponsor booths and chat with the sponsors! They are covering the expenses for each and every of you, with is around EUR 60 …
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.