Built-in Metrics for PostgreSQL-Compatible TiDB Cloud Starter



TiDB Cloud collects and displays a full set of standard metrics of your TiDB resource on the Metrics page. By viewing these metrics, you can easily identify performance issues and determine whether your current database deployment meets your requirements.

View the Metrics page

To view the metrics on the Metrics page, take the following steps:

  1. On the My TiDB page, click the name of your target resource to go to its overview page.

  2. In the left navigation pane, click Monitoring > Metrics.

Metrics retention policy

In TiDB Cloud, the metrics data is kept for 7 days.

Metrics for PostgreSQL-compatible TiDB Cloud Starter Instances

The following sections illustrate the metrics on the Metrics page for PostgreSQL-compatible TiDB Cloud Starter instances.

Metric nameLabelsDescription
Used Storage SizeRow-based storage, Row-based standard storage, Columnar storageThe size of row-based storage, row-based standard storage, and columnar storage. TiDB Cloud displays this metric only when the size of each storage type is 50 MiB or larger. Row-based standard storage has the same meaning as Row-based storage.
Query Per SecondAll, {SQL type}The number of SQL statements executed per second, which are collected by SQL types, such as SELECT, INSERT, and UPDATE.
Query DurationAvg, P99, P99-{SQL type}The duration from receiving a request from the client to the TiDB Cloud Starter instance until the instance executes the request and returns the result to the client.
Total ConnectionAllThe number of connections to the TiDB Cloud Starter instance.

FAQ

1. Why are some panes empty on this page?

Check that the selected time range includes activity on your instance. If the charts remain empty, contact PingCAP Support for troubleshooting.

2. Why might metrics be discontinuous in rare cases?

In some rare cases, metrics might be lost, such as when the metrics system experiences high pressure.

If you encounter this problem, you can contact PingCAP Support for troubleshooting.

Was this page helpful?