Agents Administration - Tests
 

Default Parameters for MySQLTabLcWaitTest

Table locking enables many sessions to read from a table at the same time, but if a session wants to write to a table, it must first get exclusive access, meaning it might have to wait for other sessions to finish with the table first. During the update, all other sessions that want to access this particular table must wait until the update is done. Table locking causes problems when a session is waiting because the disk is full and free space needs to become available before the session can proceed. In this case, all sessions that want to access the problem table are also put in a waiting state until more disk space is made available. if the number of lock waits grows over time, it will consequently increase the length of the pending requests queue; a long request queue may not only cause the unnecessary erosion of valuable server resources, it may also choke the database server, thereby significantly impacting the quality of the user experience with the server. It is therefore imperative that the lock wait events are monitored, and issues related to such events immediately brought to the attention of administrators.

This test monitors the table lock wait events, and promptly alerts administrators to a sudden/steady increase in the number and duration of such events.

This page depicts the default parameters that need to be configured for the MySQLTabLcWaitTest.

  • The TEST PERIOD list box helps the user to decide how often this test needs to be executed.

  • Specify the name of a database on the target MySQL database server being monitored in the DATABASE textbox.

  • 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 Configuring the eG Agent with Access Privileges topic. Specify the credentials of such a user in the USERNAME and PASSWORD textboxes.

  • Confirm the password by retyping it in the CONFIRM PASSWORD textbox.

  • By default, the detailed diagnosis of this test, if enabled, will report only the top-10 tables. This is why, the DD ROW COUNT parameter is set to 10 by default. If you want to include more or less tables in detailed diagnosis, then change the value of this parameter accordingly.

  • Once the necessary values have been provided, clicking on the UPDATE button will register the changes made.

When changing default configurations of tests, the values with “$” indicate variables that will be replaced by the eG system according to the specific server being managed - for instance, $hostName is the host/nickname of the target host, $port is the port number of the server being monitored. E.g., for a server xyz:80, $hostName will be changed automatically by the eG manager to “xyz*” and $port will be changed to “80” when configuring a test.