Gathering Statistics on Long Running DB Queries

Gathering Statistics on Long Running DB Queries

Comments

  • [font=Roboto, Arial, Helvetica, sans-serif]Is it possible to gain statistics on long-running DB queries, such as more than 1 second?[/font]

  • [font=Roboto, Arial, Helvetica, sans-serif]You can change the time threshold for logging SQL calls by navigating to Event Viewer in System/Administration/System Tools and clicking The Capture SQL Calls button. [/font]
    [font=Roboto, Arial, Helvetica, sans-serif]Changing this to 1 second means that every call longer than 1 second will be logged. This can also be changed by editing the Settings.xml file in C:Program FilesDecisionsDecisions Services Manager. [/font]
    [font=Roboto, Arial, Helvetica, sans-serif]
    [/font]
    [font=Roboto, Arial, Helvetica, sans-serif]This documentation also describes this process: [/font][url=https://documentation.decisions.com/logging-settings/]https://documentation.decisions.com/logging-settings/[/url].[font=Roboto, Arial, Helvetica, sans-serif] [/font]
    [font=Roboto, Arial, Helvetica, sans-serif]
    [/font]
    [font=Roboto, Arial, Helvetica, sans-serif]Additionally, you can specify the database logs to get created in their own file by editing the LogCategorySettings.xml file.[/font]

Sign In or Register to comment.