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

Slow loading sales forms and report timeouts

(0) ShareShare
ReportReport
Posted on by 6,609

Good morning,

We've been having some issues over the last few days with performance issues in specific areas of AX. A few examples, S&M Delayed shipments, S&M Backorder lines, some Sales-related reports. The AX menus typically will load but can take up to 3 - 4 minutes, while the effected reports often will timeout. And to be clear, these have not been issues in the past. There appear to be no issues with server resources, they all seem to be running in the normal ranges. 

Any suggestions would be appreciated.

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    237,884 Most Valuable Professional on at

    If there was no problem with any resource, well, there wouldn't be any problem. You have to continue until you find the problem. Only then you can fix it.

    I would check the database server (slow queries, waits etc.), trace one of the slow processes and analyze it in Trace Parser. I would expect that you have a problem with database queries to a certain table, but it's hard to guess. It's better to work with data than with guessing.

  • Vilmos Kintera Profile Picture
    46,149 on at

    Do you have proper, regular SQL database index and statistics maintenance for your AX environment?

    If the answer is no, then that is your problem.

    If yes, then it could be a whole range of other things. Antivirus, IO or network bottleneck between AX, SQL and your storage, or a process which is running in the background that hogs your resources (large report printout, or financial postings).

  • Suggested answer
    Hajish Profile Picture
    460 on at

    I agree with above(reindexing proccess as Mr.Vilmos Kintera suggested ) and also check sql and ax server is in high performance power mode.

  • bankk Profile Picture
    6,609 on at

    Hello,

    We do have a SQL plan for index maintenance. I'm not all that familiar with the details but I just realized that the job attached to that maintenance failed a few days ago. Could something like that have cause SQL to degrade over the last 5 days?

    Thank you.

  • Hajish Profile Picture
    460 on at

    Check log file and also tempdb size.

    Make sure the db(data and log ) have enough space to grow in disk.

  • bankk Profile Picture
    6,609 on at

    Hajish, I have checked all those areas. Nothing there which sticks out as points of concern. Thank you.

  • André Arnaud de Calavon Profile Picture
    301,035 Super User 2025 Season 2 on at

    If the SQL maintenance plan fails, it could indeed slow down AX as indexes can get fragmented. If a newer job did not fail, the maintenance should be OK again.

    Do you have virtualized machines? If so, check on the host if there are possible slow I/O measurements or over-allocating of hardware resources.

  • bankk Profile Picture
    6,609 on at

    Good morning,

    The issue self-corrected last weekend but all of a sudden resurfaced this past weekend. No failure in the index maintenance this time, and the VMs look healthy as they did with the last occurrence.

  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    You must capture the SQL Statement's Execution plan by running the process that you perceive as slow and then monitor the database execution of it (sp_axwho stored procedure on your AX Database, or SQL Profiler, etc.). Then capture it again when it is slow.

    If you see that it times out, then you could improve your query plan by checking the underlying table indexes if they are correctly covered, or simplify the AX query/select statement to have less joins and avoid a Query plan execution timeout (like I explained on the blog a similar case: www.daxrunbase.com/.../improve-ax-performace-by-fixing-bad-query-plans)

    If you see that there are different query plans running, you have to create an SQL Plan Guide for when it is running fast to "pin" that version, then your problem will never come back again with this problem.

    As your AX database table changes over time, the statistics get out of date, and when you do a maintenance with full scan, it essentially forces SQL Server to recalculate the query execution plans, which you could avoid with a plan guide.

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

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Sukrut Parab Profile Picture

Sukrut Parab 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans