Documentation Index
Fetch the complete documentation index at: https://private-7c7dfe99-page-updates.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Querying in ClickHouse CloudThe data in this system table is held locally on each node in ClickHouse Cloud. Obtaining a complete view of all data, therefore, requires the
clusterAllReplicas function. See here for further details.Description
Contains history of metrics values from tablessystem.metrics and system.events, periodically flushed to disk.
Columns
hostname(LowCardinality(String)) — Hostname of the server executing the query.event_date(Date) — Event date.event_time(DateTime) — Event time.event_time_microseconds(DateTime64) — Event time with microseconds resolution.
Example
<schema_type>. The default schema type is wide, where each metric or profile event is stored as a separate column. This schema is the most performant and efficient for single-column reads.
The transposed schema stores data in a format similar to system.asynchronous_metric_log, where metrics and events are stored as rows. This schema is useful for low-resource setups because it reduces resource consumption during merges.
See Also
- metric_log setting — Enabling and disabling the setting.
- system.asynchronous_metrics — Contains periodically calculated metrics.
- system.events — Contains a number of events that occurred.
- system.metrics — Contains instantly calculated metrics.
- Monitoring — Base concepts of ClickHouse monitoring.