Useful commands
Show status
show table status;
Purging MySQL Binlog files
To show binary logs
mysql> SHOW BINARY LOGS;
To Purge binary logs manually until some point
mysql> PURGE BINARY LOGS TO 'binlog.000776';
To show binary logs
mysql> SET GLOBAL binlog_expire_logs_seconds = 259200;
Query OK, 0 rows affected (0.00 sec)
mysql> SET PERSIST binlog_expire_logs_seconds = 259200;
Query OK, 0 rows affected (0.01 sec)
https://askubuntu.com/questions/1322041/how-to-solve-increasing-size-of-mysql-binlog-files-problem
https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html