Add delete by ttl for zookeeper_log (#45419)

This commit is contained in:
Nikita Taranov 2023-01-19 13:42:16 +01:00 committed by GitHub
parent ccd41e6d14
commit fdea042991
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,5 +3,6 @@
<database>system</database>
<table>zookeeper_log</table>
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
<ttl>event_date + INTERVAL 1 WEEK DELETE</ttl>
</zookeeper_log>
</clickhouse>