ClickHouse/tests/config/config.d/s3_storage_policy_by_default.xml
2022-09-23 16:46:53 +02:00

25 lines
764 B
XML

<clickhouse>
<storage_configuration>
<disks>
<s3>
<type>s3</type>
<endpoint>http://localhost:11111/test/test/</endpoint>
<access_key_id>clickhouse</access_key_id>
<secret_access_key>clickhouse</secret_access_key>
<data_cache_enabled>1</data_cache_enabled>
<data_cache_max_size>22548578304</data_cache_max_size>
</s3>
</disks>
<policies>
<s3>
<volumes>
<main><disk>s3</disk></main>
</volumes>
</s3>
</policies>
</storage_configuration>
<merge_tree>
<storage_policy>s3</storage_policy>
</merge_tree>
</clickhouse>