system.clusters

    Columns:

    • (String) — The cluster name.
    • shard_num (UInt32) — The shard number in the cluster, starting from 1.
    • shard_weight (UInt32) — The relative weight of the shard when writing data.
    • replica_num (UInt32) — The replica number in the shard, starting from 1.
    • host_name (String) — The host name, as specified in the config.
    • host_address (String) — The host IP address obtained from DNS.
    • port (UInt16) — The port to use for connecting to the server.
    • user (String) — The name of the user for connecting to the server.
    • errors_count (UInt32) - number of times this host failed to reach replica.
    • estimated_recovery_time (UInt32) - seconds left until replica error count is zeroed and it is considered to be back to normal.

    See also

    1. cluster: test_cluster
    2. shard_num: 1
    3. shard_weight: 1
    4. replica_num: 1
    5. host_name: clickhouse01
    6. host_address: 172.23.0.11
    7. port: 9000
    8. is_local: 1
    9. user: default
    10. default_database:
    11. errors_count: 0
    12. estimated_recovery_time: 0
    13. cluster: test_cluster
    14. shard_num: 1
    15. shard_weight: 1
    16. replica_num: 2
    17. host_name: clickhouse02
    18. host_address: 172.23.0.12
    19. port: 9000
    20. is_local: 0
    21. user: default
    22. default_database:
    23. errors_count: 0
    24. estimated_recovery_time: 0