> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-fix-nav-issues.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> 一定の時間間隔（デフォルトでは 1 秒）ごとに保存される `system.asynchronous_metrics` の履歴値を含むシステムテーブル

# system.asynchronous_metric_log

<Info>
  **ClickHouse Cloud でのクエリ**

  このシステムテーブルのデータは、ClickHouse Cloud の各ノードにローカルに保持されています。したがって、すべてのデータを完全に把握するには、`clusterAllReplicas` 関数を使用する必要があります。詳細については、[こちら](/ja/reference/system-tables/overview#system-tables-in-clickhouse-cloud)を参照してください。
</Info>

<div id="description">
  ## 説明
</div>

`system.asynchronous_metrics` の過去の値が格納されます。これらの値は一定間隔ごとに 1 回保存されます (デフォルトでは 1 秒) 。デフォルトで有効です。

<div id="columns">
  ## カラム
</div>

* `hostname` ([LowCardinality(String)](/ja/reference/data-types/lowcardinality)) — クエリを実行するサーバーのホスト名。
* `event_date` ([Date](/ja/reference/data-types/date)) — イベントの日付。
* `event_time` ([DateTime](/ja/reference/data-types/datetime)) — イベントの時刻。
* `metric` ([LowCardinality(String)](/ja/reference/data-types/lowcardinality)) — メトリクス名。
* `value` ([Float64](/ja/reference/data-types/float)) — メトリクスの値。

<div id="example">
  ## 例
</div>

```sql theme={null}
SELECT * FROM system.asynchronous_metric_log LIMIT 3 \G
```

```text theme={null}
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
```

**関連項目**

* [asynchronous\_metric\_log setting](/ja/reference/settings/server-settings/settings#asynchronous_metric_log) — 設定の有効化と無効化。
* [system.asynchronous\_metrics](/ja/reference/system-tables/asynchronous_metrics) — バックグラウンドで定期的に計算されるメトリクスを含みます。
* [system.metric\_log](/ja/reference/system-tables/metric_log) — `system.metrics` および `system.events` テーブルのメトリクス値の履歴を含み、定期的にディスクにフラッシュされます。
