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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Rebuil Index by ax and slq

(0) ShareShare
ReportReport
Posted on by 89

hello master,

i wanna ask, is that same if we do re-index by ax (System Administration -> Periodic -> Database -> SQL Administration -> Index Actoin -> Re- Index)

reindex.png

and if we do Re-index by query in SQL SERVER ??

Thank you.

I have the same question (0)
  • Verified answer
    Satish Panwar Profile Picture
    14,673 Moderator on at

    AX is just going to execute the similar command to what you will be executing in SQL. If you have option and expertise to do from SQL that would be preferred to avoid tying AX resources. Also have re-indexing plan on regular basis.

  • Verified answer
    Blue Wang Profile Picture
    Microsoft Employee on at

    Hi Rahmat,

    In AX,You can use the path you mentioned to re-index.

    http://dynamicsaxarticles.blogspot.com/2012/11/dynamics-ax-maintenance-re-indexing.html

    In SQL Server Management Studio, you can right-click the index you want to reorganize and select Rebuild.

    38.PNG

    You can read this Doc: https://docs.microsoft.com/en-us/sql/relational-databases/indexes/reorganize-and-rebuild-indexes?view=sql-server-ver15

  • Rvp_ Profile Picture
    89 on at

    so it means, it will same if we do in ax or sql right?

  • Rvp_ Profile Picture
    89 on at

    thank you blue wang

  • Suggested answer
    Satish Panwar Profile Picture
    14,673 Moderator on at

    End result should be same.

  • Suggested answer
    Martin Dráb Profile Picture
    239,451 Most Valuable Professional on at

    In SQL, you have more options (reorganize, rebuild, online rebuilding, parameters) than in SQL.

    Consider using Ola Hallengren's scripts for index maintenance - .it's more clever than just running the same action for every index.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 608

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 591 Super User 2026 Season 1

#3
CP04-islander Profile Picture

CP04-islander 430

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans