Instance memory statistics


Job details

Name: Instance memory statistics
Platform: Mysql
Category: Performance
Description: Collects instance memory statistics.
Long description: Collects instance memory statistics.
Version: 1.1
Default schedule: 10,30,50 * * *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & is_mysql_branch=‘1′]/.[hasengine=‘YES’ & use_global_variables_information_schema = ‘1′ ]

Parameters

Name Default value Description
history threshold 7 The maximum number of day to kept statistics for in the historic tables.

Job Summary

SELECT * FROM dbw_instance_memory_statistics_histr
SELECT * FROM dbw_instance_memory_statistics_last
SELECT * FROM dbw_instance_memory_statistics_mode

Tables Summary

The following tables are created and manipulated by the task:

Dependency Summary

The task has dependencies on the following objects:

Reports

A report is generated based on the data collected by the task. The report includes information about the memory setup of the MySQL server, static memory, thread memory, in-memory tables, and memory usage history. The report can be used to monitor and optimize memory utilization.

For example, the ‘Thread memory’ section of the report indicates the memory allocated per connection to the MySQL server, which can be useful for performance tuning. The ‘In-memory tables’ section describes the use and interaction of ‘max_heap_table_size’ and ‘tmp_table_size’ in creating in-memory tables.

The ‘Memory usage history’ provides a tabulated and graphical representation of the total, static, thread, heap, and tmp tables memory over time which can be beneficial in spotting patterns and trends. The memory is measured in MB and the times are represented in hourly intervals.