Forum Discussion
Desktop refresh outperforms Report Server refresh
A little background on the issue that i am attempting to gather info for.
My company is running out the On-prem report server, which is awesome, i am a huge fan of Power BI and have been pushing for it with upper management.
Now we are running into an issue with the auto refresh feature on the report server. 95% of the time our refresh times out and fails on the server, however, runs fine on the desktop version. Has anyone had this issue before?
most of our queries are SQL based and you use that to pull the data we need for our reports. Should we start using DAX language to query the server over SQL?
Looking for insight from outside sources, and anything will help on these performance issues
4 Replies
- AnonymousNot applicable
Since you mention that your queries are SQL I assume there's a database backend to this that is providng your dataset.
Have you tried running profiler on the data sources so you can see the SQL that is being issued when you do a refresh? If you take a look at this you can run the SQL on the DB and see what the query plans loook like. It's possible the SQL needs optimising or some indexes need adding to the underlying database.
Have you got any detail from the ReporTServer Db on the specific errors that are being produced by the refresh?
- MrNoobHelper II
Yes, we have gotten some scheduled refreshes have completed, however other times they have not.
Our IT and Data Base admins are in the process of seeing if the Database is indexed, and then we are in the process of optimizing our SQL code. I will keep you posted but thank you for your insight, seems we may be on the right path.
- AnonymousNot applicable
This has been loosely addressed by Microsoft. Basically there's a process "msmdsrv.exe" that runs scheduled refreshes. It's actually a flavor of an SSAS instance. This can be a memory hog.
https://docs.microsoft.com/en-us/power-bi/report-server/scheduled-refresh
"The ability to load reports with imported data or DirectQuery, and the ability to perform scheduled refresh, rely on an Analysis Services instance being hosted alongside of the report server. As a result, this could result is unexpected memory pressure on the server. Plan your server deployment accordingly knowning that Analysis Services may be consuming memory alongside the report server."
The problem may not be on the SQL side. It could be on the PBIRS itself. You may need more memory installed. You need to stress-test your server and log the results. Watch the .msmdsrv.exe I mentioned earlier.
From what I know, a lot of the SQL calculations are done via tempdb which may run on the database/server you're pulling data from. If anybody could answer this question for me that would be appreciated as well. Let me know if you have any questions too.