Progress Long Running Queries Test

For each user auto-discovered on the target database server, this test tracks the currently executing queries and determines the number of queries that have been running for a long time. This test also tracks the maximum time taken to execute the queries. You can also use the detailed diagnosis of this test to drill down to the exact queries that have been running for an unreasonably long time, and thus isolate the user executing the resource-intensive queries to the database.

Target of the test : A Progress Database server

Agent deploying the test : An internal/external agent

Outputs of the test : One set of results for each user on the target database server

Configurable parameters for the test
Parameter Description

Test Period

How often should the test be executed


The IP address of the Progress database server.


The port number on which the database server is listening. By default, this is NULL.

Database Name

Specify the name of the Progress database instance that is to be monitored.


In order to monitor a Progress database instance, a special database user account has to be created in every Progress database instance that requires monitoring. This special user needs to be granted a set of privileges. To know how to create the database user and grant the required privileges, refer to Pre-Requisites for monitoring the Progress database. Specify the name of such a user in this text box.


The password of the specified Username.

Confirm Password

Confirm the password by retyping it here.

Elapsed Time

In the Elapsed Time text box, specify the duration (in seconds) beyond which a query should have executed for it to be regarded as a long running query. The default value is 10.

Detailed Diagnosis

To make diagnosis more efficient and accurate, the eG Enterprise embeds an optional detailed diagnostic capability. With this capability, the eG agents can be configured to run detailed, more elaborate tests as and when specific problems are detected. To enable the detailed diagnosis capability of this test for a particular server, choose the On option. To disable the capability, click on the Off option.

The option to selectively enable/disable the detailed diagnosis capability will be available only if the following conditions are fulfilled:

  • The eG manager license should allow the detailed diagnosis capability
  • Both the normal and abnormal frequencies configured for the detailed diagnosis measures should not be 0.
Measurement made by the test
Measurement Description Measurement Unit Interpretation

Long running queries

Indicates the number of queries currently executing (for this user) on the database server that have been running for more time than the configured Elapsed Time.


The detailed diagnosis for this measure indicates the exact queries and which user is executing the queries. This information can be very useful in identifying queries that may be candidates for optimization.

By comparing the value of this measure across the users, administrators can identify the user who is executing the most number of resource intensive queries.

Max elapsed time

Indicates the maximum duration taken to execute the queries by this user.