Taxonomy upgrade extras: innodb
In this weeks MySQL workshop we were discussing, beside other
things, about the innodb_file_per_table
parameter
and its advantages of enabling it. In addition there was a
discussion if the InnoDB system tablespace file can be shrinked
once it has been grown very large or not. We all know the answer:
The InnoDB system tablespace file does never shrink again.
But why should it not be possible? Other databases like for example Oracle can shrink or even get rid of tablespace files... After some philosophising about it we came to the conclusion that we should give it a try if this is possible with InnoDB as well.
The scenario we considered was the following: You inherit a MySQL
database with InnoDB tables but
innodb_file_per_table
was set to 0. So all the
tables are located in the InnoDB …