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, ...
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,671 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
    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,671 Moderator on at

    End result should be same.

  • Suggested answer
    Martin Dráb Profile Picture
    237,967 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

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
Martin Dráb Profile Picture

Martin Dráb 451 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans