MySQL Resources Test

This test measures the effect of query execution on the disk and memory resources of the MySQL server.

Target of the test : A MySQL server

Agent deploying the test : An internal/remote agent

Outputs of the test : One set of results for the database being monitored

Configurable parameters for the test
  1. TEST PERIOD – How often should the test be executed
  2. Host – The IP address of the MySQL server
  3. Port – The port on which the server is listening
  4. db – the name of a database on the server
  5. Usernameand password - The eG agent has to be configured with the credentials of a user who has server-wide process and select privileges on the monitored MySQL server. To know how to create such a user, refer to Pre-requisites for Monitoring the MySQL Server topic.
  6. Confirm password – Confirm the password by retyping it here.
Measurements made by the test
Measurement Description Measurement Unit Interpretation

Opened tables:

Indicates the number of tables that were opened during the last measurement period.

Number

If this value is high, then it indicates that the “table_cache” value is probably too small.

Created tmp disk tables:

Indicates the number of implicit temporary tables that were created on the disk, while executing statements during the last measurement period.

Number

If the value for this measure is high, consider increasing the ‘tmp_table_size’ configuration setting for the server.

Created tmp tables:

Indicates the number of implicit temporary tables that were created in the memory created while executing statements during the last measurement period.  

Number