2022-08-28 13:53:52 +00:00
---
2022-08-28 13:58:27 +00:00
slug: /en/operations/system-tables/asynchronous_metric_log
2022-08-28 13:53:52 +00:00
---
2022-06-02 10:55:18 +00:00
# asynchronous_metric_log
2020-06-18 08:24:31 +00:00
2024-04-07 19:32:40 +00:00
Contains the historical values for `system.asynchronous_metrics` , which are saved once per time interval (one second by default). Enabled by default.
2020-07-23 12:15:01 +00:00
Columns:
2023-11-27 15:52:25 +00:00
- `hostname` ([LowCardinality(String)](../../sql-reference/data-types/string.md)) — Hostname of the server executing the query.
2023-04-19 15:55:29 +00:00
- `event_date` ([Date](../../sql-reference/data-types/date.md)) — Event date.
- `event_time` ([DateTime](../../sql-reference/data-types/datetime.md)) — Event time.
2023-08-22 21:29:05 +00:00
- `metric` ([String](../../sql-reference/data-types/string.md)) — Metric name.
2023-04-19 15:55:29 +00:00
- `value` ([Float64](../../sql-reference/data-types/float.md)) — Metric value.
2020-07-23 12:15:01 +00:00
**Example**
``` sql
2023-11-15 02:22:36 +00:00
SELECT * FROM system.asynchronous_metric_log LIMIT 3 \G
2020-07-23 12:15:01 +00:00
```
``` text
2023-11-15 02:22:36 +00:00
Row 1:
──────
hostname: clickhouse.eu-central1.internal
event_date: 2023-11-14
event_time: 2023-11-14 14:39:07
metric: AsynchronousHeavyMetricsCalculationTimeSpent
value: 0.001
Row 2:
──────
hostname: clickhouse.eu-central1.internal
event_date: 2023-11-14
event_time: 2023-11-14 14:39:08
metric: AsynchronousHeavyMetricsCalculationTimeSpent
value: 0
Row 3:
──────
hostname: clickhouse.eu-central1.internal
event_date: 2023-11-14
event_time: 2023-11-14 14:39:09
metric: AsynchronousHeavyMetricsCalculationTimeSpent
value: 0
2020-07-23 12:15:01 +00:00
```
**See Also**
2021-07-29 15:20:55 +00:00
- [system.asynchronous_metrics ](../system-tables/asynchronous_metrics.md ) — Contains metrics, calculated periodically in the background.
2020-07-26 21:43:03 +00:00
- [system.metric_log ](../system-tables/metric_log.md ) — Contains history of metrics values from tables `system.metrics` and `system.events` , periodically flushed to disk.