Commit Graph

3880 Commits

Author SHA1 Message Date
Igor Nikonov
15a0f5381f
Merge pull request #59176 from azat/dist/readonly-replicas
Add ability to skip read-only replicas for INSERT into Distributed engine
2024-03-27 13:19:12 +01:00
Yarik Briukhovetskyi
844bb4f06c
Merge pull request #61727 from yariks5s/fix_undrop_query
Revert "Revert "Un-flake test_undrop_query""
2024-03-27 13:12:50 +01:00
yariks5s
c01448f0b6 Make tests faster + docs improvement 2024-03-26 17:00:35 +00:00
János Benjamin Antal
d0240e59ff Document the setting. 2024-03-26 11:13:08 +00:00
Azat Khuzhin
c7b919b19e Replace distributed_insert_replicas_preferences with distributed_insert_skip_read_only_replicas
v2: fix test
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-26 11:24:57 +01:00
Azat Khuzhin
63f92b2c16 Add documentation for distributed_insert_replicas_preferences
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-26 11:24:16 +01:00
avogar
dc87c483dd Add a setting to allow saving bad escape sequences in JSON input formats 2024-03-25 21:58:53 +00:00
Yakov Olkhovskiy
6c4cd355e6
Merge pull request #61511 from jewelzqiu/existing-count
Add docs for lwd-aware merge settings
2024-03-25 16:59:58 -04:00
Yarik Briukhovetskyi
8bdbfce43c
Merge branch 'master' into fix_undrop_query 2024-03-25 13:06:46 +01:00
Alexey Milovidov
717603802d
Merge pull request #61785 from danipozo/azure-use-managed-identity-for-backups
Use managed identity for backups IO in Azure Blob Storage
2024-03-24 20:31:12 +03:00
Justin de Guzman
af9d35dc59
[Docs] Add keywords for advanced dashboard
Add keywords for advanced observability dashboard for better search
2024-03-24 00:07:08 -07:00
Dani Pozo
2736b4ef64 Use managed identity for backups IO in Azure Blob Storage
Also adds option to prevent ClickHouse from trying to create a non-existing container, which requires
a role assignment at the storage account level.
2024-03-22 17:58:07 +01:00
Zhuo Qiu
6a95163a24
Merge branch 'ClickHouse:master' into existing-count 2024-03-22 09:51:27 +08:00
yariks5s
6a19b77d9e init 2024-03-21 18:39:05 +00:00
serxa
c31b958f88 Merge branch 'master' into async-loader-waiters-limit 2024-03-21 10:58:22 +00:00
Robert Schulze
35cc335597
Revert "Un-flake test_undrop_query" 2024-03-20 18:04:35 +01:00
Zhuo Qiu
62c91fdddc
revise docs
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2024-03-18 22:33:07 +08:00
robot-ch-test-poll4
e8a08baf23
Merge pull request #61092 from rschu1ze/locate-mysql
Make the argument order for `locate` compatible with MySQL
2024-03-18 11:55:05 +01:00
alesapin
0faf4eacb8
Merge pull request #61299 from ClickHouse/merge_config
Add ability to merge includes for config preprocessor for configs
2024-03-18 11:22:42 +01:00
Zhuo Qiu
bf85f7f368 add docs & minor fix for lwd-aware merge settings 2024-03-18 11:02:02 +08:00
Robert Schulze
f132eef63b
Merge remote-tracking branch 'rschu1ze/master' into flaky-test_uncrop_query 2024-03-15 15:12:58 +00:00
Robert Schulze
9546370544
Merge remote-tracking branch 'rschu1ze/master' into locate-mysql 2024-03-15 13:11:22 +00:00
alesapin
38cd6ef27d Merge branch 'master' into merge_config 2024-03-15 13:52:52 +01:00
Sergei Trifonov
273d221781
Merge pull request #60558 from ClickHouse/revert-60253-revert-59032-cpu-scheduler-and-cc
Revert "Revert "Support resource request canceling""
2024-03-15 13:24:50 +01:00
Robert Schulze
1281acc295
Merge remote-tracking branch 'rschu1ze/master' into locate-mysql 2024-03-15 10:14:46 +00:00
kssenii
b538e94acf Merge remote-tracking branch 'origin/master' into add-documentation-for-disks-configuration 2024-03-14 14:06:12 +01:00
kssenii
bf9da768bf More detailed explanation 2024-03-14 13:53:40 +01:00
Robert Schulze
bd6bed161c
Try to fix flaky test_undrop_query 2024-03-13 20:56:42 +00:00
Robert Schulze
ce665eae30
Doc fixups 2024-03-13 15:13:17 +00:00
alesapin
9338b681ef I will bypass style check 2024-03-13 15:12:36 +01:00
alesapin
9b1d8a2f52 fix style 2024-03-13 14:15:34 +01:00
Robert Schulze
173fa7934c
Merge remote-tracking branch 'rschu1ze/master' into locate-mysql 2024-03-13 12:31:56 +00:00
alesapin
8af9262e43 Add docs 2024-03-13 13:26:25 +01:00
Alexey Milovidov
bd4f948f12
Merge pull request #61058 from ClickHouse/rip-copier
Delete `clickhouse-copier`
2024-03-12 07:15:48 +03:00
Nikita Mikhaylov
cfa042cb04 Merge branch 'master' of github.com:ClickHouse/ClickHouse into rip-copier 2024-03-11 15:45:20 +00:00
Robert Schulze
e43ac49d4e
Merge remote-tracking branch 'rschu1ze/master' into locate-mysql 2024-03-11 12:23:15 +00:00
serxa
b1d1c8eb0c Merge branch 'master' into revert-60253-revert-59032-cpu-scheduler-and-cc 2024-03-11 11:25:53 +00:00
serxa
5b796e1f42 Merge branch 'master' into async-loader-waiters-limit 2024-03-10 15:20:27 +00:00
Robert Schulze
349894fc2b
Fixes #61051 2024-03-10 13:13:59 +00:00
Alexey Milovidov
d337379385 Remove in-memory data parts, step 2 2024-03-10 06:44:26 +01:00
robot-clickhouse-ci-2
1c44f3d091
Merge pull request #61063 from HowePa/patch-1
[Docs] correction arguments in `clickhouse-local`
2024-03-09 03:57:52 +01:00
Alexander Tokmakov
854abd64d8
Merge pull request #60340 from ClickHouse/ddl_none_only_active
Add none_only_active DDL output mode
2024-03-08 22:20:40 +01:00
豪肥肥
5bfb6f08a8
[Docs] correction arguments 2024-03-08 06:29:15 +08:00
Nikita Mikhaylov
2bc4d27ac6 Bye bye 2024-03-07 19:24:39 +00:00
serxa
0f0ea422f2 separate limits on number of waiting and executing queries 2024-03-07 17:05:54 +00:00
Joris Clement
b791ced86f
docs: typo
With https://github.com/ClickHouse/ClickHouse/pull/39423 allowing the
the usage of single quotes was disabled by default. Adapt the
documentation accordingly.
2024-03-05 14:50:24 +01:00
Joris Clement
0bedd98bb7
style: trailing whitespace 2024-03-05 14:50:23 +01:00
Alexander Tokmakov
72a4533c4e Merge branch 'master' into ddl_none_only_active 2024-03-05 13:42:00 +01:00
Alexey Milovidov
de6c5d3a40
Merge pull request #60552 from ClickHouse/pc2
Userspace page cache again
2024-03-04 17:47:35 +03:00
Peter
1df42bb86b
Remove original article because it's redundant 2024-03-03 22:49:11 +08:00
Alexey Milovidov
6771e99d9f Merge branch 'master' into ddl_none_only_active 2024-03-03 03:09:24 +01:00
Robert Schulze
39457cd5ac
Merge remote-tracking branch 'ClickHouse/master' into feature/increase_dns_cache_size 2024-03-01 10:29:46 +00:00
Antonio Andelic
5104029f62
Merge pull request #59535 from josh-hildred/tar_support
Add support for reading and writing backups as tar archives
2024-03-01 10:01:59 +01:00
Raúl Marín
d661acc7b0
Merge pull request #60551 from pamarcos/patch-2
Fix typo in query_thread_log doc
2024-02-29 16:41:31 +01:00
Joshua Hildred
ca9a6f809f add support for .tar.zst and tar.xz 2024-02-29 05:20:53 -08:00
Joshua Hildred
79aec12771 Update docs 2024-02-29 05:20:52 -08:00
Joshua Hildred
1bb9115abd Add documentation 2024-02-29 05:20:51 -08:00
Sergei Trifonov
f8561b2265
Revert "Revert "Support resource request canceling"" 2024-02-29 13:53:27 +01:00
Pablo Marcos
4db4a82ae0 Update thread_id to sync with Russian doc 2024-02-29 13:31:36 +01:00
Michael Kolupaev
42437a2ae1 Userspace page cache (#53770)
* Userspace page cache

* Maybe it'll build this time, who knows.

* 'auto' went out of fashion, I guess

* Documentation, tsan workaround, metric 'UnreclaimableRss', disable page cache in the test that uses DatabaseOrdinary

* Moved CachedInMemoryReadBufferFromFile to object store level, changed settings, addressed other comments.

* Fix

* Another fix

* Fix restricted seek, fix ppc64le build

* Don't allow page cache with file cache

* Adjust tests a little

* Fix clang-tidy

* Conflicts

* Comments

* Maybe unbroke AsynchronousBoundedReadBuffer

* SettingsChangesHistory.h

* Fix warning in test
2024-02-29 12:28:32 +00:00
Pablo Marcos
28735a4ba4
Fix typo in query_thread_log doc
Fix typo in query_thread_log doc
2024-02-29 13:23:36 +01:00
Alexander Tokmakov
15e1191f74
Revert "Userspace page cache (#53770)"
This reverts commit 7b55c61551.
2024-02-29 13:20:17 +01:00
Robert Schulze
070f9d952f
Merge remote-tracking branch 'ClickHouse/master' into feature/increase_dns_cache_size 2024-02-29 11:27:59 +00:00
Michael Kolupaev
7b55c61551
Userspace page cache (#53770)
* Userspace page cache

* Maybe it'll build this time, who knows.

* 'auto' went out of fashion, I guess

* Documentation, tsan workaround, metric 'UnreclaimableRss', disable page cache in the test that uses DatabaseOrdinary

* Moved CachedInMemoryReadBufferFromFile to object store level, changed settings, addressed other comments.

* Fix

* Another fix

* Fix restricted seek, fix ppc64le build

* Don't allow page cache with file cache

* Adjust tests a little

* Fix clang-tidy

* Conflicts

* Comments

* Maybe unbroke AsynchronousBoundedReadBuffer

* SettingsChangesHistory.h

* Fix warning in test
2024-02-29 11:27:32 +00:00
Kirill Nikiforov
48a4265f3e rename dns_cache_max_size to dns_cache_max_entries 2024-02-29 06:03:44 +03:00
Kirill Nikiforov
fe247cb64d rename dns_cache_max_size to dns_cache_max_entries 2024-02-29 06:03:44 +03:00
Kirill Nikiforov
b1db898747 increase default dns_cache_max_size to 1Mb 2024-02-29 06:03:30 +03:00
Alexey Milovidov
e6dffb1f2d
Merge pull request #60379 from rogeryk/improve-pretty-format
Improve pretty format if a block consists of a single numeric value and exceeds one million.
2024-02-29 02:20:42 +03:00
pufit
330a206470
Add definers for views (Attempt 2) (#60439) 2024-02-27 19:00:17 -05:00
Alexey Milovidov
350038dd5f
Merge pull request #54429 from fermelone/patch-3
Update settings_profile_elements.md
2024-02-28 01:38:12 +03:00
Alexey Milovidov
7c6e28708b
Merge pull request #60370 from ClickHouse/remove-alter-live-view
Remove ALTER LIVE VIEW
2024-02-27 17:45:59 +03:00
Robert Schulze
de45c26262
Merge pull request #60365 from rschu1ze/mysql-friday-evening-fix
MySQL: Force-set `prefer_column_name_to_alias` in handler and set `mysql_map_(fixed)_string_to_text_in_show_columns` by default
2024-02-27 12:13:07 +01:00
Alexey Milovidov
9845b9ec4d
Merge pull request #60342 from DerekChia/patch-5
Update default value for async_insert_deduplicate
2024-02-27 03:46:44 +03:00
Alexey Milovidov
31e776017f
Merge pull request #60399 from peter279k/add_perm_thp
Add the permanent approach for setting THP
2024-02-27 03:45:32 +03:00
Robert Schulze
ac7a3cd18d
Merge remote-tracking branch 'rschu1ze/master' into mysql-friday-evening-fix 2024-02-26 22:00:45 +00:00
Kirill Nikiforov
8b314a3ac8
Implement system.dns_cache table and dns_cache_max_size server setting (#60257)
* system.dns_cache table WIP

* system.dns_cache table

* rollback unexpected contrib changes

* rollback unexpected changes

* add docs

* code style fixes

* optimize dns cache exporting

* stateful test for system.dns_cache table

* stateful test for system.dns_cache table

* cr fixes

* stateful test for system.dns_cache table

* stateful test for system.dns_cache table

* implement system.dns_cache table

* system.dns_cache test

* system.dns_cache fix docs

* system.dns_cache prettify

* dns_cache_max_size settings

* fix system.dns_cache test

* Update dns_cache.md

* fix doc

Co-authored-by: pufit <pufit@clickhouse.com>

---------

Co-authored-by: pufit <pufit@clickhouse.com>
2024-02-26 15:48:02 -05:00
Alexander Tokmakov
07e22dbe50 Merge branch 'master' into ddl_none_only_active 2024-02-26 17:53:11 +01:00
Raúl Marín
dfbca34298
Merge pull request #60053 from ClickHouse/melvynator-patch-2
Update settings.md
2024-02-26 16:22:08 +01:00
Robert Schulze
048f7ec3e9
Merge pull request #59516 from rschu1ze/cgroup-observing-memory-tracker
Update memory tracker periodically with cgroup memory usage
2024-02-26 15:27:19 +01:00
peter279k
16a9a8cdf1
Add the permanent approach for setting THP 2024-02-26 21:57:02 +08:00
Kruglov Pavel
d184ebff6a
Merge pull request #60343 from Alex-Cheng/master
Update settings.md to correct the description for setting `max_concur…
2024-02-26 14:21:10 +01:00
Raúl Marín
a8878bfdc5 Merge remote-tracking branch 'blessed/master' into melvynator-patch-2 2024-02-26 14:18:41 +01:00
robot-clickhouse-ci-1
d98fbcb8d1
Merge pull request #60402 from rschu1ze/doc-settings_changes
Document `system.settings_changes`
2024-02-26 13:20:52 +01:00
rogeryk
7a92f542b4 Add setting output_format_pretty_single_large_number_tip_threshold 2024-02-26 20:19:53 +08:00
Robert Schulze
207187ab97
Update docs/en/operations/system-tables/settings_changes.md
Co-authored-by: Yarik Briukhovetskyi <114298166+yariks5s@users.noreply.github.com>
2024-02-26 12:54:27 +01:00
Robert Schulze
6bfa31fbef
Document system.settings_changes 2024-02-26 11:10:23 +00:00
Robert Schulze
5c967c44de
Merge pull request #60248 from ClickHouse/revert-59450-order-by-all-ambiguities
Revert "Replace `ORDER BY ALL` by `ORDER BY *`"
2024-02-26 10:23:41 +01:00
Alexey Milovidov
2eb4d25126 Remove ALTER LIVE VIEW 2024-02-23 22:56:18 +01:00
Robert Schulze
b9f5a2f620
Enable prefer_column_name_to_alias in MySQL Handler, default enable two MySQL settings 2024-02-23 17:42:54 +00:00
Alexander Tokmakov
011c694117 add none_only_active DDL output mode 2024-02-23 13:10:01 +01:00
Raúl Marín
464b5e0e15
Revert "Add definers for views (#54901)"
This reverts commit 57306706b3.
2024-02-23 12:44:31 +01:00
Nikolai Kochetov
dfccd521f3
Merge pull request #60221 from kitaisreal/backups-docs-id-setting
Backups documentation added id setting
2024-02-23 12:09:29 +01:00
Justin de Guzman
e73d53fbc5
[Docs] Fix links 2024-02-23 01:23:36 -08:00
Alex Cheng
aca69a7b97
Update settings.md to correct the description for setting max_concurrent_queries_for_user 2024-02-23 13:49:15 +08:00
Derek Chia
455b492e05
Update settings.md 2024-02-23 11:25:22 +08:00
János Benjamin Antal
7cad0050c0
Disambiguate alter commands list (#59532)
* Add optional parentheses to TTL element and alter command

* Add some basic tests

* Extend tests with more test cases

* Add one more test case

* Add server setting to control new formatting behavior

* Automatic style fix

* Fix segfault in `clickhouse-format` related to new server setting

* Remove format_ttl_expressions_with_parentheses

* Fix unit test compilation failures

* Introduce global flag to control the new formatting behavior

* Revert "Fix segfault in `clickhouse-format` related to new server setting"

This reverts commit d7131a3145.

* Revert accidental changes

* Revert accidental include reorder

* Revert accidental changes

* Enable new format in client and local server

---------

Co-authored-by: robot-clickhouse <robot-clickhouse@users.noreply.github.com>
2024-02-22 19:17:15 +01:00
pufit
57306706b3
Add definers for views (#54901) 2024-02-22 17:47:50 +01:00
Robert Schulze
d2cb434be9
Merge remote-tracking branch 'ClickHouse/master' into revert-59450-order-by-all-ambiguities 2024-02-22 10:12:14 +00:00
Robert Schulze
7930c2a993
Better! 2024-02-21 20:31:49 +00:00
Raúl Marín
453d4d30cf
Revert "Support resource request canceling" 2024-02-21 20:19:00 +01:00