Sign InTry Free

Monitor a TiDB Cluster

This document describes how to monitor a TiDB cluster on TiDB Cloud.

Cluster status and node status

You can see the current status of each running cluster on the cluster page.

Cluster Status

Cluster statusDescription
AVAILABLEThe cluster is healthy and available.
CREATINGThe cluster is being created. The cluster is inaccessible while it is being created.
IMPORTINGImporting data into the cluster.
MODIFYINGThe cluster is being modified.
UNAVAILABLEThe cluster has failed and TiDB cannot recover it.
PAUSEDThe cluster is paused.
RESUMINGThe cluster is resuming from a pause.
RESTORINGThe cluster is currently being restored from a backup.

TiDB node status

TiDB node statusDescription
NormalNormal running
CreatingCreating the node
UnavailableThe TiDB node is not available
TerminatingThe TiDB node is terminating

TiKV node status

TiKV node statusDescription
NormalNormal running
CreatingCreating the node
UnavailableThe TiKV node is not available
TerminatingThe TiKV node is terminating
LeavingMigrating the current node data before termination

Monitoring metrics

In TiDB Cloud, you can view the commonly used metrics of a cluster from the following pages:

  • Cluster overview page
  • Cluster monitoring page

Metrics on the cluster overview 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.

To view metrics on the cluster overview page, take the following steps:

  1. Navigate to the Clusters page.

  2. Click the name of a cluster to go to its cluster overview page.

Metrics on the cluster monitoring 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.

To view metrics on the cluster monitoring page, take the following steps:

  1. Navigate to the Diagnosis tab of a cluster.

  2. Click the Monitoring tab.

For more information, see Built-in Monitoring.

Download PDFRequest docs changes
Was this page helpful?
Open Source Ecosystem
TiDB
TiKV
TiSpark
Chaos Mesh
© 2022 PingCAP. All Rights Reserved.