1. Log in to your cPanel account.

2. In the Databases section, click on phpMyAdmin.
phpmyadmin icon


3. Click on the Expand icon from the navigation tree in the left sidebar.
phpmyadmin expand db

4. Scroll down and mark Check All. Click on the drop-down option and select Optimize tables.
optimize db


The table has been successfully optimized.