question

nb-5535 avatar image
0 Votes"
nb-5535 asked HimanshuSinha-MSFT commented

AAS: How can I optimize the memory usage of an Azure Analysis Services instance?

Hi All,

My question has been explained in a nice way in this stack post: 71918935. I am just posting here to increase exposure to the right audience, encase some may not view the post if its on a different site.

In summary, we are trying to reduce the memory usage of our process so that we can remain in our current AAS tier (not running into frequent Our of Memory Alerts and having to worry about upgrading) and also make use of our resources in a better way, allowing us to extend the data retention/ size of our model.

Would appreciate if any experts could provide thoughts and guidance on how to resolve/ go about resolving this issue.


sql-server-transact-sqlazure-analysis-services
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @nb-5535,
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet .In case if you have any resolution please do share that same with the community as it can be helpful to others . Otherwise, will respond back with the more details and we will try to help .
Thanks
Himanshu

0 Votes 0 ·

1 Answer

HimanshuSinha-MSFT avatar image
0 Votes"
HimanshuSinha-MSFT answered HimanshuSinha-MSFT edited

Hello @nb-5535,
Thanks for the question and using MS Q&A platform.

As we understand the ask here is know how to reduce the memory usages in AAS , please do let us know if its not accurate.
I agree to all the points which are called out in the post . But I think we should first put an effort to find out which table(s) are the one which is contributing to this . The easist way could be try to process the tables individually and keep an eye as to how the memory consumptions behaves(you can out this https://docs.microsoft.com/en-us/answers/questions/516832/how-to-manually-refresh-azure-analysis-services-ta.html ) . Once you have the subset of the tables , you can work try out the things called out in the post .

Also it may happens that some of the measures which are derieved from the base table are very compute intensive . One avenue to explore can be to perform those calculation outside AAS by using SQL ( if possible ) , Synapse or Databricks . These services are not free and hence will need some exploration .


Please do let me if you have any queries.
Thanks
Himanshu


  • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how

  • Want a reminder to come back and check responses? Here is how to subscribe to a notification

  • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.