Added storage policy for TTL in each server's config files and jinja templates. Testing needed

This commit is contained in:
Lalit Arvind
2024-11-24 15:21:35 -07:00
parent 52fc788eee
commit 745870bb9c
7 changed files with 83 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
<storage_configuration>
<disks>
<hot_disk>
<path>../clickhouse_data2/hot</path>
<keep_free_space_bytes>300000000</keep_free_space_bytes>
</hot_disk>
<cold_disk>
<path>../clickhouse_data2/cold</path>
<keep_free_space_bytes>500000000</keep_free_space_bytes>
</cold_disk>
</disks>
<policies>
<hot_cold>
<volumes>
<hot_vol>
<disk>hot_disk</disk>
</hot_vol>
<volume_name_2>
<disk>cold_disk</disk>
</volume_name_2>
</volumes>
<move_factor>0.2</move_factor>
</hot_cold>
</policies>
</storage_configuration>