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, ...
Unanswered

AX - slow despite near 0 database utilization

(0) ShareShare
ReportReport
Posted on by
Hi. I am amidst AX upgrade project. 

OS is getting upgraded from 2012 to 2016, SQL server is upgraded from 2012 business intelligence edition to 2016 standard. AX should be 2012 CU9. Operating systems as well as SQL servers have received necessary updates. 
 
As a MS SQL specialist, I have been invited over to tell why AX is slow. I have no access to AX part, however when monitoring database, while running tasks that are reported as slow, the database resource utilization is constantly low - around 2-4% with no peaks whatsoever. 
 
On the side of the database, I have tried everything possible including playing with MAXDOP despite MSFT recommendation, changing compat levels, enabling trace flag T4199 with no obvious pattern in terms of improvement or worsening after database settings change. All these observations (low utilization, no change in AX task runtimes after DB server settings change, ... ) lead me to conclusion that problems lies within AX, not a database. A SQL query that runs on old database server in 55 seconds is executed in 16-21 seconds on the new database server. 

Are there any general areas to check to make AX put some load on the database server, in hope of tasks finishing faster? 

Thanks

 
Categories:
I have the same question (0)
  • Jonas "Jones" Melgaard Profile Picture
    4,965 Most Valuable Professional on at
    It might not be related to SQL Server, but rather the application servers or how the clients have been configured. A performance project requires a holistic review of the entire application, as you said.

    Denis Trunin has written some great articles on optimizing Dynamics AX, from running a performance project to optimizing SQL performance. This article is a good entry point: https://denistrunin.com/performance-projmanage/

    That said, 16–21 seconds feels a bit excessive… How often does this query run?
  • André Arnaud de Calavon Profile Picture
    301,009 Super User 2025 Season 2 on at
    Hi,
     
    As mentioned by Jonas, there can be a lot of root causes of slowness. A query of 55 seconds is possible, but can you tell what exactly is being performed in AX itself? Using several performance tools, it can be identified what exactly is slow. Only then choose to check for database tuning or other mitigation options,

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 659 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 289 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans