Really slow DISCOVER_CSDL_METADATA in SQL Server Profiler

177 views Asked by At

Our setup is SQL Server + SSAS + multidimensional OLAP + PowerBI on top of it.

Recent issue we noticed is that when user loads PowerBI report, from time to time forementioned event occurs. This leads to really long waiting time until the report loads (event takes up to 45-60 seconds).

Our cube has ~20 dimensions and ~50 measures, 2-3 million rows in 3 partitions, MOLAP storage.

What can we do about it? How can we debug it? We don't have SSAS experts on board and googling this event didn't help much. Where can we search for reasons of such behavior?

1

There are 1 answers

0
Marcin On BEST ANSWER

It turns out that in our case it was probably caused by cache being dropped each time the cube was processed.

Our solution would be creating SSIS Package that would run certain DMV queries to populate cache every time we process our cubes, so end-users would be able to use the cache instead of generating it themself.