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 :
Microsoft Dynamics AX (Archived)

Index with include columns in AX 2009

(0) ShareShare
ReportReport
Posted on by 1,559

Hi Friends,

We are on AX 2009, since it can't have index with include columns, so we created those indices outside of AX, but, every time we sync table, it will be removed, then we have to re-create it again.

Now, we want to just create regular index in AX by simply add those included columns into AX index, since people think, performance wise, it won't have big impact.  I have some doubts about it.

Can someone with experience shred some lights on it?

Many thinks,

River

*This post is locked for comments

I have the same question (0)
  • Verified answer
    André Arnaud de Calavon Profile Picture
    303,085 Super User 2026 Season 1 on at

    Hi Ganriver,

    In AX2009 there is no support for included columns on indexes from within the AOT. If you add fields to the index without this keyword in AX2009 it will cause more defragmentation of indexes and possible slower read/writes. But that is also depending on the number of records and the usage.

    Now there is a blog where there are some tips how to add the include keyword after the regular AX synchronization. Have a look at it. This might be your solution: daxdilip.blogspot.nl/.../tip-how-to-avoid-overriding-of-sql.html

  • Verified answer
    Mea_ Profile Picture
    60,286 on at

    Adding new fields into an index its always tricky question. You  can look at SQL DMV to analyze read\write correlation, because if it is heavily updated and rare read you won't get performance increase.

    From another side if you really want to have included columns you can modify Application.dbSynchronize() method to put them back on sync, you will find some code already there that creates store procs and triggers.

    EDITED:

    While I was typing Andre gave better explanation :) 

  • Ganriver1 Profile Picture
    1,559 on at

    Thanks a lot, Guys.

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Pratik Bhosle Profile Picture

Pratik Bhosle 2

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans