You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/d/datasource_mdb_clickhouse_cluster.html.markdown
+33-1Lines changed: 33 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -244,6 +244,13 @@ The `settings` block supports:
244
244
*`memory_overcommit_ratio_denominator` - (Optional) It represents soft memory limit in case when hard limit is reached on user level. This value is used to compute overcommit ratio for the query. Zero means skip the query.
245
245
*`memory_overcommit_ratio_denominator_for_user` - (Optional) It represents soft memory limit in case when hard limit is reached on global level. This value is used to compute overcommit ratio for the query. Zero means skip the query.
246
246
*`memory_usage_overcommit_max_wait_microseconds` - (Optional) Maximum time thread will wait for memory to be freed in the case of memory overcommit on a user level. If the timeout is reached and memory is not freed, an exception is thrown.
247
+
*`log_query_threads` - (Optional) Setting up query threads logging. Query threads log into the system.query_thread_log table. This setting has effect only when log_queries is true. Queries’ threads run by ClickHouse with this setup are logged according to the rules in the query_thread_log server configuration parameter. Default value: true.
248
+
*`max_insert_threads` - (Optional) The maximum number of threads to execute the INSERT SELECT query. Default value: 0.
249
+
*`use_hedged_requests` - (Optional) Enables hedged requests logic for remote queries. It allows to establish many connections with different replicas for query. New connection is enabled in case existent connection(s) with replica(s) were not established within hedged_connection_timeout or no data was received within receive_data_timeout. Query uses the first connection which send non empty progress packet (or data packet, if allow_changing_replica_until_first_data_packet); other connections are cancelled. Queries with max_parallel_replicas > 1 are supported. Default value: true.
250
+
*`idle_connection_timeout` - (Optional) Timeout to close idle TCP connections after specified number of seconds. Default value: 3600 seconds.
251
+
*`hedged_connection_timeout_ms` - (Optional) Connection timeout for establishing connection with replica for Hedged requests. Default value: 50 milliseconds.
252
+
*`load_balancing` - (Optional) Specifies the algorithm of replicas selection that is used for distributed query processing, one of: random, nearest_hostname, in_order, first_or_random, round_robin. Default value: random.
253
+
*`prefer_localhost_replica` - (Optional) Enables/disables preferable using the localhost replica when processing distributed queries. Default value: true.
`total_memory_profiler_step` - ClickHouse server parameters. For more information, see
330
+
`total_memory_profiler_step`, `dictionaries_lazy_load` - ClickHouse server parameters. For more information, see
324
331
[the official documentation](https://cloud.yandex.com/docs/managed-clickhouse/concepts/settings-list).
325
332
326
333
*`merge_tree` - MergeTree engine configuration. The structure is documented below.
@@ -329,6 +336,8 @@ The `config` block supports:
329
336
*`compression` - Data compression configuration. The structure is documented below.
330
337
*`rabbitmq` - RabbitMQ connection configuration. The structure is documented below.
331
338
*`graphite_rollup` - Graphite rollup configuration. The structure is documented below.
339
+
*`query_masking_rules` - Query masking rules configuration. The structure is documented below.
340
+
*`query_cache` - Query cache configuration. The structure is documented below.
332
341
333
342
The `merge_tree` block supports:
334
343
@@ -352,6 +361,10 @@ The `merge_tree` block supports:
352
361
*`min_age_to_force_merge_seconds` - (Optional) Merge parts if every part in the range is older than the value of `min_age_to_force_merge_seconds`.
353
362
*`min_age_to_force_merge_on_partition_only` - (Optional) Whether min_age_to_force_merge_seconds should be applied only on the entire partition and not on subset.
354
363
*`merge_selecting_sleep_ms` - (Optional) Sleep time for merge selecting when no part is selected. A lower setting triggers selecting tasks in background_schedule_pool frequently, which results in a large number of requests to ClickHouse Keeper in large-scale clusters.
364
+
*`merge_max_block_size` - (Optional) The number of rows that are read from the merged parts into memory. Default value: 8192.
365
+
*`check_sample_column_is_correct` - (Optional) Enables the check at table creation, that the data type of a column for sampling or sampling expression is correct. The data type must be one of unsigned integer types: UInt8, UInt16, UInt32, UInt64. Default value: true.
366
+
*`max_merge_selecting_sleep_ms` - (Optional) Maximum sleep time for merge selecting, a lower setting will trigger selecting tasks in background_schedule_pool frequently which result in large amount of requests to zookeeper in large-scale clusters. Default value: 60000 milliseconds (60 seconds).
367
+
*`max_cleanup_delay_period` - (Optional) Maximum period to clean old queue logs, blocks hashes and parts. Default value: 300 seconds.
355
368
356
369
The `kafka` block supports:
357
370
@@ -362,6 +375,8 @@ The `kafka` block supports:
362
375
*`enable_ssl_certificate_verification` - (Optional) enable verification of SSL certificates.
363
376
*`max_poll_interval_ms` - (Optional) Maximum allowed time between calls to consume messages (e.g., rd_kafka_consumer_poll()) for high-level consumers. If this interval is exceeded the consumer is considered failed and the group will rebalance in order to reassign the partitions to another consumer group member.
364
377
*`session_timeout_ms` - (Optional) Client group session and failure detection timeout. The consumer sends periodic heartbeats (heartbeat.interval.ms) to indicate its liveness to the broker. If no hearts are received by the broker for a group member within the session timeout, the broker will remove the consumer from the group and trigger a rebalance.
378
+
*`debug` - (Optional) A comma-separated list of debug contexts to enable.
379
+
*`auto_offset_reset` - (Optional) Action to take when there is no initial offset in offset store or the desired offset is out of range: 'smallest','earliest' - automatically reset the offset to the smallest offset, 'largest','latest' - automatically reset the offset to the largest offset, 'error' - trigger an error (ERR__AUTO_OFFSET_RESET) which is retrieved by consuming messages and checking 'message->err'.
365
380
366
381
The `kafka_topic` block supports:
367
382
@@ -390,6 +405,23 @@ The `graphite_rollup` block supports:
390
405
*`retention` - Retain parameters.
391
406
*`age` - Minimum data age in seconds.
392
407
*`precision` - Accuracy of determining the age of the data in seconds.
408
+
*`path_column_name` - (Optional) The name of the column storing the metric name (Graphite sensor). Default value: Path.
409
+
*`time_column_name` - (Optional) The name of the column storing the time of measuring the metric. Default value: Time.
410
+
*`value_column_name` - (Optional) The name of the column storing the value of the metric at the time set in time_column_name. Default value: Value.
411
+
*`version_column_name` - (Optional) The name of the column storing the version of the metric. Default value: Timestamp.
*`replace` - (Optional) Substitution string for sensitive data. Default value: six asterisks.
418
+
419
+
The `query_cache` block supports:
420
+
421
+
*`max_size_in_bytes` - (Optional) The maximum cache size in bytes. 0 means the query cache is disabled. Default value: 1073741824 (1 GiB).
422
+
*`max_entries` - (Optional) The maximum number of SELECT query results stored in the cache. Default value: 1024.
423
+
*`max_entry_size_in_bytes` - (Optional) The maximum size in bytes SELECT query results may have to be saved in the cache. Default value: 1048576 (1 MiB).
424
+
*`max_entry_size_in_rows` - (Optional) The maximum number of rows SELECT query results may have to be saved in the cache. Default value: 30000000 (30 mil).
0 commit comments