New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show InnoDB table overhead (free space) #14927
Comments
|
@garas Refer to the following post about clearing overhead in InnoDB |
|
I agree that reclaiming few percents overhead is overkill, it won't improve anything and sometimes MySQL reports same overhead after But it might be useful when overhead is large (50% or more) and it can reclaim much space. I've reported this issue because I've overlooked that some tables had high overhead because I couldn't see that in phpMyAdmin. After I've optimized tables, they shrank 4GB to 800MB. Maybe display overhead if it is over some (configurable) percentage, so users would be suggested only when there is real improvement possibility. |
|
Ok, let me work on it. But optimise won't work with innodb tables. |
|
It works with |
|
with |
|
The fix should be easily be done by removing the IF function from the sql here https://github.com/phpmyadmin/phpmyadmin/blob/master/libraries/classes/DatabaseInterface.php#L937 |
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Currently, phpMyAdmin shows
-for InnoDB and some value for MyISAM in Overhead column of table list.phpMyAdmin could fetch free space of InnoDB and display it in Overhead column.
Like for MyISAM tables, if table has overhead, phpMyAdmin could show link to
OPTIMIZEto rebuild table and reclaim disk space.Table data, index and free space can be retrieved by running
innodb_file_per_table=ONThe text was updated successfully, but these errors were encountered: