How to Repair and Optimize Database for Website performance?

People with unoptimized database always face slow website response and performance. Below are the steps to repair and optimize MySql databases.

It is recommended that it should be done atleast one in a week.

1. Login to cPanel

2. Click on the phpMyAdmin button in the Databases section.

3. Select the database you want to optimize and repair from the list in the left column, which should take you to the "structure" tab for the database.

4. Select the tables you wish to optimize by checking the check box in front of each one, or clicking on Select All if you want to optimize all of them.

5. On the drop down box that says "with selected..." select "Repair Table."  This will repair the table and take you to a new screen.

6. Again do step 3 to 5 and on the drop down box that says "with selected..." select "Optimize Table."  This will optimize the table and take you to a new screen.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to create a cPanel user account?

To create a new cPanel account go to WHM >> Account Functions >> Create a New...

How can I limit the number of emails a domain can send out per hour?

Click on the "Tweak Settings" link under "Server Setup". Within the "Mail" section is a text box...

How can I limit access to certain directories on my server by requiring a password using cPanel/WHM?

In cPanel, it is very simple to limit access to a directory on your server. This can be used to...

How do I prevent SSL Certificate Warnings when accessing cPanel?

All cPanel servers come with self-signed certificates configured to secure the control panel as a...

How do I create a MySQL database and user in cPanel/WHM? How do I connect them?

To create a MySQL database and user, log into the cPanel interface for the desired domain and...

Powered by WHMCompleteSolution