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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Analysis long running SQL queries

(0) ShareShare
ReportReport
Posted on by

Hi team,

 

Please let me the best approach to analysis long running SQL queries.

 

Pls advise the best approach. Thanks 

Categories:
  • Suggested answer
    Subra Profile Picture
    2,478 Super User 2026 Season 2 on at

    Hi @CU10121822-0 

    You can use the application monitoring and telemetery to identify the long running queries.
     

    Thanks,
    Subra

    If this helped, please mark it as "Verified" for others facing the same issue
  • Martin Dráb Profile Picture
    241,515 Most Valuable Professional on at

    What exactly do you mean by to analyze? Do you want to find longest running queries in a certain period or find out why a particular query is slow? Or something else?

     

    Also, which kind of environment are you talking about? E.g. the production, a test sandbox or UDE.

  • André Arnaud de Calavon Profile Picture
    307,889 Super User 2026 Season 2 on at

    Hi,

     

    Your question is too broad. Can you please provide more background information? Are you trying to solve a specific performance issue or is your question theoretical? A performance issue can be caused by long running queries, but also by a lot of smaller queries executed in a loop. Anyway, there are way more root causes for performance degradation. Please elaborate.

  • CU10121822-0 Profile Picture
    on at

    Thanks Martin and Andrea

     

    My question is theoretical and I would like to know if I faced such this kind of issue then what is the best approach to analysis and resolve it.  I may need to work on support project so like to know to answer for my knowledge.

     

    Pls advise thanks 

  • Martin Dráb Profile Picture
    241,515 Most Valuable Professional on at

    Unfortunately, saying just “such this kind of issue” doesn't clarify the topic any better. You'll need to specify of what you actually want. If you can't answer questions asked in my first reply, it must mean that you don't know yet what you want to discuss and your next step should be thinking it through.

  • André Arnaud de Calavon Profile Picture
    307,889 Super User 2026 Season 2 on at

    @CU10121822-0,

    I suggest asking a more specific question in case you encounter a support case in future where people complain about performance. As there can be many different root causes, what to do depends on what exactly is perceived as slow. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 445 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 309 Super User 2026 Season 2

#3
CU29091230-0 Profile Picture

CU29091230-0 192

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans