In this blog we are going to view about a new feature in latest release MySQL 8.0.1 for MySQL Replication . It is binlog_expire_logs_seconds.
Previously we can set the expire logs for binlogs in number of days. By using the new feature (binlog_expire_logs_seconds) we can see set the expire time into number of seconds.
The both expire_logs_days and binlog_expire_logs_seconds works when the binlog rotate happens in the server.
The ultimate usage of this feature will be used to set expire periods smaller than a day by providing another extra variable.
The new variable binlog_expire_logs_seconds, can be used in those cases where the expire period is not an integral …
[Read more]