web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

SQL Server rebuild index and reorganized index, slowness problem

(0) ShareShare
ReportReport
Posted on by 109

Some stock screens are running slow in Ax, when I follow the queries on SQL Activity Monitor, I get the following result.

pastedimage1654008207306v1.png

Here it gives a warning about Indexes, but when I check fragmentations, there is no problem.

pastedimage1654008293453v2.png


I have an automatic rebuild index and reorganized index made every night for the InventDim table. However, sometimes it slows down and I manually rebuild index and reorganize index.

Sometimes even these don't work and I have to restart AOS, SQL servers.

What could be the source of this slowness problem? How can I solve it?

I have the same question (0)
  • Martin Dráb Profile Picture
    237,976 Most Valuable Professional on at

    I don't see any warning regarding current indexes. What SSMS says is that adding a new index on InventSum would help this query. Rebuilding existing indexes is fine, but it's not related to this topic.

    Note that you shouldn't add every index that is suggested in this way. Review the suggestion and consider whether adding such an index is really a good idea.

  • Faruk Durak Profile Picture
    109 on at

    Hey Martin,

    thanks for your interest. Ax is running slow sometimes, what would you suggest I check when it runs slow?

    I think it's a slowdown that concerns SQL in general, like TempDBs. I have read and followed the recommendations for TempDBs but It's not works for me.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 449 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 422 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans