mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
6 lines
238 B
XML
6 lines
238 B
XML
<clickhouse>
|
|
<query_log>
|
|
<engine>Engine = MergeTree PARTITION BY event_date ORDER BY event_time TTL event_date + INTERVAL 30 day SETTINGS storage_policy='policy2', ttl_only_drop_parts=1</engine>
|
|
</query_log>
|
|
</clickhouse>
|