Monitoring meaning
1 assist DBA historical stage and troubleshooting
Recording trends
Monitoring target
1 Be sure to get to know the meaning of each monitored item
2 that the monitored item is fine without multiple
3 linux page mysql monitor a page related to a health monitoring items Summary
Watched Item
1 TPS volume of transactions per second
2 QPS queries per second
3 uptime uptime
4 connections
1 total maximum number of connections
2 used the maximum number of connections has been used
5 thread
Connector 1 thread_created running + sleep state
2 thread_running running state of the connection
6 TPS refinement
insert / update / delete classification statistics for different transaction operations
7 tempoary
1 disk_file create temporary files on the disk
Create a temporary table 2 table
8 slow-query log slow curve
9 aborted conn
aborted_connections interrupted connection
aborted_client interrupted client
10 table_locks
table_locks_immediate table lock (not waiting)
table_locks_wait table lock (wait)
11 network_bytes
1 out 2 in mysql traffic level based import and export statistics
12 table_define_1
Number 1 open tables open table handle
Table 2 open tables define the number of cache predefined handle
13 table_define_2
1 table_open_cache_misses number of open tables misses
2 Misses due to Overflows overflow number
13 file related
1 open_file mysql level of the number of open files
2 file_limit mysql-level open file limit on the number of
14 thread
1 thread_cache_size threads share cache size
The number of threads 2 thread_cached cache
15 Handler state
Transaction handler
commit|rollback|savepoint.*|prepare状态
Query handler
Non-commit | rollback | savepoint * |. Prepare state
Handler_read_next (primary concern)
Handler_read_rnd_next said, "The number of requests to read the next row in the data file. If you are scanning a large number of tables, the higher the value. Your table index usually indicates an incorrect or written queries do not use the index.