web
You’re offline. This is a read only version of the page.
close
Skip to main content
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)
  • Faruk Durak Profile Picture
    109 on at
    RE: SQL Server rebuild index and reorganized index, slowness problem

    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.

  • Martin Dráb Profile Picture
    235,800 Most Valuable Professional on at
    RE: SQL Server rebuild index and reorganized index, slowness problem

    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.

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

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

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 665 User Group Leader

#2
Martin Dráb Profile Picture

Martin Dráb 595 Most Valuable Professional

#3
Yng Lih Profile Picture

Yng Lih 558

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans