2022-02-16 13:18:55 +00:00
|
|
|
<clickhouse>
|
|
|
|
<storage_configuration>
|
|
|
|
<disks>
|
2022-07-14 13:40:37 +00:00
|
|
|
<!-- s3 disks -->
|
2022-04-13 13:11:40 +00:00
|
|
|
<s3_disk>
|
2022-02-16 13:18:55 +00:00
|
|
|
<type>s3</type>
|
2022-04-26 10:55:27 +00:00
|
|
|
<path>s3_disk/</path>
|
2022-02-16 15:22:44 +00:00
|
|
|
<endpoint>http://localhost:11111/test/00170_test/</endpoint>
|
|
|
|
<access_key_id>clickhouse</access_key_id>
|
|
|
|
<secret_access_key>clickhouse</secret_access_key>
|
2022-09-27 20:42:39 +00:00
|
|
|
<request_timeout_ms>20000</request_timeout_ms>
|
2022-04-13 13:11:40 +00:00
|
|
|
</s3_disk>
|
2022-05-17 13:58:16 +00:00
|
|
|
<s3_disk_2>
|
|
|
|
<type>s3</type>
|
|
|
|
<path>s3_disk_2/</path>
|
|
|
|
<endpoint>http://localhost:11111/test/00170_test/</endpoint>
|
|
|
|
<access_key_id>clickhouse</access_key_id>
|
|
|
|
<secret_access_key>clickhouse</secret_access_key>
|
2022-09-27 20:42:39 +00:00
|
|
|
<request_timeout_ms>20000</request_timeout_ms>
|
2022-05-17 13:58:16 +00:00
|
|
|
</s3_disk_2>
|
2022-05-27 23:17:08 +00:00
|
|
|
<s3_disk_3>
|
|
|
|
<type>s3</type>
|
|
|
|
<path>s3_disk_3/</path>
|
|
|
|
<endpoint>http://localhost:11111/test/00170_test/</endpoint>
|
|
|
|
<access_key_id>clickhouse</access_key_id>
|
|
|
|
<secret_access_key>clickhouse</secret_access_key>
|
2022-09-27 20:42:39 +00:00
|
|
|
<request_timeout_ms>20000</request_timeout_ms>
|
2022-05-27 23:17:08 +00:00
|
|
|
</s3_disk_3>
|
2022-06-13 15:35:48 +00:00
|
|
|
<s3_disk_4>
|
2022-06-08 08:11:12 +00:00
|
|
|
<type>s3</type>
|
2022-06-13 15:35:48 +00:00
|
|
|
<path>s3_disk_4/</path>
|
2022-06-08 08:11:12 +00:00
|
|
|
<endpoint>http://localhost:11111/test/00170_test/</endpoint>
|
|
|
|
<access_key_id>clickhouse</access_key_id>
|
|
|
|
<secret_access_key>clickhouse</secret_access_key>
|
2022-09-27 20:42:39 +00:00
|
|
|
<request_timeout_ms>20000</request_timeout_ms>
|
2022-06-13 15:35:48 +00:00
|
|
|
</s3_disk_4>
|
2022-07-14 15:30:44 +00:00
|
|
|
<s3_disk_5>
|
|
|
|
<type>s3</type>
|
|
|
|
<path>s3_disk_5/</path>
|
|
|
|
<endpoint>http://localhost:11111/test/00170_test/</endpoint>
|
|
|
|
<access_key_id>clickhouse</access_key_id>
|
|
|
|
<secret_access_key>clickhouse</secret_access_key>
|
2022-09-27 20:42:39 +00:00
|
|
|
<request_timeout_ms>20000</request_timeout_ms>
|
2022-07-14 15:30:44 +00:00
|
|
|
</s3_disk_5>
|
2022-08-10 13:55:09 +00:00
|
|
|
<s3_disk_6>
|
|
|
|
<type>s3</type>
|
|
|
|
<path>s3_disk_6/</path>
|
|
|
|
<endpoint>http://localhost:11111/test/00170_test/</endpoint>
|
|
|
|
<access_key_id>clickhouse</access_key_id>
|
|
|
|
<secret_access_key>clickhouse</secret_access_key>
|
2022-09-27 20:42:39 +00:00
|
|
|
<request_timeout_ms>20000</request_timeout_ms>
|
2022-08-10 13:55:09 +00:00
|
|
|
</s3_disk_6>
|
2022-07-14 13:40:37 +00:00
|
|
|
<!-- cache for s3 disks -->
|
|
|
|
<s3_cache>
|
|
|
|
<type>cache</type>
|
|
|
|
<disk>s3_disk</disk>
|
2022-09-22 12:49:35 +00:00
|
|
|
<path>s3_cache/</path>
|
|
|
|
<max_size>2147483648</max_size>
|
2022-07-14 13:40:37 +00:00
|
|
|
<cache_on_write_operations>1</cache_on_write_operations>
|
2022-08-10 13:55:09 +00:00
|
|
|
<do_not_evict_index_and_mark_files>0</do_not_evict_index_and_mark_files>
|
2022-07-14 13:40:37 +00:00
|
|
|
</s3_cache>
|
2022-04-26 12:23:23 +00:00
|
|
|
<s3_cache_2>
|
|
|
|
<type>cache</type>
|
|
|
|
<disk>s3_disk_2</disk>
|
2022-05-30 22:46:21 +00:00
|
|
|
<path>s3_cache_2/</path>
|
2022-09-22 12:49:35 +00:00
|
|
|
<max_size>2Gi</max_size>
|
2022-08-10 13:55:09 +00:00
|
|
|
<do_not_evict_index_and_mark_files>0</do_not_evict_index_and_mark_files>
|
2022-09-22 15:00:48 +00:00
|
|
|
<max_file_segment_size>100Mi</max_file_segment_size>
|
2022-04-25 16:49:00 +00:00
|
|
|
</s3_cache_2>
|
2022-05-26 08:36:26 +00:00
|
|
|
<s3_cache_3>
|
2022-05-27 23:17:08 +00:00
|
|
|
<type>cache</type>
|
|
|
|
<disk>s3_disk_3</disk>
|
|
|
|
<path>s3_disk_3_cache/</path>
|
|
|
|
<max_size>22548578304</max_size>
|
2022-05-26 08:36:26 +00:00
|
|
|
<data_cache_max_size>22548578304</data_cache_max_size>
|
|
|
|
<cache_on_write_operations>1</cache_on_write_operations>
|
|
|
|
<enable_cache_hits_threshold>1</enable_cache_hits_threshold>
|
2022-08-10 13:55:09 +00:00
|
|
|
<do_not_evict_index_and_mark_files>0</do_not_evict_index_and_mark_files>
|
2022-05-26 08:36:26 +00:00
|
|
|
</s3_cache_3>
|
2022-07-14 13:40:37 +00:00
|
|
|
<s3_cache_4>
|
|
|
|
<type>cache</type>
|
|
|
|
<disk>s3_disk_4</disk>
|
|
|
|
<path>s3_cache_4/</path>
|
|
|
|
<max_size>22548578304</max_size>
|
|
|
|
<cache_on_write_operations>1</cache_on_write_operations>
|
|
|
|
<enable_filesystem_query_cache_limit>1</enable_filesystem_query_cache_limit>
|
2022-08-10 13:55:09 +00:00
|
|
|
<do_not_evict_index_and_mark_files>0</do_not_evict_index_and_mark_files>
|
2022-07-14 13:40:37 +00:00
|
|
|
</s3_cache_4>
|
2022-07-14 15:30:44 +00:00
|
|
|
<s3_cache_5>
|
|
|
|
<type>cache</type>
|
|
|
|
<disk>s3_disk_5</disk>
|
|
|
|
<path>s3_cache_5/</path>
|
|
|
|
<max_size>22548578304</max_size>
|
2022-08-10 13:55:09 +00:00
|
|
|
<do_not_evict_index_and_mark_files>0</do_not_evict_index_and_mark_files>
|
2022-07-14 15:30:44 +00:00
|
|
|
</s3_cache_5>
|
2022-10-19 06:54:09 +00:00
|
|
|
<s3_cache_6>
|
|
|
|
<type>cache</type>
|
|
|
|
<disk>s3_disk_6</disk>
|
|
|
|
<path>s3_cache_6/</path>
|
|
|
|
<max_size>22548578304</max_size>
|
|
|
|
<do_not_evict_index_and_mark_files>0</do_not_evict_index_and_mark_files>
|
|
|
|
<enable_bypass_cache_with_threashold>1</enable_bypass_cache_with_threashold>
|
|
|
|
<bypass_cache_threashold>100</bypass_cache_threashold>
|
|
|
|
</s3_cache_6>
|
2022-08-10 13:55:09 +00:00
|
|
|
<s3_cache_small>
|
|
|
|
<type>cache</type>
|
|
|
|
<disk>s3_disk_6</disk>
|
|
|
|
<path>s3_cache_small/</path>
|
|
|
|
<max_size>1000</max_size>
|
|
|
|
<do_not_evict_index_and_mark_files>1</do_not_evict_index_and_mark_files>
|
|
|
|
</s3_cache_small>
|
2022-07-14 13:40:37 +00:00
|
|
|
<!-- local disks -->
|
2022-04-26 10:55:27 +00:00
|
|
|
<local_disk>
|
|
|
|
<type>local</type>
|
|
|
|
<path>local_disk/</path>
|
|
|
|
</local_disk>
|
2022-07-14 13:40:37 +00:00
|
|
|
<local_disk_2>
|
|
|
|
<type>local</type>
|
|
|
|
<path>local_disk_2/</path>
|
|
|
|
</local_disk_2>
|
|
|
|
<local_disk_3>
|
|
|
|
<type>local</type>
|
|
|
|
<path>local_disk_3/</path>
|
|
|
|
</local_disk_3>
|
|
|
|
<!-- cache for local disks -->
|
2022-04-26 10:55:27 +00:00
|
|
|
<local_cache>
|
|
|
|
<type>cache</type>
|
|
|
|
<disk>local_disk</disk>
|
2022-05-13 17:22:22 +00:00
|
|
|
<path>local_cache/</path>
|
2022-04-26 10:55:27 +00:00
|
|
|
<max_size>22548578304</max_size>
|
|
|
|
<cache_on_write_operations>1</cache_on_write_operations>
|
2022-08-10 13:55:09 +00:00
|
|
|
<do_not_evict_index_and_mark_files>0</do_not_evict_index_and_mark_files>
|
2022-04-26 10:55:27 +00:00
|
|
|
</local_cache>
|
2022-05-30 22:46:21 +00:00
|
|
|
<local_cache_2>
|
|
|
|
<type>cache</type>
|
|
|
|
<disk>local_disk</disk>
|
|
|
|
<path>local_cache_2/</path>
|
|
|
|
<max_size>22548578304</max_size>
|
2022-08-10 13:55:09 +00:00
|
|
|
<do_not_evict_index_and_mark_files>0</do_not_evict_index_and_mark_files>
|
2022-05-30 22:46:21 +00:00
|
|
|
</local_cache_2>
|
2022-05-27 18:52:30 +00:00
|
|
|
<local_cache_3>
|
|
|
|
<type>cache</type>
|
|
|
|
<disk>local_disk_3</disk>
|
|
|
|
<path>local_cache_3/</path>
|
|
|
|
<max_size>22548578304</max_size>
|
|
|
|
<cache_on_write_operations>1</cache_on_write_operations>
|
|
|
|
<enable_cache_hits_threshold>1</enable_cache_hits_threshold>
|
2022-08-10 13:55:09 +00:00
|
|
|
<do_not_evict_index_and_mark_files>0</do_not_evict_index_and_mark_files>
|
2022-05-27 18:52:30 +00:00
|
|
|
</local_cache_3>
|
2022-07-14 15:30:44 +00:00
|
|
|
<!-- multi layer cache -->
|
|
|
|
<s3_cache_multi>
|
|
|
|
<type>cache</type>
|
|
|
|
<disk>s3_cache_5</disk>
|
|
|
|
<path>s3_cache_multi/</path>
|
|
|
|
<max_size>22548578304</max_size>
|
2022-08-10 13:55:09 +00:00
|
|
|
<do_not_evict_index_and_mark_files>0</do_not_evict_index_and_mark_files>
|
2022-07-14 15:30:44 +00:00
|
|
|
</s3_cache_multi>
|
|
|
|
<s3_cache_multi_2>
|
|
|
|
<type>cache</type>
|
|
|
|
<disk>s3_cache_multi</disk>
|
|
|
|
<path>s3_cache_multi_2/</path>
|
|
|
|
<max_size>22548578304</max_size>
|
2022-08-10 13:55:09 +00:00
|
|
|
<do_not_evict_index_and_mark_files>0</do_not_evict_index_and_mark_files>
|
2022-07-14 15:30:44 +00:00
|
|
|
</s3_cache_multi_2>
|
2022-02-16 13:18:55 +00:00
|
|
|
</disks>
|
|
|
|
<policies>
|
2022-02-21 19:01:58 +00:00
|
|
|
<s3_cache>
|
2022-02-16 13:18:55 +00:00
|
|
|
<volumes>
|
|
|
|
<main>
|
2022-02-21 19:01:58 +00:00
|
|
|
<disk>s3_cache</disk>
|
2022-02-16 13:18:55 +00:00
|
|
|
</main>
|
|
|
|
</volumes>
|
2022-02-21 19:01:58 +00:00
|
|
|
</s3_cache>
|
2022-05-17 13:58:16 +00:00
|
|
|
<s3_cache_2>
|
2022-04-26 10:55:27 +00:00
|
|
|
<volumes>
|
|
|
|
<main>
|
2022-05-17 13:58:16 +00:00
|
|
|
<disk>s3_cache_2</disk>
|
2022-04-26 10:55:27 +00:00
|
|
|
</main>
|
|
|
|
</volumes>
|
2022-05-17 13:58:16 +00:00
|
|
|
</s3_cache_2>
|
2022-05-26 08:36:26 +00:00
|
|
|
<s3_cache_3>
|
|
|
|
<volumes>
|
|
|
|
<main>
|
|
|
|
<disk>s3_cache_3</disk>
|
|
|
|
</main>
|
|
|
|
</volumes>
|
|
|
|
</s3_cache_3>
|
2022-07-14 13:40:37 +00:00
|
|
|
<s3_cache_4>
|
|
|
|
<volumes>
|
|
|
|
<main>
|
|
|
|
<disk>s3_cache_4</disk>
|
|
|
|
</main>
|
|
|
|
</volumes>
|
|
|
|
</s3_cache_4>
|
2022-10-19 06:54:09 +00:00
|
|
|
<s3_cache_6>
|
|
|
|
<volumes>
|
|
|
|
<main>
|
|
|
|
<disk>s3_cache_6</disk>
|
|
|
|
</main>
|
|
|
|
</volumes>
|
|
|
|
</s3_cache_6>
|
2022-07-14 15:30:44 +00:00
|
|
|
<s3_cache_multi>
|
|
|
|
<volumes>
|
|
|
|
<main>
|
|
|
|
<disk>s3_cache_multi_2</disk>
|
|
|
|
</main>
|
|
|
|
</volumes>
|
|
|
|
</s3_cache_multi>
|
2022-08-10 19:09:18 +00:00
|
|
|
<s3_cache_small>
|
|
|
|
<volumes>
|
|
|
|
<main>
|
|
|
|
<disk>s3_cache_small</disk>
|
|
|
|
</main>
|
|
|
|
</volumes>
|
|
|
|
</s3_cache_small>
|
2022-05-17 13:58:16 +00:00
|
|
|
<local_cache>
|
2022-04-25 16:49:00 +00:00
|
|
|
<volumes>
|
|
|
|
<main>
|
2022-05-17 13:58:16 +00:00
|
|
|
<disk>local_cache</disk>
|
2022-04-25 16:49:00 +00:00
|
|
|
</main>
|
|
|
|
</volumes>
|
2022-05-17 13:58:16 +00:00
|
|
|
</local_cache>
|
2022-06-01 17:58:28 +00:00
|
|
|
<local_cache_2>
|
|
|
|
<volumes>
|
|
|
|
<main>
|
|
|
|
<disk>local_cache_2</disk>
|
|
|
|
</main>
|
|
|
|
</volumes>
|
|
|
|
</local_cache_2>
|
2022-05-27 18:52:30 +00:00
|
|
|
<local_cache_3>
|
|
|
|
<volumes>
|
|
|
|
<main>
|
|
|
|
<disk>local_cache_3</disk>
|
|
|
|
</main>
|
|
|
|
</volumes>
|
|
|
|
</local_cache_3>
|
2022-02-16 13:18:55 +00:00
|
|
|
</policies>
|
|
|
|
</storage_configuration>
|
|
|
|
</clickhouse>
|