Closed ari closed 10 years ago
Hello ari, are you sure that listing all fragmented tables is a good idea? Here is a quick example from one of my developer's servers: -------- Storage Engine Statistics ------------------------------------------- [--] Status: +Archive -BDB +Federated +InnoDB -ISAM -NDBCluster [--] Data in MyISAM tables: 1G (Tables: 3049) [--] Data in InnoDB tables: 1G (Tables: 2508) [--] Data in FEDERATED tables: 0B (Tables: 3) [--] Data in MEMORY tables: 0B (Tables: 51) [!!] Total fragmented tables: 2675
I think that listing all 2600+ table names will be a little bit annoying.
How are you going to defragment them unless you know which ones are fragmented?
Hello ari, I have written some Stored procedures to check fragmented tables and execute OPTIMIZE TABLE
It would be very useful for this nice tool to show which tables are fragmented, not just the count. Perhaps in the recommendations at the bottom it could display the actual SQL to defragment all the relevant tables.