Quantcast
Channel: MySQL Forums - InnoDB
Viewing all articles
Browse latest Browse all 1957

file_per_table=1 question (3 replies)

$
0
0
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

Viewing all articles
Browse latest Browse all 1957

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>