Your country & currency

Make yourself at home. Choose your preferred shopping currency.

Your selected country opens its KickHost website. Your shopping currency is saved. Visit country website .

Guide

How to Optimize a Database via phpMyAdmin in cPanel

Optimize a database with phpMyAdmin in cPanel to clean up overhead. Steps for KickHost customers in Kenya, with backup advice.

Share

Over time, busy databases such as WordPress accumulate overhead from deleted and changed rows. Optimizing the tables in phpMyAdmin tidies them up and can help queries run efficiently.

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.

Back up first

Optimizing rebuilds tables. It is generally safe, but download a database backup before you start, especially for important sites.

When to do it

Run it at a quiet time for large databases, since tables can be briefly locked. For most small business sites it takes a few seconds.

Keep WordPress lean

Deleting old revisions, spam comments and unused plugins reduces what needs optimizing in the first place.

Frequently asked questions

Will optimizing delete my data? No. It reorganises storage and does not remove content.

How often should I optimize? Occasionally, for example every few months, or after large deletions.

Can I use a plugin instead? Yes, but phpMyAdmin works without installing anything.

Related guides

Need cPanel hosting in Kenya? See KickHost hosting plans or contact our team.

Found this useful? Share it.

Need a hand with this?

Our team can help you choose the right domain, hosting or server and set it up properly.

Talk to our team See hosting plans