MySQL: LOAD DATA reclaim disk space after delete
Posted
by
Michael
on Stack Overflow
See other posts from Stack Overflow
or by Michael
Published on 2012-12-03T15:05:13Z
Indexed on
2012/12/03
17:04 UTC
Read the original article
Hit count: 164
I have a DB schema composed of MYISAM tables, i am interested to delete old records from time to time from some of the tables.
I know that delete does not reclaim the memory space, but as i found in a description of DELETE command, inserts may reuse the space deleted
In MyISAM tables, deleted rows are maintained in a linked list and subsequent INSERT operations reuse old row positions.
I am interested if LOAD DATA command also reuses the deleted space?
UPDATE
I am also interested how the index space reclaimed?
© Stack Overflow or respective owner