This commit is contained in:
kssenii 2023-07-17 11:26:58 +02:00
parent 2ab6c599a2
commit 1e984da9e6
6 changed files with 3 additions and 8 deletions

View File

@ -17,7 +17,6 @@ SETTINGS min_bytes_for_wide_part = 10485760,
bypass_cache_threashold = 100,
cache_on_write_operations = 1,
enable_filesystem_query_cache_limit = 1,
do_not_evict_index_and_mark_files = 0,
delayed_cleanup_interval_ms = 100,
disk = 's3_disk');
INSERT INTO test SELECT number, toString(number) FROM numbers(100);

View File

@ -18,9 +18,6 @@ SETTINGS min_bytes_for_wide_part = 10485760,
path = '/var/lib/clickhouse/${CLICKHOUSE_TEST_UNIQUE_NAME}_cache',
enable_bypass_cache_with_threashold = 1,
bypass_cache_threashold = 100,
cache_on_write_operations = 1,
enable_filesystem_query_cache_limit = 1,
do_not_evict_index_and_mark_files = 0,
delayed_cleanup_interval_ms = 100,
disk = 's3_disk');

View File

@ -17,7 +17,6 @@ SETTINGS min_bytes_for_wide_part = 10485760,
path = '/var/lib/clickhouse/${CLICKHOUSE_TEST_UNIQUE_NAME}_cache',
cache_on_write_operations= 1,
enable_filesystem_query_cache_limit = 1,
do_not_evict_index_and_mark_files = 0,
delayed_cleanup_interval_ms = 100,
disk = 's3_disk');
SYSTEM DROP FILESYSTEM CACHE;

View File

@ -8,7 +8,6 @@ SET skip_download_if_exceeds_query_cache=1;
SET filesystem_cache_max_download_size=128;
DROP TABLE IF EXISTS test;
SYSTEM DROP FILESYSTEM CACHE;
CREATE TABLE test (key UInt32, value String)
Engine=MergeTree()
ORDER BY key
@ -21,9 +20,9 @@ SETTINGS min_bytes_for_wide_part = 10485760,
path = '/var/lib/clickhouse/${CLICKHOUSE_TEST_UNIQUE_NAME}_cache',
cache_on_write_operations= 1,
enable_filesystem_query_cache_limit = 1,
do_not_evict_index_and_mark_files = 0,
delayed_cleanup_interval_ms = 100,
disk = 's3_disk');
SYSTEM DROP FILESYSTEM CACHE;
INSERT INTO test SELECT number, toString(number) FROM numbers(100);
SELECT * FROM test FORMAT Null;
SELECT file_segment_range_begin, file_segment_range_end, size FROM system.filesystem_cache ORDER BY file_segment_range_end, size;

View File

@ -6,6 +6,7 @@ Using storage policy: s3_cache
1
1
1
0
Using storage policy: local_cache
0
2
@ -14,3 +15,4 @@ Using storage policy: local_cache
1
1
1
0

View File

@ -25,7 +25,6 @@ SETTINGS min_bytes_for_wide_part = 0,
path = '/var/lib/clickhouse/${CLICKHOUSE_TEST_UNIQUE_NAME}_cache',
cache_on_write_operations = 1,
enable_filesystem_query_cache_limit = 1,
do_not_evict_index_and_mark_files = 0,
delayed_cleanup_interval_ms = 100,
disk = 's3_disk');