Optimize a Database

Optimize Table should be used if you have deleted a large part of a table or if you have made many changes to a table with variable length rows, such as VARCHAR, TEXT, BLOB or VARBINARY columns.  Deleted rows are maintained in the linked list and insert operations reuse the old row positions.  You can use "Optimize Table" to reclaim unused space and defragment the data file for optimal performance.  If a lot of changes have been made to a table, optimizing the table can sometimes significantly improve performance.

 Step 1: Login to phpMyAdmin

cPanel: (Shared, Reseller, SEO, Linux Dedicated, VPS with cPanel)

  1. Login to cPanel
  2. Click on the phpMyAdmin button in the Databases section.

Step 2: Optimize Tables

  1. Select the database you want to optimize from the list in the left column, which should take you to the "structure" tab for the database.
  2. 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.
  3. 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 istifadəçi bunu faydalı hesab edir
Bu cavab sizə kömək etdi?

Uyğun məqalələr

Creating a Database in cPanel

MySQL databases are used by many scripts such as WordPress to store information. Luckly cPanel...

How to change the database password

MySQL database passwords cannot be changed. You will need to create a new user and assign it to...

How to Export a Database

To export your MySQL database, follow the steps below: 1. Login in your cPanel 2. Click on...

How to Import a Database

To import your MySQL database follow the steps below: 1. Login in your cPanel 2. Click on...

Powered by WHMCompleteSolution