we have configured the below settings in our configuration file.
--innodb_file_per_table=1
--innodb_undo_tablespaces=3
--innodb_undo_directory=/var/lib/mysql/
--innodb_undo_log_truncate=ON
--innodb_max_undo_log_size=10737418240
However, the size of undo log files have reached more than 15GB and they are not truncating as per the set size of 10GB.
Can not restart or shutdown server. Any advise, what needs to be changed or add will be appreciated.
I have enabled the possible parameters that can solve the issue. I would like to truncate the undo log once they reached 10GB
https://mariadb.com/kb/en/innodb-system-variables/#innodb_max_undo_log_size
innodb_max_undo_log_size
https://mariadb.com/kb/en/innodb-system-variables/#innodb_undo_log_truncate
innodb_undo_log_truncate
https://mariadb.com/kb/en/innodb-system-variables/#innodb_purge_rseg_truncate_frequency
innodb_purge_rseg_truncate_frequency
But note the change being made in 10.11.6.
Alas, these docs don't seem to answer your question.
There may be more insight here: https://jira.mariadb.org/browse/MDEV-32050