MySQL Server Table Lock Contention Percent Monitor Monitor

  • ID:  Microsoft.MySQLServer.ManagedServer.Unix.TableLockContentionPct.Monitor
  • Description:  MySQL Server Table Lock Contention Percent Monitor
  • Target:  Monitored MySQL Server (Linux)
  • Enabled:  On Standard Monitoring

Operational States

Name State Description
Under Threshold Success Under Threshold
Over Warning Threshold Warning Over Warning Threshold
Over Error Threshold Error Over Error Threshold

Overridable Parameters

Parameter Name Default Value Description Override
Interval 300 Interval in seconds
Number of Samples 3 Number of Samples
Warning Threshold 45 Warning Threshold
Error Threshold 55 Error Threshold

Alert Details

Monitor State Message Priority Severity Auto Resolution
Over Warning Threshold (Warning) MySQL Server Table Cache Lock Contention Percent Medium Match Monitor Health Yes

Run As Profiles

Name
Default

Monitor Knowledgebase

Summary

The percentage of number of waits to gain a lock on the MyISAM table versus the number of locks requested. MySQL uses table-level locking for MyISAM, MEMORY, and MERGE tables. The monitor threshold is analyzed against an average of values returned in polls to the agent where the Number of Samples parameter controls the number of samples included in the calculation of the average.

Causes

An unhealthy state indicates the percentage of table lock contention is high. The amount of waits required before a table lock is granted is too high.

Resolutions

To address high table lock contention percent try the possible options:

  • Use InnoDB as main table storage engine, which only uses row level locking

  • Insert rows into a temporary table temp_table and then update the real table periodically

External References
This monitor does not contain any external references.

See Also for Open Source Software Preview Management Pack


Downloads for Open Source Software Preview Management Pack

AZURE OPTIMIZATION ASSESSMENT GET STARTED
MIGRATION TO AZURE GET STARTED
SYSTEM CENTER MIGRATION TO AZURE GET STARTED
MIGRATION TO AZURE FOR SQL AND WINDOWS 2008 GET STARTED