Informix Long Running Queries Test

This test reports the time taken by each database for executing queries, and also reveals which query is taking too long to execute. This way, resource-intensive queries to a database can be quickly isolated.

Target of the test : A Informaix Dynamic Server

Agent deploying the test : An internal agent

Outputs of the test : One set of results for each database on the Informix server monitored.

Configurable parameters for the test
Parameters Description

Test Period

This indicates how often should the test be executed.

Host

The IP address of the Informix Dynamic server.

Port

The port number at which the specified host listens to.

Instance

The Informix server instance being monitored.

User

A valid Informix user name.

Password

The password corresponding to the above user.

Confirm Password

Confirm the Password by retyping it here.

DBLocale

Specify the language/locale in which your database is installed. This will allow you to return the query in the language supported by your database. By default this attribute is set to “none”, which means that by default, queries are returned in the English locale.

ClientLocale

Specify the language/locale in which the eG agent is running. Normally, when you use an internal agent to monitor Informix, the ClientLocale and DBLocale will be same. However, the ClientLocale may differ when you are monitoring the Informix tests using a remote agent (agentless monitoring). By default, the ClientLocale is set to “none”, indicating that the eG agent runs in the English locale, by default.

Elapsed Time
(Seconds)

In the Elapsed Time text box, specify the duration (in seconds) for 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 suite 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

The number of queries currently executing on the database server that have been running for more time than the configured Elapsed Time.

Number

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.

Max elapsed time

Indicates the maximum time taken by the queries to execute on the database server.

Seconds