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?

  • 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
    232,000 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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,278 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,000 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans