Robert Schulze
b93c56323c
Merge remote-tracking branch 'origin/master' into query-result-cache
2022-12-19 09:18:36 +00:00
Robert Schulze
0285c78eab
Cosmetics
2022-12-17 18:31:04 +00:00
Robert Schulze
bc6bcdfd7b
Allow sharing of cache entries
2022-12-17 18:04:18 +00:00
Robert Schulze
20a7af926e
Normalize AST before QRC insert/lookup
2022-12-17 16:48:11 +00:00
Robert Schulze
aa50b9cf48
Invert config parameter name for more clarity
2022-12-17 15:10:04 +00:00
Robert Schulze
fe5cd9e601
Apply TSA, pt. II
2022-12-16 13:09:55 +00:00
Robert Schulze
8e22b6a968
Apply TSA
2022-12-16 11:23:06 +00:00
Robert Schulze
7297a29d3a
Force Writer/Reader construction via factory methods
2022-12-16 11:14:06 +00:00
Robert Schulze
d1615ec283
Display metrics for query result cache
2022-12-16 10:49:15 +00:00
Robert Schulze
369046ad3f
Move hasNonCacheableFunctions() into QueryResultCache file
2022-12-16 10:38:52 +00:00
Robert Schulze
4db33f16e3
Make DoS attack on cache less likely
2022-12-15 21:42:51 +00:00
Robert Schulze
bcc54ab9b4
Add cfg for min query duration for caching
2022-12-15 20:10:37 +00:00
kssenii
dfefd8dfcd
Fix write-throw-cache possible write finish
2022-12-15 19:58:54 +01:00
kssenii
6bdd9bf932
Fix logical error with do_not_evict_index_and_mrk_files=1
2022-12-15 14:57:25 +01:00
Robert Schulze
f1e367179e
Make maximum record count per item configurable
2022-12-15 11:16:44 +00:00
Robert Schulze
e885b7b343
Simplify a little bit
2022-12-15 10:57:05 +00:00
Robert Schulze
e52dfaf45c
Make number of cached items configurable
2022-12-15 10:08:28 +00:00
Robert Schulze
40b275f8df
Minor renamings for more clarity
2022-12-15 09:48:22 +00:00
Robert Schulze
b78652e138
Query result cache
2022-12-12 10:37:10 +00:00
Vladimir C
7d6950d397
Revert "Temporary files evict fs cache"
2022-12-02 14:50:56 +01:00
vdimir
9bdf01a55c
Do not use in FileSegment::getPathInLocalCache in StorageSystemFilesystemCache
2022-12-01 11:49:26 +00:00
vdimir
1da1adc884
Better finalization in FileSegmentRangeWriter
2022-12-01 11:49:26 +00:00
vdimir
35c4e8ac84
wip: temporary files evict fs cache
2022-12-01 11:49:25 +00:00
vdimir
816af3dc16
wip: temporary files evict fs cache
2022-12-01 11:49:25 +00:00
vdimir
7a814d2854
wip: temporary files evict fs cache
2022-12-01 11:49:24 +00:00
vdimir
98fe3c6c02
Temporary files evict fs cache
2022-12-01 11:49:17 +00:00
Kseniia Sumarokova
c0889e5832
Merge pull request #42418 from KinderRiven/max_cache_download_limit
...
Supports limiting the size of cached data to avoid negative optimization
2022-10-21 19:36:08 +02:00
KinderRiven
ae53ac63c4
fix bypass_cache_threshold
2022-10-19 06:53:44 +00:00
KinderRiven
de3728127c
fix
2022-10-18 14:52:58 +00:00
Pablo Marcos
fbfa2a9885
Fix exception message to be in sync with code
2022-10-18 16:20:18 +02:00
Pablo Marcos
79231412c9
Fix minor typos in code documentation
2022-10-18 16:20:00 +02:00
KinderRiven
f94f491679
impl max_cache_download_limit
2022-10-18 05:05:32 +00:00
Alexander Tokmakov
4175f8cde6
abort instead of __builtin_unreachable in debug builds
2022-10-07 21:49:08 +02:00
Raúl Marín
adbaaca2f5
QOL log improvements ( #41947 )
...
* Uniformize disk reservation logs
* Remove log about destroying stuff that appears all the time
* More tweaks on disk reservation logs
* Reorder logs in hash join
* Remove log that provides little information
* Collapse part removal logs
Co-authored-by: Sergei Trifonov <sergei@clickhouse.com>
2022-10-06 14:22:44 +02:00
Kseniia Sumarokova
21e09f3e1f
Merge pull request #41733 from kssenii/cache-logging-level-reduce
...
Change logging levels in cache
2022-09-24 17:20:46 +02:00
kssenii
c122e4dd1f
Refactor log levels
2022-09-23 15:32:05 +02:00
kssenii
f038c7ea00
Better config for cache
2022-09-22 14:50:29 +02:00
Kseniia Sumarokova
73ccf94778
Update FileCacheSettings.cpp
2022-09-22 12:53:26 +02:00
kssenii
51745dcb43
Fix assertion in write-through cache
2022-09-17 20:20:32 +02:00
Kseniia Sumarokova
3dd28bb79a
Merge pull request #41042 from kssenii/refactor-cache-for-async-download
...
Cache refactoring for async download
2022-09-13 12:26:35 +02:00
kssenii
413fbb6507
Self-review fixes
2022-09-12 15:46:11 +02:00
kssenii
9c2bbcf4a6
Fix
2022-09-11 17:38:51 +02:00
kssenii
37bdba98b1
Fix
2022-09-11 12:58:04 +02:00
Kseniia Sumarokova
5bb40e5856
Change cache setting do_not_evict_index_and_mark_files default to 0. ( #41139 )
2022-09-09 15:04:32 +02:00
kssenii
c2c35278ba
Refactor cache for async download
2022-09-09 13:12:47 +02:00
Kseniia Sumarokova
1370bf0de7
Merge pull request #40820 from kssenii/cache-assert-directory-ownership
...
Create status file for cache directory
2022-09-02 18:42:11 +02:00
kssenii
9ae95f8c04
Fix unit test
2022-09-01 13:11:47 +02:00
kssenii
ca4363e2e3
Merge master
2022-09-01 13:09:00 +02:00
kssenii
0d1f7afb17
Merge remote-tracking branch 'upstream/master' into fix-removing-directories
2022-09-01 12:28:51 +02:00
kssenii
0f747e7987
Move cache files
2022-08-31 17:50:55 +02:00