Repair database
To repair database, go to phpMyAdmin > click database name > Scroll down and select all database > click Repair table
Optimize database
To Optimize database, go to phpMyAdmin > click database name > Scroll down and select all database > click Optimize table