Lock statistics


Job details

Name: Lock statistics
Platform: Mysql
Category: Performance
Description: Collects lock statistics
Long description: This task collects lock data statistics
Version: 2.11
Default schedule: 55,25 * * *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & is_mysql_branch=‘1′]/.[hasengine=‘YES’ & global_status_performance_schema = ‘0′ & global_status_information_schema = ‘1′ ]

Parameters

Name Default value Description
keep data for 7 The number of days to keep the data for.

Job Summary

SELECT VARIABLE_VALUE FROM information_schema.GLOBAL_STATUS 
    WHERE VARIABLE_NAME IN ('TABLE_LOCKS_IMMEDIATE', 'TABLE_LOCKS_WAITED', 
                            'INNODB_ROW_LOCK_TIME', 'INNODB_ROW_LOCK_TIME_AVG',  
                            'INNODB_ROW_LOCK_WAITS'); 

Detailed Description

Cleanup and Dependencies

Report