background preloader


Facebook Twitter

SSAS - Best Practices and Performance Optimization - Part 1 of 4. Problem There are several aspects that can take a toll on performance for your Analysis Services cubes.

SSAS - Best Practices and Performance Optimization - Part 1 of 4

Some problems could be related to the source systems, some could be because of poor design of your cube and MDX queries and some could be related to network issues. In this tip series, I am going to talk about some of the best practices which you should consider during the design and development of your Analysis Services cube and some tips which you can follow to tune your existing environment if it is suffering from performance issues. Solution Before we start digging into the details of performance optimization, let's see how a typical Microsoft Business Intelligence (BI) application architecture would look.

The below diagram shows a typical Microsoft BI application architecture which has different layers shown from left to right. Although a typical Microsoft BI application architecture is to have each layer on a different physical machine, that's not usually the case. Query Parser. ORM is an anti-pattern. I tweeted about ORM last week, and since then several people have asked me to clarify what I meant.

ORM is an anti-pattern

I have actually previously written about ORM, but it was in the context of a larger discussion about SQL and I shouldn't have confused the two issues. So here I'm going to focus on ORM itself. I'm also going to try to be very brief, since it became very apparent from my SQL article that people tend to stop reading at the first sentence that makes them angry (and then leave a comment about it, whether or not their point is addressed later on).

What's an anti-pattern? I was pleased to discover that Wikipedia has a comprehensive list of anti-patterns, both from within the world of programming and outside of it. It initially appears to be beneficial, but in the long term has more bad consequences than good ones An alternative solution exists that is proven and repeatable What do you mean by ORM? The benefits of ORM Simplicity: some ORM layers will tell you that they "eliminate the need for SQL". Open Data Protocol (OData) Exploits Database by Offensive Security. Immerse Yourself In SQL Server. Data transfer object. Data transfer object (DTO)[1][2] is an object that carries data between processes.

Data transfer object

The motivation for its use has to do with the fact that communication between processes is usually done resorting to remote interfaces (e.g. web services), where each call is an expensive operation.[2] Because the majority of the cost of each call is related to the round-trip time between the client and the server, one way of reducing the number of calls is to use an object (the DTO) that aggregates the data that would have been transferred by the several calls, but that is served by one call only.[2] See also[edit] This pattern is often incorrectly used outside of remote interfaces. This has triggered a response from its author[3] where he reiterates that the whole purpose of DTOs is to shift data in expensive remote calls.

See also[edit] Value object Note: A Value object is not a DTO. References[edit] External links[edit] AutoMapper.