MySQL Forums :: InnoDB :: file_per_table=1 question

Advanced Search

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 1358 Lance Evans 11/08/2013 04:01AM
Re: file_per_table=1 question 648 Rick James 11/08/2013 12:41PM
Re: file_per_table=1 question 603 Lance Evans 11/08/2013 06:52PM
Re: file_per_table=1 question 583 Rick James 11/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.