Перейти к содержанию

[clickhouse] section

Clickhouse service configuration

rw_addresses

Default valueservice="clickhouse", wait=True
YAML Pathclickhouse.rw_addresses
Key-Value Pathclickhouse/rw_addresses
EnvironmentNOC_CLICKHOUSE_RW_ADDRESSES

db

Default valuenoc
YAML Pathclickhouse.db
Key-Value Pathclickhouse/db
EnvironmentNOC_CLICKHOUSE_DB

rw_user

Default valuedefault
YAML Pathclickhouse.rw_user
Key-Value Pathclickhouse/rw_user
EnvironmentNOC_CLICKHOUSE_RW_USER

rw_password

Default valueNone
YAML Pathclickhouse.rw_password
Key-Value Pathclickhouse/rw_password
EnvironmentNOC_CLICKHOUSE_RW_PASSWORD

ro_addresses

Default valueservice="clickhouse", wait=True
YAML Pathclickhouse.ro_addresses
Key-Value Pathclickhouse/ro_addresses
EnvironmentNOC_CLICKHOUSE_RO_ADDRESSES

ro_user

Default valuereadonly
YAML Pathclickhouse.ro_user
Key-Value Pathclickhouse/ro_user
EnvironmentNOC_CLICKHOUSE_RO_USER

ro_password

Default valueNone
YAML Pathclickhouse.ro_password
Key-Value Pathclickhouse/ro_password
EnvironmentNOC_CLICKHOUSE_RO_PASSWORD

request_timeout

Default value1h
YAML Pathclickhouse.request_timeout
Key-Value Pathclickhouse/request_timeout
EnvironmentNOC_CLICKHOUSE_REQUEST_TIMEOUT

connect_timeout

Default value10s
YAML Pathclickhouse.connect_timeout
Key-Value Pathclickhouse/connect_timeout
EnvironmentNOC_CLICKHOUSE_CONNECT_TIMEOUT

default_merge_tree_granularity

Default value8192
YAML Pathclickhouse.default_merge_tree_granularity
Key-Value Pathclickhouse/default_merge_tree_granularity
EnvironmentNOC_CLICKHOUSE_DEFAULT_MERGE_TREE_GRANULARITY

encoding

Default value :

Possible values :

-

  • deflate
  • gzip
YAML Path
clickhouse.encoding
Key-Value Path
clickhouse/encoding
Environment
NOC_CLICKHOUSE_ENCODING

enable_low_cardinality

Default valueFalse
YAML Pathclickhouse.enable_low_cardinality
Key-Value Pathclickhouse/enable_low_cardinality
EnvironmentNOC_CLICKHOUSE_ENABLE_LOW_CARDINALITY

cluster

Default value``
YAML Pathclickhouse.cluster
Key-Value Pathclickhouse/cluster
EnvironmentNOC_CLICKHOUSE_CLUSTER

cluster_topology

Default value1
YAML Pathclickhouse.cluster_topology
Key-Value Pathclickhouse/cluster_topology
EnvironmentNOC_CLICKHOUSE_CLUSTER_TOPOLOGY

Examples:

ValueDescription
1non-replicated, non-sharded configuration
1,12 shards, non-replicated
2,22 shards, 2 replicas in each
3:2,2first shard has 2 replicas an weight 3, second shard has 2 replicas and weight 1