Skip to content
ClickHouse Docs
ClickHouse DocsClickHouse Docs

distributed_replica_* session settings

These settings are available in system.settings and are autogenerated from source.

distributed_replica_error_cap

Type
UInt64
Default
1000
  • Type: unsigned int
  • Default value: 1000

The error count of each replica is capped at this value, preventing a single replica from accumulating too many errors.

See also:

distributed_replica_error_half_life

Type
Seconds
Default
60
  • Type: seconds
  • Default value: 60 seconds

Controls how fast errors in distributed tables are zeroed. If a replica is unavailable for some time, accumulates 5 errors, and distributed_replica_error_half_life is set to 1 second, then the replica is considered normal 3 seconds after the last error.

See also:

distributed_replica_max_ignored_errors

Type
UInt64
Default
0
  • Type: unsigned int
  • Default value: 0

The number of errors that will be ignored while choosing replicas (according to load_balancing algorithm).

See also:

Navigation