Is there any way to find out the fragmentation of indexes in MySQL ?
If such an output can be obtained, it would be helpful to identify which all indexes need to be rebuilt.
I'm using MySQL 5.1 on Windows Server 2008
Can somebody please help me.
Is there any way to find out the fragmentation of indexes in MySQL ? If such an output can be obtained, it would be helpful to identify which all indexes need to be rebuilt. I'm using MySQL 5.1 on Windows Server 2008 Can somebody please help me. |
|||||||
|
For InnoDB tables, this is both possible and redundant.
It is possible using Percona Server's Well, apparently InnoDB manages its own pages very well. Upon purging of data it merges back its index nodes. I have done multiple tests to verify that an Please see my post on the subject. By the way, I believe MySQL 5.6 has a similar table built-in. With regard MyISAM tables, I'm unaware that there's any way of looking at the fragmentation. |
|||||
|