mysql: make binlog have 5 day expiry

This commit is contained in:
Girish Ramakrishnan
2021-02-24 09:19:23 -08:00
parent 9c413ffe3d
commit 38607048ee
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ collation-server = utf8mb4_unicode_ci
default_time_zone='+00:00'
# keep mysql binlogs under check
expire_logs_days = 10
expire_logs_days = 5
max_binlog_size = 100M
[mysqldump]

View File

@@ -16,7 +16,7 @@ collation-server = utf8mb4_unicode_ci
default_time_zone='+00:00'
# keep mysql binlogs under check
binlog_expire_logs_seconds = 864000
binlog_expire_logs_seconds = 432000
max_binlog_size = 100M
[mysqldump]