MySQL reclaim index space after large delete?
Posted
by
cdunn
on Server Fault
See other posts from Server Fault
or by cdunn
Published on 2013-10-22T20:30:07Z
Indexed on
2013/10/22
21:56 UTC
Read the original article
Hit count: 179
After performing a large delete in MySQL, I understand you need to run a NULL ALTER to reclaim disk space, is this also true for reclaiming index space?
We have tables using > 10G of index space and have deleted/archived large chunks of this data and unsure if we need to rebuild the table in order to decrease the size of the index.
Can anyone offer any advice?
We are trying to avoid rebuilding the table since it would take quite awhile and lock the table.
Thanks!
© Server Fault or respective owner