Professional Documents
Culture Documents
CH2 Notes: Chapter 2: Choosing The SQL Server 2019
CH2 Notes: Chapter 2: Choosing The SQL Server 2019
CH2 Notes: Chapter 2: Choosing The SQL Server 2019
CH2 Notes 1
capability in multidimensional a semantic layer and send queries back to the supported data
models retains and updates data sources
modified in the process.
MDX can be difficult - the Subpar design experience in Visual Studio -the tabular
traditional understanding of how model design in Visual Studio can be an exercise in
tables and relationships work frustration. This is magnified by the simplicity of creating
doesn't apply. similar solutions with Power BI and Power Pivot in Excel.
Small changes require full
reload - The problem is that the
actual storage of data, design of Code is contained in a single file - Tabular models are
aggregations, and index designs effectively limited to one developer at a time due to merge
are all impacted with a change as issues
simple as adding an attribute to a
dimension
CH2 Notes 2
- This should not be considered as a replacement for a standard extraction,
transformation, and load (ETL) process using tools such as SQL Server
Integration Services (SSIS). Power Query, while simple and flexible, struggles to
perform in large enterprise solutions
- There are still many benefits to having the transformed or shaped data stored in a
warehouse, including access to reporting tools or analysis by open source analytic
tools, such as Azure Machine Learning.
CH2 Notes 3
Partitioning
partitioning larger tables can improve the processing time. Partitioning allows you to
process the partitions independently so that you can reload smaller amounts of data,
which reduces load time accordingly. This means that if you need to reduce the time it
takes to bring the latest data into a model of either type
The lesson here is: do not use partitions to improve query performance in tabular
models.
CH2 Notes 4
You need to consider why and how you plan to implement partitions in your
model.
Role-playing dimensions
Role-playing dimensions refer to those dimension tables that may have multiple
relationships with a fact table. The most common example is the date dimension.
You can add multiple relationships to the table in the data source view, and then
create multiple dimensions on the table. This allows the fact table to be sliced or
filtered by either date
When traditional BI architects move to tabular models, they see that this is no longer
true.
Tabular models are built on relational concepts. There are strictly two dimensions –
columns and rows. This simplifies the model and is much easier for people familiar with
Excel or relational databases to comprehend the model.
Multidimensional models and OLAP models are built with the concepts of cells with
intersecting dimensionality. One of the ways we often see this being handled is by
implementing star schemas and dimensional models to be used by tabular models.
While that structure is not required, there are definitely advantages to using that design.
It simplifies the overall model and follows a known design pattern that can be supported
by many BI practitioners.
Hardware requirements
CH2 Notes 5
Multidimensional models require more overall performance considerations as the
data is retrieved from disk.
Tabular models only use the hard disk to store metadata and data when the server
is shut down.
When working with SSAS in multidimensional mode, we recommend that you use
SSD
with tabular models, memory is the most important consideration. The entire tabular
database must be loaded into memory and around three to four times the size of the
database will be required to properly support a tabular model.
both modes need to have high-speed CPUs with onboard caching to support query
and processing operations.
both model types use parallel processing techniques, more cores are preferred.
Once you have reached the peak of performance with the hardware capability, we
recommend scaling out Analysis Services. Scaling up or increasing hardware
capacity only solves some of the issues that you may experience with your
deployments. We recommend that you scale out as opposed to scale up
you should never put instances of both models on the same machine (bare iron or
virtual)
CH2 Notes 6
Multidimensional Mode Tablular Mode
💡 While tabular models are supported in Azure Analysis Services and Power BI
Premium, not all features in SQL Server 2019 Analysis Services are available
in the online servers. We highly recommend that you do not commit to a
purely cloud solution until you have tested the features you are using. In most
cases, you will not have feature issues. The other area to consider is the size
of your model. At the time of writing, Azure Analysis Services models are
limited to 400 GB.
You can also use virtual machines to support larger tabular models or use
features not currently available in true cloud deployments.
CH2 Notes 7