mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Better config
This commit is contained in:
parent
f11fc650ee
commit
566aeaa17a
@ -29,17 +29,6 @@
|
||||
<background_download_threads>0</background_download_threads>
|
||||
<background_download_queue_size_limit>0</background_download_queue_size_limit>
|
||||
</s3_cache_02933>
|
||||
<s3_cache_02944>
|
||||
<type>cache</type>
|
||||
<disk>s3_disk</disk>
|
||||
<path>s3_cache_02944/</path>
|
||||
<max_size>100</max_size>
|
||||
<max_elements>100</max_elements>
|
||||
<max_file_segment_size>10</max_file_segment_size>
|
||||
<boundary_alignment>10</boundary_alignment>
|
||||
<delayed_cleanup_interval_ms>100</delayed_cleanup_interval_ms>
|
||||
<cache_on_write_operations>0</cache_on_write_operations>
|
||||
</s3_cache_02944>
|
||||
<!-- local disks -->
|
||||
<local_disk>
|
||||
<type>local_blob_storage</type>
|
||||
|
25
tests/config/config.d/storage_conf_02944.xml
Normal file
25
tests/config/config.d/storage_conf_02944.xml
Normal file
@ -0,0 +1,25 @@
|
||||
<clickhouse>
|
||||
<storage_configuration>
|
||||
<disks>
|
||||
<s3_disk_02944>
|
||||
<type>s3</type>
|
||||
<path>s3_disk/</path>
|
||||
<endpoint>http://localhost:11111/test/test_02944/</endpoint>
|
||||
<access_key_id>clickhouse</access_key_id>
|
||||
<secret_access_key>clickhouse</secret_access_key>
|
||||
<request_timeout_ms>20000</request_timeout_ms>
|
||||
</s3_disk_02944>
|
||||
<s3_cache_02944>
|
||||
<type>cache</type>
|
||||
<disk>s3_disk</disk>
|
||||
<path>s3_cache_02944/</path>
|
||||
<max_size>100</max_size>
|
||||
<max_elements>10</max_elements>
|
||||
<max_file_segment_size>10</max_file_segment_size>
|
||||
<boundary_alignment>10</boundary_alignment>
|
||||
<delayed_cleanup_interval_ms>100</delayed_cleanup_interval_ms>
|
||||
<cache_on_write_operations>0</cache_on_write_operations>
|
||||
</s3_cache_02944>
|
||||
</disks>
|
||||
</storage_configuration>
|
||||
</clickhouse>
|
@ -156,6 +156,7 @@ if [[ -n "$EXPORT_S3_STORAGE_POLICIES" ]]; then
|
||||
fi
|
||||
|
||||
ln -sf $SRC_PATH/config.d/storage_conf.xml $DEST_SERVER_PATH/config.d/
|
||||
ln -sf $SRC_PATH/config.d/storage_conf_02944.xml $DEST_SERVER_PATH/config.d/
|
||||
ln -sf $SRC_PATH/users.d/s3_cache.xml $DEST_SERVER_PATH/users.d/
|
||||
ln -sf $SRC_PATH/users.d/s3_cache_new.xml $DEST_SERVER_PATH/users.d/
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user