title | summary |
---|---|
Monitor a TiDB Cluster |
Learn how to monitor your TiDB cluster. |
This document describes how to monitor a TiDB cluster on TiDB Cloud.
You can see the current status of each running cluster on the cluster page.
Cluster status | Description |
---|---|
Available | The cluster is healthy and available. |
Creating | The cluster is being created. The cluster is inaccessible while it is being created. |
Importing | Importing data into the cluster. |
Maintaining | The cluster is in maintenance. |
Modifying | The cluster is being modified. |
Unavailable | The cluster has failed and TiDB cannot recover it. |
Pausing | The cluster is being paused. |
Paused | The cluster is paused. |
Resuming | The cluster is being resumed from a pause. |
Restoring | The cluster is currently being restored from a backup. |
Note:
The TiDB node status is only available for TiDB Cloud Dedicated clusters.
TiDB node status | Description |
---|---|
Available | The TiDB node is healthy and available. |
Creating | The TiDB node is being created. |
Unavailable | The TiDB node is not available. |
Deleting | The TiDB node is being deleted. |
Note:
The TiKV node status is only available for TiDB Cloud Dedicated clusters.
TiKV node status | Description |
---|---|
Available | The TiKV node is healthy and available. |
Creating | The TiKV node is being created. |
Unavailable | The TiKV node is not available. |
Deleting | The TiKV node is being deleted. |
In TiDB Cloud, you can view the commonly used metrics of a cluster from the following pages:
- Cluster overview page
- Cluster monitoring page
The cluster overview page provides general metrics of a cluster, including total QPS, query duration, active connections, TiDB CPU, TiKV CPU, TiFlash CPU, TiDB memory, TiKV memory, TiFlash memory, TiKV used storage size, and TiFlash used storage size.
Note:
Some of these metrics might be available only for TiDB Cloud Dedicated clusters.
To view metrics on the cluster overview page, take the following steps:
-
Navigate to the Clusters page.
-
Choose the target project and click the name of a cluster to go to its cluster overview page.
The cluster monitoring page provides a full set of standard metrics of a cluster. By viewing these metrics, you can easily identify performance issues and determine whether your current database deployment meets your requirements.
Note:
Currently, the cluster monitoring page is unavailable for TiDB Cloud Serverless clusters.
To view metrics on the cluster monitoring page, take the following steps:
- On the Clusters page of the target project, click the name of the target cluster. The cluster overview page is displayed.
- Click Monitoring in the left navigation pane.
For more information, see Built-in Monitoring.