MySQL

Use the following procedure for monitoring the MySQL database.

  1. Navigate to Database monitoring on the left pane.
  2. Select MySQL from the Select database type drop-down list.
  3. Select a service from the Select service drop-down list.
  4. Select a cluster from the Select cluster drop-down list.
  5. Select a node from the Select node drop-down list.

The following screen appears along with the various available tabs.

Mysql

Database hardware

The Database hardware tab is selected by default. The following widgets are displayed.

Mysql database hardware
Widget NameDescription
Host disk usageDisk usage of the host machine where the DB server is running
CPU usagePercentage CPU usage of the DB server in the host machine(Value is zero if the connection is remote or is installed in docker container)
Memory usageTotal memory allocated (being used) by DB server
Network I/OTotal bytes received and sent by DB server(represented in MB)
Total read & writeNo of times DB server read and written from the files (count value)
Total bytes written & readTotal bytes written and read by DB server (represented in bytes)

Query performance

Clicking the Query Performance tab and selecting the threshold from the Query threshold drop-down list displays the following screen.

Oracle query threshold
note

You can download the Query Performance table in PDF format by clicking the    icon. Only the top 100 entries are downloaded if there are more than 100 entries for downloading.

Connections

Clicking the Connections tab displays the following widgets as in the following screen.

Mysql connections
Widget NameDescription
Total threads connectedRepresents the total connections to the DB server (Count)
Total threads runningRepresents the total active connections to the DB server (Count)
Session detailsDetails of all unique users, number of queries the user is currently running, and last active time of the user

Metrics

Clicking the Metrics tab displays the following widgets.

Mysqk metricsMysqk metricsMysqk metrics
Widget NameDescription
Inno DB buffer pool pages dataThis widget is a graph widget which displays the Inno DB buffer pool pages of the selected node.
Inno DB buffer pool pages freeThis widget is a graph widget which displays the Inno DB buffer pool pages freed from memory of the selected node.
Inno DB row lock current waitsThis widget is a graph widget which displays the Inno DB row lock current waits of the selected node.
Inno DB row lock time averageThis widget is a graph widget which displays the Inno DB row lock time average of the selected node.
Inno DB row lock waits per secondThis widget is a graph widget which displays the Inno DB row lock waits per second of the selected node.
Total open filesThis widget is a graph widget which displays the total open files of the selected node.
Total open tablesThis widget is a graph widget which displays the total open tables of the selected node.
Table locks waited per secondThis widget is a graph widget which displays the time period till the table gets unlocked (per second) of the selected node.
Max connection errors per secondThis widget is a graph widget which displays the maximum connection errors per second of the selected node.
Max used connectionsThis widget is a graph widget which displays the maximum connections used of the selected node.
Insert queries per secondThis widget is a graph widget which displays the inserted queries per second of the selected node.
Select queries per secondThis widget is a graph widget which displays the selected queries per second of the selected node.
Prepared stmt count per secondThis widget is a graph widget which displays the prepared statement count per second of the selected node.
Queries per secondThis widget is a graph widget which displays the queries per second of the selected node.
Slow queries per secondThis widget is a graph widget which displays the slow queries per second of the selected node.
Total threads connectedThis widget is a graph widget which displays the total threads connected of the selected node.
Total threads runningThis widget is a graph widget which displays the total threads running of the selected node.