Id like to run optimize on all currently framgmented tables. These tables should be those that have information_schema.DATA_FREE > 0.
Is it possible to optimize all tables with this property in one command in sql or will I have to write external code to do this?