mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 02:41:59 +00:00
49 lines
1.4 KiB
XML
49 lines
1.4 KiB
XML
<clickhouse>
|
|
<storage_configuration>
|
|
<disks>
|
|
<s3_disk>
|
|
<type>s3</type>
|
|
<endpoint>http://minio1:9001/root/data/</endpoint>
|
|
<access_key_id>minio</access_key_id>
|
|
<secret_access_key>minio123</secret_access_key>
|
|
</s3_disk>
|
|
<s3_cache_disk>
|
|
<!-- used as a temporary data storage -->
|
|
<type>cache</type>
|
|
<disk>s3_disk</disk>
|
|
<path>./s3_cache_disk/</path>
|
|
<max_size>10Gi</max_size>
|
|
</s3_cache_disk>
|
|
</disks>
|
|
|
|
<policies>
|
|
<s3_and_default>
|
|
<volumes>
|
|
<main>
|
|
<disk>default</disk>
|
|
</main>
|
|
<external>
|
|
<disk>s3_disk</disk>
|
|
</external>
|
|
</volumes>
|
|
</s3_and_default>
|
|
<s3>
|
|
<volumes>
|
|
<main>
|
|
<disk>s3_disk</disk>
|
|
</main>
|
|
</volumes>
|
|
</s3>
|
|
</policies>
|
|
</storage_configuration>
|
|
|
|
<merge_tree>
|
|
<allow_remote_fs_zero_copy_replication>true</allow_remote_fs_zero_copy_replication>
|
|
<ratio_of_defaults_for_sparse_serialization>1.0</ratio_of_defaults_for_sparse_serialization>
|
|
</merge_tree>
|
|
|
|
<temporary_data_in_cache>s3_cache_disk</temporary_data_in_cache>
|
|
|
|
<allow_remove_stale_moving_parts>true</allow_remove_stale_moving_parts>
|
|
</clickhouse>
|