[Docs] Add default cloud core settings

This commit is contained in:
Justin de Guzman 2024-02-08 17:34:43 -08:00 committed by GitHub
parent 1c58cafcf3
commit fe6d8316a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -508,7 +508,9 @@ Possible values:
- Any positive integer number of hops. - Any positive integer number of hops.
- 0 — No hops allowed. - 0 — No hops allowed.
Default value: 0. Default value: `0`.
Cloud default value: `10`.
## insert_null_as_default {#insert_null_as_default} ## insert_null_as_default {#insert_null_as_default}
@ -1126,7 +1128,9 @@ Possible values:
- 0 (or 1) — `INSERT SELECT` no parallel execution. - 0 (or 1) — `INSERT SELECT` no parallel execution.
- Positive integer. Bigger than 1. - 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. 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. 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. 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} ## poll_interval {#poll-interval}
@ -1946,6 +1952,8 @@ Possible values:
Default value: `200`. Default value: `200`.
Cloud default value: `1000`.
### async_insert_poll_timeout_ms {#async-insert-poll-timeout-ms} ### async_insert_poll_timeout_ms {#async-insert-poll-timeout-ms}
Timeout in milliseconds for polling data from asynchronous insert queue. Timeout in milliseconds for polling data from asynchronous insert queue.
@ -2132,6 +2140,8 @@ Possible values:
Default value: 0 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`. 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: 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). Default value: 1000000000 nanoseconds (once a second).
Cloud default value: `0`.
See also: See also:
- System table [trace_log](../../operations/system-tables/trace_log.md/#system_tables-trace_log) - 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. Default value: 1000000000 nanoseconds.
Cloud default value: `0`.
See also: See also:
- System table [trace_log](../../operations/system-tables/trace_log.md/#system_tables-trace_log) - System table [trace_log](../../operations/system-tables/trace_log.md/#system_tables-trace_log)
@ -2804,6 +2818,8 @@ Possible values:
Default value: `0`. Default value: `0`.
Cloud default value: `1`.
**See Also** **See Also**
- [Distributed Table Engine](../../engines/table-engines/special/distributed.md/#distributed) - [Distributed Table Engine](../../engines/table-engines/special/distributed.md/#distributed)
@ -3319,7 +3335,9 @@ Possible values:
- a string representing any valid table engine name - a string representing any valid table engine name
Default value: `None` Default value: `None`.
Cloud default value: `SharedMergeTree`.
**Example** **Example**
@ -3689,6 +3707,8 @@ Possible values:
Default value: `0`. Default value: `0`.
Cloud default value: `1`.
## live_view_heartbeat_interval {#live-view-heartbeat-interval} ## 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 . 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`. Default value: `throw`.
Cloud default value: `none`.
## flatten_nested {#flatten-nested} ## flatten_nested {#flatten-nested}
Sets the data format of a [nested](../../sql-reference/data-types/nested-data-structures/index.md) columns. 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`. Default value: `1`.
Cloud default value: `0`.
:::note :::note
`alter_sync` is applicable to `Replicated` tables only, it does nothing to alters of not `Replicated` tables. `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. Enabled by default.
Disabled by default on Cloud.
## hedged_connection_timeout {#hedged_connection_timeout} ## 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. 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 ## 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. Default value: 50 GB.
The value 0 means that you can drop partitions without any restrictions.
Cloud default value: 1 TB.
:::note :::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) 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 ## 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. Default value: 50 GB.
The value 0 means that you can delete all tables without any restrictions.
Cloud default value: 1 TB.
:::note :::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) 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)