I have ran a OPTIMIZE TABLE Table name; where Table name size is around 54GB. to reduce the size of this innodb table i ran optimize table command.But this increased the size of table to 59 GB! Any reasons for this will be more helpful.
Edit1: This table is used for logging purposes.
Edit2: This table is used earlier in MySQL and it then moved to MariaDB finally now its running in MySQL 5.7.
I am running MySQL 5.7 in an Ubuntu version having RAM around 50 GB.