Performance diagnostics in Managed Service for ClickHouse®
Managed Service for ClickHouse® allows you to collect performance metrics of queries in a cluster.
Enabling statistics collection
Getting query statistics
-
In the management console
, select the folder the cluster is in. -
Navigate to Managed Service for ClickHouse.
-
Click the cluster name and select the
Performance diagnostics tab.To view query history or statistics, select the relevant tab. The data is displayed for the selected time period.
-
Optionally, add query filters:
- Select hosts.
- Select users.
- Select query result:
QueryFinish,ExceptionBeforeStart, orExceptionWhileProcessing. - Select query type.
-
To view query info, select the query of interest in the History tab. This will open the query page.
For queries of 5 seconds and longer, the following charts will be displayed:
- Chart CPU: CPU usage.
- Chart memory: RAM usage.
- Chart rows: Number of rows read and added via the query.
- Chart bytes: Amount of data read and added via the query, in bytes.
Getting query group statistics
-
In the management console
, select the folder the cluster is in. -
Navigate to Managed Service for ClickHouse.
-
Click the cluster name and select the
Performance diagnostics tab. -
Navigate to the Query groups tab.
The page displays unique queries for the selected time period.
-
Optionally, add query filters:
- Select hosts.
- Select users.
- Select query result:
QueryFinish,ExceptionBeforeStart, orExceptionWhileProcessing. - Select query type.