====== pt-find ====== * [[Percona Toolkit]] Find MySQL tables and execute actions, like GNU find. * [[http://www.percona.com/doc/percona-toolkit/2.1/pt-find.html|Documentation]] == Find MyISAM tables: == pt-find --engine MyISAM == Convert MyISAM to InnoDB == pt-find --engine MyISAM --exec "ALTER TABLE %D.%N ENGINE=InnoDB" == Find the largest tables and indexes, and sort by size: == pt-find --printf "%T\t%D.%N\n" | sort -rn