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)

Current Operations query performance.

(1) ShareShare
ReportReport
Posted on by 19

Hi All,

 

Our manufacturing users are experiencing slow performance when opening "Current operations" form in AX 2012. when I started analyzing this issue, we don't have any customizations around this including underlying tables and views, queries. so copied the query generated by AX and ran the same in SQL server management studio and observe the same issue.

 

When I ran the SQL query generated by AX it took ~20 seconds. The SQL query generated by AX has hinted with "OPTION(fast 10)" when I change the hint from OPTION(fast 10) to OPTION(hash join) the query ran quickly in less than 1 second. I am unable to find a similar option from AX. Can somebody please reply, is it possible to implement hash from AX if yes how to do this.

SQL screenshots of both options.

pastedimage1565627132464v1.png

pastedimage1565627185519v2.png

Thanks,

Ram.

*This post is locked for comments

I have the same question (0)
  • Blue Wang Profile Picture
    Microsoft Employee on at

    Hi Ram,

    60.PNG

    0474.PNG

    More details ,please refer https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/dev-ref/xpp-data-query

  • Ram Mnt Profile Picture
    19 on at

    Hi Wang,

    Here, in this case, we are not using select statement, we are fetching data using AOT/queries object.

    Thanks,

    Ram.

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

#1
CP04-islander Profile Picture

CP04-islander 24

#2
Michel ROY Profile Picture

Michel ROY 14

#3
Jagadabi Profile Picture

Jagadabi 6

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans