We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 377c2e8 commit fd7fe91Copy full SHA for fd7fe91
mariadb/conf/conf.d/ee-override.cnf
@@ -0,0 +1,15 @@
1
+[mysqld]
2
+# - Uncontrolled binlog growth can consume excessive disk space
3
+# - Traditional methods (expire_logs_days, max_binlog_size) only limit:
4
+# * Individual file size OR
5
+# * Retention period
6
+# → No total storage cap
7
+#
8
+# binlog_space_limit
9
+# - Mechanism:
10
+# 1. Sets hard limit for ALL binlogs combined (bytes)
11
+# 2. Auto-purges oldest files when limit reached
12
+# 3. Always retains newest logs for recovery/replication
13
+
14
+max_binlog_size = 100M # Max per-file size (avoids oversized files)
15
+binlog_space_limit = 2G # Total storage cap (self-cleaning mechanism)
0 commit comments