diff --git a/clickhouse-admin/types/src/config.rs b/clickhouse-admin/types/src/config.rs
index 27eb569b91..120ff32312 100644
--- a/clickhouse-admin/types/src/config.rs
+++ b/clickhouse-admin/types/src/config.rs
@@ -132,6 +132,38 @@ impl ReplicaConfig {
10000
+
+ system
+
+
+ Engine = MergeTree ORDER BY event_time TTL event_date + INTERVAL 30 DAY
+ 7500
+ 1000
+ 1048576
+ 8192
+ 524288
+ false
+
+
+
+ system
+
+
+ Engine = MergeTree ORDER BY event_time TTL event_date + INTERVAL 30 DAY
+ 7500
+ 1000
+ 1048576
+ 8192
+ 524288
+ false
+
+
{temp_files_path}
{user_files_path}
default
diff --git a/clickhouse-admin/types/testutils/replica-server-config.xml b/clickhouse-admin/types/testutils/replica-server-config.xml
index 3aeacd073d..8a0687e9af 100644
--- a/clickhouse-admin/types/testutils/replica-server-config.xml
+++ b/clickhouse-admin/types/testutils/replica-server-config.xml
@@ -49,6 +49,38 @@
10000
+
+ system
+
+
+ Engine = MergeTree ORDER BY event_time TTL event_date + INTERVAL 30 DAY
+ 7500
+ 1000
+ 1048576
+ 8192
+ 524288
+ false
+
+
+
+ system
+
+
+ Engine = MergeTree ORDER BY event_time TTL event_date + INTERVAL 30 DAY
+ 7500
+ 1000
+ 1048576
+ 8192
+ 524288
+ false
+
+
./data/tmp
./data/user_files
default
diff --git a/smf/clickhouse/config.xml b/smf/clickhouse/config.xml
index 58ae5dcaf5..352023300a 100644
--- a/smf/clickhouse/config.xml
+++ b/smf/clickhouse/config.xml
@@ -13,6 +13,38 @@
10000
+
+ system
+
+
+ Engine = MergeTree ORDER BY event_time TTL event_date + INTERVAL 30 DAY
+ 7500
+ 1000
+ 1048576
+ 8192
+ 524288
+ false
+
+
+
+ system
+
+
+ Engine = MergeTree ORDER BY event_time TTL event_date + INTERVAL 30 DAY
+ 7500
+ 1000
+ 1048576
+ 8192
+ 524288
+ false
+
+
true
9000