This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Does Top SQL collected data has minimum duration limitation?

Could someone help me to understand what SQL Sentry collected Top SQL (completed queries), does the service only collect something execution elapse over particular threshold?

Parents
  • Only queries with duration longer than 5 seconds are captured in Top SQL by default. You can change this threshold via Settings -> SQL Server -> Top SQL -> Collection Settings -> Minimum Duration.

  • Thanks for the comments.

    We configured SQL Sentry Collection Setting by default, which is elapse time over 5 seconds.

    But what "misleading" our people, that in Procedure Stats tab, we could see AVG Duration under 5 seconds.

    After searching for the Procedure Stats tab background process, it seems extract elapse time from ProcedureStatsHistory table, could you also please advise how this table data being populated for total elapse time?

    Great appreciate if you could resolve our confusion.

Reply
  • Thanks for the comments.

    We configured SQL Sentry Collection Setting by default, which is elapse time over 5 seconds.

    But what "misleading" our people, that in Procedure Stats tab, we could see AVG Duration under 5 seconds.

    After searching for the Procedure Stats tab background process, it seems extract elapse time from ProcedureStatsHistory table, could you also please advise how this table data being populated for total elapse time?

    Great appreciate if you could resolve our confusion.

Children