ClickHouse/tests/integration/test_system_logs/configs/system_logs_engine.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>