Commit Graph

2723 Commits

Author SHA1 Message Date
Rich Raposa
4cb3c92607
Update merge-tree-settings.md
For some reason the links are broken - I'm attempting to fix them here
2023-03-31 12:38:45 -06:00
Rich Raposa
330508552e
Merge branch 'master' into docs/background_pool_size 2023-03-31 11:24:00 -06:00
Dan Roscigno
0b70a8600b
Update LVM info in tips.md 2023-03-31 13:19:49 -04:00
kst-morozov
048ea93c09 upadte doc 2023-03-31 17:59:19 +02:00
Rich Raposa
3a3438ebf9
Update settings-formats.md
Default compression method for Parquet changed from snappy to lz4 in 23.3
2023-03-30 10:26:33 -06:00
Nikolai Kochetov
f06bdc85eb
Merge pull request #48226 from ClickHouse/rename-setting-stop_reading_on_first_cancel
Rename setting stop_reading_on_first_cancel
2023-03-30 18:03:23 +02:00
Nikolai Kochetov
06bf500c30
Update settings.md 2023-03-30 17:36:56 +02:00
filimonov
fbb22348ea
Refactor reading the pool setting & from server config. (#48055)
After #36425 there was a lot of confusions/problems with configuring pools - when the message was confusing, and settings need to be ajusted in several places.
See some examples in #44251, #43351, #47900, #46515.

The commit includes the following changes:
1) Introduced a unified mechanism for reading pool sizes from the configuration file(s). Previously, pool sizes were read from the Context.cpp with fallbacks to profiles, whereas main_config_reloader in Server.cpp read them directly without fallbacks.
2) Corrected the data type for background_merges_mutations_concurrency_ratio. It should be float instead of int.
3) Refactored the default values for settings. Previously, they were defined in multiple places throughout the codebase, but they are now defined in one place (or two, to be exact: Settings.h and ServerSettings.h).
4) Improved documentation, including the correct message in system.settings.

Additionally make the code more conform with #46550.
2023-03-30 16:44:11 +02:00
Nikolai Kochetov
a8a28bdf3d Merge branch 'master' into rename-setting-stop_reading_on_first_cancel 2023-03-30 16:07:14 +02:00
Nikolai Kochetov
f870e6f7a9 Rename setting stop_reading_on_first_cancel to partial_result_on_first_cancel. 2023-03-30 14:00:44 +00:00
Robert Schulze
b0473098c6
Merge branch 'master' into qc-compression 2023-03-30 10:55:42 +02:00
Denny Crane
2c231a6ac4
Update settings.md 2023-03-29 20:49:44 -03:00
Robert Schulze
b324d0ed5e
Merge branch 'master' into qc-compression 2023-03-29 15:09:22 +02:00
lzydmxy
3410082cb2 add columns perform_ttl_move_on_insert, load_balancing for table system.storage_policies 2023-03-29 19:58:25 +08:00
rfraposa
b8edcd90cc Update stack_trace.md 2023-03-28 15:49:58 -06:00
Smita Kulkarni
a26cfd523c Updated right bool for disallowing concurrent backups and restores 2023-03-28 15:42:21 +02:00
Smita Kulkarni
afe5982c4e Fixed typo - settings 2023-03-28 15:39:28 +02:00
Smita Kulkarni
c8ec900d90 Fixed comment for usage on cluster 2023-03-28 15:37:49 +02:00
Smita Kulkarni
e5994e873e Added documentation for new settings to disallow concurrent backup/restore 2023-03-28 14:03:50 +02:00
Dan Roscigno
c8f59194a3
Merge pull request #48070 from den-crane/patch-60
Doc. idle_connection_timeout
2023-03-27 15:17:08 -04:00
Dan Roscigno
07c3a0522b
Merge pull request #48072 from DanRoscigno/standardize-admonitions
standardize admonitions
2023-03-27 15:16:05 -04:00
DanRoscigno
6d8a2bbd48 standardize admonitions 2023-03-27 14:54:05 -04:00
Denny Crane
295d3b7510
Update settings.md 2023-03-27 14:45:43 -03:00
Denny Crane
98488f30ab
Update settings.md 2023-03-27 14:40:45 -03:00
Rich Raposa
feac46eac4
Update dropped_tables.md (#48067)
* Update dropped_tables.md

* Update dropped_tables.md

* Update docs/en/operations/system-tables/dropped_tables.md

---------

Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2023-03-27 20:16:28 +03:00
rfraposa
15039d3327 Rename file 2023-03-27 09:37:06 -06:00
Rich Raposa
01cccb08a5
Merge branch 'master' into add-marked-dropped-tables 2023-03-27 09:23:09 -06:00
rfraposa
eac71397c4 Create marked_dropped_tables.md 2023-03-27 09:19:50 -06:00
nellicus
f1258a932f fix typo 2023-03-27 16:58:20 +02:00
Kruglov Pavel
bc92e3184e
Merge branch 'master' into non-blocking-connect 2023-03-27 13:50:50 +02:00
Alexey Milovidov
b6892f53fc
Merge pull request #47724 from ClickHouse/rs/qc-better-cfg-name
Rename cfg parameter query_cache.size to query_cache.max_size
2023-03-27 00:36:24 +03:00
rfraposa
70912b15bc Update settings.md 2023-03-25 15:56:04 -06:00
Kruglov Pavel
f3f93dd06c
Merge branch 'master' into non-blocking-connect 2023-03-24 15:59:40 +01:00
Robert Schulze
0712627c05
Query cache: Fix config naming ambiguity
Add 'max_' prefix to 'size' setting to make it more clear that the cache
consumes no space if not used.
2023-03-24 12:52:09 +00:00
Rich Raposa
d1a0935a70
Merge branch 'master' into rfraposa-patch-2 2023-03-23 16:41:05 -06:00
rfraposa
747eaf3f72 Fix broken links 2023-03-23 14:40:45 -06:00
Rich Raposa
c8e7ca7c8c
Update backup.md 2023-03-23 14:34:29 -06:00
rfraposa
42725964d4 Remove links from nav categories 2023-03-23 14:20:26 -06:00
Kruglov Pavel
3ee12e21fb
Merge branch 'master' into non-blocking-connect 2023-03-23 20:53:44 +01:00
Nikolai Kochetov
0f01725d8b
Merge pull request #45689 from alexX512/master
Add an option to show the partial result on query cancellation
2023-03-23 17:34:15 +01:00
avogar
38e44861ae Fix possible race conditions 2023-03-21 16:01:54 +00:00
Tanya Bragin
d3515dd7ae
Update query profiler docs to remove self-managed only
Query profiler works in ClickHouse Cloud - update docs to reflect it and add an example. 

cc @alexey-milovidov
2023-03-20 22:05:10 -07:00
Robert Schulze
d8493780b2
Query cache: Enable compression and squashing of result blocks
ClickHouse reads table data in blocks of 'max_block_size' rows. Due to
filtering, aggregation, etc., result blocks are typically much smaller
than 'max_block_size' but there are also cases where they are much
bigger. Setting 'query_cache_squash_partial_results' (enabled by
default) now controls if result blocks are squashed (if they are tiny)
or split (if they are large) into blocks of 'max_block_size' size before
insertion into the query result cache. This reduces performance of
writes into the query cache but improves compressability of cache
entries and provides more natural block granularity when query results
are later served from the query cache.

Entries in the query cache are now also compressed by default. This
reduces the overall memory consumption at the cost of slower writes into
/ reads from the query cache. To disable compression, use setting
'query_cache_compress_entries'.
2023-03-20 20:11:41 +00:00
Sergei Trifonov
273770519b
Merge branch 'master' into master 2023-03-20 18:28:10 +01:00
rfraposa
ac5ed141d8 New nav - reverting the revert 2023-03-17 21:45:43 -05:00
Alexander Tokmakov
5187507e41
Update docs/en/operations/system-tables/marked_dropped_tables.md 2023-03-17 19:20:05 +03:00
xiedeyantu
fff32d5640 add marked_dropped_tables doc 2023-03-17 23:34:28 +08:00
Alexey Perevyshin
2c6534f5c8
Merge branch 'master' into master 2023-03-16 23:57:36 +04:00
Robert Schulze
e97ded263a
Docs: Apply better syntax highlighting for clickhouse-format examples 2023-03-16 18:34:58 +00:00
alexX512
29dd2e56f9 Fix pulling pipeline 2023-03-16 12:41:17 +00:00
Alexey Perevyshin
1e9ef12f51
Merge branch 'master' into master 2023-03-15 22:21:02 +04:00
alexX512
dc1a6884ca Add documentation for a setting stop_reading_on_first_cancel 2023-03-15 14:49:24 +00:00
Robert Schulze
3bcfe02312
Docs: Fix unit for setting "max_query_size" 2023-03-15 13:29:25 +00:00
Kruglov Pavel
8456e5721d
Merge pull request #47585 from den-crane/patch-68
Doc. Fix link
2023-03-15 12:25:42 +01:00
San
b6de44e0e3
Update storing-data.md
Just a small update I spotted when discussing encryption at rest with others
2023-03-15 11:37:42 +11:00
Denny Crane
97a42dbada
Update settings.md 2023-03-14 15:13:46 -03:00
Alexey Milovidov
b2510b9442
Merge pull request #47514 from tbragin/patch-6
Update clickhouse-local.md usage instructions
2023-03-13 21:39:37 +03:00
Rich Raposa
fa6fd10e1b
Merge pull request #47431 from nellicus/async_insert_max_query_number 2023-03-13 08:03:05 -06:00
Vladimir C
9cb018545c
Merge pull request #47499 from FrankChen021/span_kind 2023-03-13 11:35:03 +01:00
Alexey Milovidov
acdb0c5979
Update clickhouse-local.md 2023-03-13 03:19:37 +03:00
Tanya Bragin
2bfcd64841
Update clickhouse-local.md
Update usage instructions for clickhouse-local to include explicit command for Mac.
2023-03-12 13:18:42 -07:00
Frank Chen
4610ca1f20 Update doc 2023-03-12 21:41:42 +08:00
Ilya Yatsishin
542eb23561
Update docs/en/operations/settings/settings.md 2023-03-10 23:20:24 +01:00
Dmitry Novik
4f24a7bd11 Merge remote-tracking branch 'origin/master' into background-memory-tracker 2023-03-10 18:57:45 +00:00
Antonio Bonuccelli
75d91f633d
Merge branch 'master' into async_insert_max_query_number 2023-03-10 17:11:05 +01:00
Kruglov Pavel
f387e6013a
Merge pull request #46990 from Avogar/native-types-conversions
Allow types conversion in Native input format
2023-03-10 16:55:16 +01:00
Antonio Bonuccelli
8819860b14
Merge branch 'master' into async_insert_max_query_number 2023-03-10 16:45:55 +01:00
nellicus
6f4833f2c3 add async_insert_max_query_number 2023-03-10 16:10:31 +01:00
Rich Raposa
7aee4eeb8c
Merge pull request #47413 from ClickHouse/revert-47407-standardize-adminitions
Revert "standardize admonitions"
2023-03-09 14:59:34 -07:00
robot-clickhouse-ci-2
80c3e387c1
Merge pull request #47389 from DerekChia/patch-1
Update Prometheus port to 9363
2023-03-09 22:39:28 +01:00
Rich Raposa
de68dade71
Revert "standardize admonitions" 2023-03-09 14:30:40 -07:00
Dan Roscigno
636aff3715
Merge pull request #47407 from DanRoscigno/standardize-adminitions
standardize admonitions
2023-03-09 12:54:41 -05:00
DanRoscigno
95351bc2d3 standardize admonitions 2023-03-09 12:05:26 -05:00
Tyler Hannan
53277831cc
Remove dated warning
scary language is inappropriately scary.
2023-03-09 16:02:06 +01:00
Kruglov Pavel
fe973f3d6f
Merge branch 'master' into native-types-conversions 2023-03-09 13:03:25 +01:00
Kruglov Pavel
71b6d6c6ae
Merge pull request #47114 from Avogar/parquet-compression
Improve working with compression methods in Parquet/ORC/Arrow formats
2023-03-09 13:02:18 +01:00
Derek Chia
1728d6ed2c
Update settings.md
- Change Prometheus port to 9363 as listed in https://clickhouse.com/docs/en/guides/sre/network-ports/
2023-03-09 11:44:27 +08:00
Antonio Andelic
a04b38db90
Merge pull request #45108 from ClickHouse/custom-key-parallel-replicas
Add support for custom key in parallel replicas
2023-03-08 17:46:11 +01:00
Sergei Trifonov
880b34fded
Update docs/en/operations/server-configuration-parameters/settings.md
Co-authored-by: pufit <pufit@clickhouse.com>
2023-03-08 10:51:34 +01:00
Sergei Trifonov
20c0476d2f
Update docs/en/operations/server-configuration-parameters/settings.md
Co-authored-by: pufit <pufit@clickhouse.com>
2023-03-08 10:51:16 +01:00
Kruglov Pavel
69a1309ade
Merge branch 'master' into native-types-conversions 2023-03-07 20:06:17 +01:00
Sergei Trifonov
3dcdf4cd4e
Docs for BackupsIOThreadPool 2/2 2023-03-07 12:12:29 +01:00
Antonio Andelic
2ae0bceb2b Address PR comments 2023-03-07 10:56:11 +00:00
Antonio Andelic
35c15e6ef8 Merge branch 'master' into custom-key-parallel-replicas 2023-03-07 09:37:38 +00:00
Kseniia Sumarokova
7997df5739
Update storing-data.md 2023-03-03 19:50:21 +01:00
Dave Lahn
6c929737eb
Add missing policy name element
The S3 cache example had a list of policies, but was missing the policy name. This caused this configuration to fail.
2023-03-03 18:42:10 +00:00
Kruglov Pavel
3b034e7c35
Merge branch 'master' into parquet-compression 2023-03-02 15:55:48 +01:00
Antonio Andelic
01cf9c94f4 Merge branch 'master' into custom-key-parallel-replicas 2023-03-02 14:28:42 +00:00
avogar
a6cf2cdab8 Fix style, add docs 2023-03-02 10:36:07 +00:00
Sergei Trifonov
20fbb09a46
Update constraints-on-settings.md 2023-03-01 17:44:25 +01:00
pufit
29296cb004
Merge pull request #46550 from ClickHouse/46231-systerm-server-settings
Implement `system.server_settings`
2023-02-28 11:23:15 -05:00
Kruglov Pavel
545e5c0f5b
Merge pull request #46617 from Avogar/use-parquet-2
Change default parquet format version to v2_latest, add a setting to controle the version
2023-02-28 14:30:59 +01:00
avogar
ab899bf2f3 Allow types conversion in Native input format 2023-02-27 19:28:19 +00:00
Kruglov Pavel
36e65f5f84
Use versions vith dots 2023-02-27 19:00:40 +01:00
robot-clickhouse-ci-1
fc1e0608c6
Merge pull request #46962 from melvynator/patch-11
Add a warning to the schema_inference_hints
2023-02-27 16:51:24 +01:00
pufit
c94fbc45bf Update docs 2023-02-27 10:31:41 -05:00
Kruglov Pavel
443dedddca
Merge branch 'master' into use-parquet-2 2023-02-27 14:31:43 +01:00
Kruglov Pavel
e9078b402b
Merge pull request #46742 from Avogar/update-settings
Enable input_format_json_ignore_unknown_keys_in_named_tuple by default
2023-02-27 14:30:28 +01:00
Peignon Melvyn
8fe08bc458
Add a warning to the schema_inference_hints 2023-02-27 14:02:10 +01:00
Denny Crane
fd97f7ad0a
Update settings.md 2023-02-26 19:25:13 -04:00