MySQL OPTIMIZE tables?
mysqlcheck -u -p[password] -o [database name]
Related Posts
10 MySQL settings to tune after installation
https://www.percona.com/blog/2014/01/28/10-mysql-settings-to-tune-after-installation/
phpMyadmin installation and configuration
https://docs.phpmyadmin.net/en/latest/setup.html#setup_script
