For MyISAM tables used
OPTIMIZE TABLE t1
For InnoDB I read that it
ALTER TABLE t1 ENGINE = InnoDB;
but an example of extended commands is given in the Maintenance of Partitions section.
What exactly (s) command (s) to use to optimize the table after deleting / modifying a significant amount of InnoDB table data?