alesapin
f5c5146153
[RFC] Try to add global Real and CPU trace collector
2024-04-02 18:04:53 +02:00
serxa
c31b958f88
Merge branch 'master' into async-loader-waiters-limit
2024-03-21 10:58:22 +00:00
Raúl Marín
de855ca917
Reduce header dependencies
2024-03-19 17:04:29 +01:00
Han Fei
8a54c85f3c
Merge pull request #61049 from hanfei1991/hanfei/check-limit-periodically
...
Check cgroups memory limit update periodically
2024-03-18 15:15:46 +01:00
Robert Schulze
fe86741059
Some fixups
2024-03-18 10:44:56 +00:00
Robert Schulze
4e12b5dc91
Some fixups
2024-03-13 16:54:20 +00:00
Robert Schulze
ce665eae30
Doc fixups
2024-03-13 15:13:17 +00:00
alesapin
9b1d8a2f52
fix style
2024-03-13 14:15:34 +01:00
alesapin
6203d45b96
working version with comments
2024-03-13 13:12:48 +01:00
Han Fei
c7c64636d0
add a test
2024-03-12 23:31:33 +01:00
serxa
5b796e1f42
Merge branch 'master' into async-loader-waiters-limit
2024-03-10 15:20:27 +00:00
Sema Checherinda
5c41727725
http connections pools
2024-03-10 10:00:18 +01:00
Han Fei
c01a6775d7
fix style
2024-03-09 02:28:39 +01:00
Han Fei
4997f95426
fix build
2024-03-08 17:30:58 +01:00
Han Fei
c92fb8700f
Merge branch 'master' into hanfei/check-limit-periodically
2024-03-08 03:59:41 +01:00
serxa
0f0ea422f2
separate limits on number of waiting and executing queries
2024-03-07 17:05:54 +00:00
Han Fei
7fd13df8a5
check memory limit periodically
2024-03-07 17:21:03 +01:00
Robert Schulze
b5a7ef5fd3
Merge remote-tracking branch 'rschu1ze/master' into clang-tidy-hdr
2024-03-05 11:24:28 +00:00
Alexey Milovidov
a7430004b3
Fix real time query profiler on AArch64
2024-03-04 18:13:49 +01:00
Alexey Milovidov
de6c5d3a40
Merge pull request #60552 from ClickHouse/pc2
...
Userspace page cache again
2024-03-04 17:47:35 +03:00
Robert Schulze
af6755f241
Merge remote-tracking branch 'rschu1ze/master' into clang-tidy-hdr
2024-03-01 11:45:21 +00: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
Alexander Tokmakov
15e1191f74
Revert "Userspace page cache ( #53770 )"
...
This reverts commit 7b55c61551
.
2024-02-29 13:20:17 +01: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
2744fc0c2d
rename dns_cache_max_size to dns_cache_max_entries
2024-02-29 02:32:13 +03:00
Robert Schulze
3b18eb4f17
Fix clang-tidy in some headers
2024-02-28 22:47:34 +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
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
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
Alexander Tokmakov
64a80f1011
Fix default path when path is not specified in config ( #59654 )
...
* Update Server.cpp
* Update SentryWriter.cpp
* Update Keeper.cpp
* Update SentryWriter.cpp
2024-02-21 20:33:39 +01:00
Sergei Trifonov
6e3fddf4a3
Merge pull request #59313 from ClickHouse/abstract-concurrency-control
...
Split `ISlotControl` from `ConcurrencyControl`
2024-02-21 15:04:03 +01:00
Robert Schulze
ba9661a5d4
Merge remote-tracking branch 'rschu1ze/master' into cgroup-observing-memory-tracker
2024-02-19 09:54:08 +00:00
Alexey Milovidov
509d8ee99c
Apply review comments
2024-02-17 01:54:54 +01:00
Alexey Milovidov
39f363ba6e
Print CPU flags at startup
2024-02-16 13:09:07 +01:00
Alexey Milovidov
5b83e771ed
Print CPU flags at startup
2024-02-16 13:06:57 +01:00
Konstantin Bogdanov
914fd27d5b
Add PlacementInfo
2024-02-14 10:19:36 +01:00
Robert Schulze
7b7ea6d477
Merge remote-tracking branch 'rschu1ze/master' into cgroup-observing-memory-tracker
2024-02-14 08:56:22 +00:00
Azat Khuzhin
e6d96e4325
Better warning for disabled kernel.task_delayacct
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-02-10 14:49:43 +01:00
Robert Schulze
f6f1fd4d26
Initial implementation
2024-02-08 16:06:44 +00:00
Konstantin Bogdanov
5894fa9860
0
means number of cores
2024-02-06 19:10:34 +01:00
Konstantin Bogdanov
5969668503
Concurrent table creation in DatabaseReplicated
2024-02-01 09:51:52 +01:00
serxa
ba85642453
split ISlotControl from ConcurrencyControl
2024-01-28 20:26:55 +00:00
Sergei Trifonov
4fb511bfb3
Merge pull request #59137 from ClickHouse/fix-async-loader-shutdown-deadlock
...
Fix not started database shutdown deadlock
2024-01-26 11:21:13 +01:00
Maksim Kita
2a327107b6
Updated implementation
2024-01-25 14:31:49 +03:00
serxa
8728ab768f
Fix not started database shutdown deadlock
2024-01-23 19:01:57 +00:00
Robert Schulze
e23e7e6b73
Merge pull request #53710 from rschu1ze/system-reload-asynchronous-metrics
...
Add statement `SYSTEM RELOAD ASYNCHRONOUS METRICS`
2024-01-23 11:56:25 +01:00
serxa
7b99d9a176
wait for currently running jobs to finish #2
2024-01-22 23:50:53 +00:00
serxa
1d6d1182fd
Fix server shutdown due to exception while loading metadata
2024-01-22 19:38:26 +00:00
Robert Schulze
90a0ea36b3
Add statement 'SYSTEM RELOAD ASYNCHRONOUS METRICS'
2024-01-22 17:14:58 +00:00
Vitaly Baranov
01aafda27b
Merge pull request #58804 from vitlibar/allow-kill-query-for-backups
...
Allow KILL QUERY for backups
2024-01-20 23:48:18 +01:00