Size of var dir after migration to mysql8.0

Hi, I noticed that the size of the var directory increased a lot after migrating to mysql8.0.
The reason is that is that till MySQL 5.7 the default value for expire_logs_days is 10 days . But from MySQL 8.0.11 the default value for binlog_expire_logs_seconds is 30 days . What is the reason behind this change?

OS type and version Ubuntu Linux 20.04.5
Webmin version 2.001
Virtualmin version 7-2-1
Related packages SUGGESTED


You’d need to consult MySQL team, Virtualmin installs packages and configurations from distro repo.

1 Like


Generally speaking, if you don’t like a configuration from a package that has been deployed, research the configuration on the vendors website, and make adjustments according to your needs. If in doubt consult a professional for assistance in doing so properly. Though, this is not really a Virtualmin question itself just as an FYI.

MySQL Documentation:

As Peter said, we’re using distro packages for literally everything, except our own software. Most configuration decisions are made upstream of us, including this one. It would either be a choice of the distro packagers or the upstream developer.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.