Jump to content

Optimising


Sephiriz

Recommended Posts

Have you read these

 

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 (tables that have VARCHAR, BLOB, or TEXT columns).  Deleted records are maintained in a linked list and subsequent INSERT operations reuse old record positions. You can use OPTIMIZE TABLE to reclaim the unused space and to defragment the datafile.

 

OPTIMIZE TABLE works the following way:  

 

·If the table has deleted or split rows, repair the table.

·If the index pages are not sorted, sort them.

·If the statistics are not up to date (and the repair couldn\'t be done by sorting the index), update them.

Link to comment
https://forums.phpfreaks.com/topic/1299-optimising/#findComment-4357
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.