SSAS performance issues

Кирилл Андреев 1 Reputation point
2022-03-28T04:45:19.637+00:00

Hello everyone, I have two analytics databases - created by me and a third-party company (professionals). The fact is that when I try to build a pivot table in my cubes, it hangs very badly for me. Specifically - when I add a dimension to the columns. Query Analyzer says that all sections of all cubes are read at this time. After all this, the dimension is added to the report as follows:
187320-image.png
That is, all sections of all cubes were viewed and dates were added for which there are facts.
When adding a dimension to cubes compiled by professionals, this does not happen, it looks like this:
187371-image.png

What setting is responsible for this parameter, I did not understand.
I need to do the same as for professionals - so that when adding dimensions, all sections are not read

SQL Server Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
1,257 questions
{count} votes

2 answers

Sort by: Most helpful
  1. ZoeHui-MSFT 34,591 Reputation points
    2022-03-28T07:35:29.787+00:00

    Hi @Кирилл Андреев ,

    Please correct me if my understanding is wrong, you are facing performance issue when adding multiple dimension attributes to column, and did not add any measure with it, right? If this is the case, I would suggest you to add a measure to eliminate the blank value. Without measure, dimension attributes will do cross full join for all the value, that will generate a lots of invalid records, thus you might get performance issue.

    For other scenarios, you might need to use SQL Server Profiler to capture the duration when you make this report, and focus on the longest time to see if you can tune something.

    Regards,

    Zoe


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Alexei Stoyanovsky 3,416 Reputation points
    2022-03-28T22:17:28.55+00:00

    Going for the simplest possible explanations, looks like the second cube has a NULL measure, probably created with MDX, defined as the default measure. The first cube, on the other hand, seems to be missing aggregations, because no measure should take too long to calculate for just 5 years and a total while also causing all the partitions to be read.

    0 comments No comments