1. Log into your cPanel account.
2.click on “phpMyAdmin” Icon,In the “Databases” section.
3. To expand database Click on the expand button like “example”, in the left sidebar.
4. Beneath your cPanel username, you can see the list of all databases, Choose proper database which you want to optimize.
5. Scroll down and mark “Check All” then click on the Drop-down option and select “Optimize tables”.
Table successfully optimized.