当前位置:Gxlcms > mysql > MuningraphingofMySQL_MySQL

MuningraphingofMySQL_MySQL

时间:2021-07-01 10:21:17 帮助过:21人阅读

While there are many graphing tools out there and we’ve used Munin for a while now.

The MySQL plugin for Munin had fallen out of date and the show engine innodb status output changed in 5.5 making some bits of the plugin simply not work any more. Also the show global status has some extra variables so there was a need to create new graphs.

All of these are now in the 2.1.8 + development releases of Munin.

Here are samples of the new/updated graphs.

mysql2_tables-day

Tables

Munin table definations

Table Definitions

mysql2_innodb_bpool_act-day

Innodb Buffer Pool Activity

mysql_innodb_bpool_internal_breakdown-day

Innodb Buffer Pool Internal Breakdown

Innodb Insert Buffer

Innodb Insert Buffer

mysql_innodb_bpool-day

Innodb Buffer Pool

Innodb Semaphores

Innodb Semaphores

Innodb Master Thread

Innodb Master Thread

mysql_innodb_adaptive_hash-day

Innodb Adaptive Hash Index

Innodb Queries and Transactions

Innodb Queries and Transactions

Innodb Read Views

Innodb Read Views

Innodb Descriptors

Innodb Descriptors

Performance Schema Losses

Performance Schema Losses

Query Cache

Query Cache

Maximum Memory of MySQL

Maximum Memory of MySQL

Rows

Rows

Handler Read

Handler Read

Handler Transaction

Handler Transaction

Handler Write

Handler Write

Handler Temporary Write/Updates

Handler Temporary Write/Updates

mysql2_execution-day

Execution (triggers and events)

mysql_icp-day

Index Condition Pushdown

Multi Range Read Optimizations

Multi Range Read Optimizations

Some of these above graphs may miss a variable or two with MariaDB-10 because of variable name changes. These will be corrected when we get to those. In MariaDB-10 there is useful transition to information schema tables for status information which will make it significantly easier to parse.

Individual buffer pool information also has been parsed out however we haven’t worked out how to graphing this correctly. Also not yet merged is a bunch of Galera graphs which are currently waiting on some Galera provider changes.

We’ll continue to work with the Munin developers to keep this MySQL plugin up to date and useful.

There’s other graphs in the MySQL Munin plugins that we haven’t changed so aren’t included here.

人气教程排行