The following content of this documentation page has been machine-translated. But unlike other websites, it is not done on the fly. This translated text lives on GitHub repository alongside main ClickHouse codebase and waits for fellow native speakers to make it more human-readable.

    系统。指标

    包含可以立即计算或具有当前值的指标。 例如,同时处理的查询的数量或当前副本的延迟。 此表始终是最新的。

    • () — Metric name.
    • value (Int64) — Metric value.
    • description () — Metric description.

    支持的指标列表,您可以在 src/Common/CurrentMetrics.cpp ClickHouse的源文件。

    1. ┌─metric─────────────────────┬─value─┬─description──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
    2. Query 1 Number of executing queries
    3. PartMutation 0 Number of mutations (ALTER DELETE/UPDATE)
    4. ReplicatedFetch 0 Number of data parts being fetched from replicas
    5. ReplicatedSend 0 Number of data parts being sent to replicas
    6. ReplicatedChecks 0 Number of data parts checking for consistency
    7. DiskSpaceReservedForMerge 0 Disk space reserved for currently running background merges. It is slightly more than the total size of currently merging parts.
    8. DistributedSend 0 Number of connections to remote servers sending data that was INSERTed into Distributed tables. Both synchronous and asynchronous mode.
    9. └────────────────────────────┴───────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

    另请参阅

    • — Contains periodically calculated metrics.
    • 系统。活动 — Contains a number of events that occurred.
    • — Base concepts of ClickHouse monitoring.