MySQL Forums
Forum List  »  InnoDB

file_per_table=1 question
Posted by: Lance Evans
Date: November 08, 2013 04:01AM

Hi All

Just a question I'm hoping someone can answer.

When using innodb_file_per_table, when records are deleted and the table is not optimized or truncated. Is the deleted space reused in the .ibd file? an example:

The table is 10gb. You delete approx. 5gb of data. Does the system write to the "freed" 5gb first, before increasing the overall file size, or does it remain unclaimed white-space until you optimize or truncate?

Many thanks

Options: ReplyQuote


Subject
Views
Written By
Posted
file_per_table=1 question
2169
November 08, 2013 04:01AM
1013
November 08, 2013 12:41PM
874
November 08, 2013 06:52PM
859
November 09, 2013 03:57PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.