v.20.1New Feature
Add Disk Migration Based on TTL for MergeTree Table Engines
Add ability to move data between disks according to configuredTTL-expressions for*MergeTreetable engines family. #8140 (Vladimir Chebotarev)
Why it matters
This feature enables automated data management by relocating data to appropriate storage devices over time according to user-definedTTL rules. It helps optimize storage usage and costs by allowing older or less frequently accessed data to be stored on cheaper or slower disks, improving overall system efficiency.How to use it
DefineTTL expressions in the table schema that specify data lifecycle rules including movement between disks. ClickHouse will automatically execute these rules and move data parts accordingly without manual intervention.