From fe6d8316a35ce5ca93759a3eac2e36193476af22 Mon Sep 17 00:00:00 2001 From: Justin de Guzman Date: Thu, 8 Feb 2024 17:34:43 -0800 Subject: [PATCH] [Docs] Add default cloud core settings --- docs/en/operations/settings/settings.md | 44 ++++++++++++++++++++----- 1 file changed, 36 insertions(+), 8 deletions(-) diff --git a/docs/en/operations/settings/settings.md b/docs/en/operations/settings/settings.md index 3a826b095d2..a552616b3ec 100644 --- a/docs/en/operations/settings/settings.md +++ b/docs/en/operations/settings/settings.md @@ -508,7 +508,9 @@ Possible values: - Any positive integer number of hops. - 0 — No hops allowed. -Default value: 0. +Default value: `0`. + +Cloud default value: `10`. ## insert_null_as_default {#insert_null_as_default} @@ -1126,7 +1128,9 @@ Possible values: - 0 (or 1) — `INSERT SELECT` no parallel execution. - Positive integer. Bigger than 1. -Default value: 0. +Default value: `0`. + +Cloud default value: `2`. Parallel `INSERT SELECT` has effect only if the `SELECT` part is executed in parallel, see [max_threads](#max_threads) setting. Higher values will lead to higher memory usage. @@ -1207,7 +1211,9 @@ Default value: 10000. Cancels HTTP read-only queries (e.g. SELECT) when a client closes the connection without waiting for the response. -Default value: 0 +Default value: `0`. + +Cloud default value: `1`. ## poll_interval {#poll-interval} @@ -1946,6 +1952,8 @@ Possible values: Default value: `200`. +Cloud default value: `1000`. + ### async_insert_poll_timeout_ms {#async-insert-poll-timeout-ms} Timeout in milliseconds for polling data from asynchronous insert queue. @@ -2132,6 +2140,8 @@ Possible values: Default value: 0 +Cloud default value: `20`. + Keeper request retries are done after some timeout. The timeout is controlled by the following settings: `insert_keeper_retry_initial_backoff_ms`, `insert_keeper_retry_max_backoff_ms`. The first retry is done after `insert_keeper_retry_initial_backoff_ms` timeout. The consequent timeouts will be calculated as follows: ``` @@ -2660,6 +2670,8 @@ Type: [UInt64](../../sql-reference/data-types/int-uint.md). Default value: 1000000000 nanoseconds (once a second). +Cloud default value: `0`. + See also: - System table [trace_log](../../operations/system-tables/trace_log.md/#system_tables-trace_log) @@ -2683,6 +2695,8 @@ Type: [UInt64](../../sql-reference/data-types/int-uint.md). Default value: 1000000000 nanoseconds. +Cloud default value: `0`. + See also: - System table [trace_log](../../operations/system-tables/trace_log.md/#system_tables-trace_log) @@ -2804,6 +2818,8 @@ Possible values: Default value: `0`. +Cloud default value: `1`. + **See Also** - [Distributed Table Engine](../../engines/table-engines/special/distributed.md/#distributed) @@ -3319,7 +3335,9 @@ Possible values: - a string representing any valid table engine name -Default value: `None` +Default value: `None`. + +Cloud default value: `SharedMergeTree`. **Example** @@ -3689,6 +3707,8 @@ Possible values: Default value: `0`. +Cloud default value: `1`. + ## live_view_heartbeat_interval {#live-view-heartbeat-interval} Sets the heartbeat interval in seconds to indicate [live view](../../sql-reference/statements/create/view.md/#live-view) is alive . @@ -3933,6 +3953,8 @@ Possible values: Default value: `throw`. +Cloud default value: `none`. + ## flatten_nested {#flatten-nested} Sets the data format of a [nested](../../sql-reference/data-types/nested-data-structures/index.md) columns. @@ -4068,6 +4090,8 @@ Possible values: Default value: `1`. +Cloud default value: `0`. + :::note `alter_sync` is applicable to `Replicated` tables only, it does nothing to alters of not `Replicated` tables. ::: @@ -4723,6 +4747,8 @@ other connections are cancelled. Queries with `max_parallel_replicas > 1` are su Enabled by default. +Disabled by default on Cloud. + ## hedged_connection_timeout {#hedged_connection_timeout} If we can't establish connection with replica after this timeout in hedged requests, we start working with the next replica without cancelling connection to the previous. @@ -5348,10 +5374,11 @@ Default value: `false`. ## max_partition_size_to_drop -Restriction on dropping partitions in query time. +Restriction on dropping partitions in query time. The value 0 means that you can drop partitions without any restrictions. Default value: 50 GB. -The value 0 means that you can drop partitions without any restrictions. + +Cloud default value: 1 TB. :::note This query setting overwrites its server setting equivalent, see [max_partition_size_to_drop](/docs/en/operations/server-configuration-parameters/settings.md/#max-partition-size-to-drop) @@ -5359,10 +5386,11 @@ This query setting overwrites its server setting equivalent, see [max_partition_ ## max_table_size_to_drop -Restriction on deleting tables in query time. +Restriction on deleting tables in query time. The value 0 means that you can delete all tables without any restrictions. Default value: 50 GB. -The value 0 means that you can delete all tables without any restrictions. + +Cloud default value: 1 TB. :::note This query setting overwrites its server setting equivalent, see [max_table_size_to_drop](/docs/en/operations/server-configuration-parameters/settings.md/#max-table-size-to-drop)