After running mysqltuner on my Magento db it says me
[!!] Total fragmented tables: 1203
In suggestion it says
Run OPTIMIZE TABLE to defragment tables for better performance
I just made a db backup and I was wondering which is the best way to defragment Magneto db.
I saw on some forums that i can't use OPTIMIZE option because is an InnoDB.
My question is:
1) Which is the best command to optimize Magento InnoDB ?
I can't do it one by one if they are 1203 tables. 2)Can I do optimization on all database?