ttl tested

This commit is contained in:
2024-11-29 13:18:24 -07:00
parent c013d9cc67
commit 6afaa613b2
7 changed files with 39 additions and 38 deletions

View File

@@ -13,7 +13,7 @@ CREATE TABLE traffic_records (
'{replica}'
)
ORDER BY time_stamp
TTL toDateTime(time_stamp) + INTERVAL 15 DAY TO VOLUME 'cold_vol'
TTL toDateTime(time_stamp) + INTERVAL 410 DAY TO VOLUME 'cold_vol' -- october 15
SETTINGS storage_policy = 'hot_cold';
CREATE TABLE ip_region_map (