OPTIMIZE

OPTIMIZE

OPTIMIZE TABLE table_name [,table_name]...

For MyISAM tables, this sorts the index, updates the statistics, and defragments the data file.

For BDB tables, this is the same as ANALYZE TABLE.

This locks the table for the duration of the operation (which can take some time).



Mastering MySQL 4
Mastering MySQL 4
ISBN: 0782141625
EAN: 2147483647
Year: 2003
Pages: 230
Authors: Ian Gilfillan

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net