Skip to content

Instantly share code, notes, and snippets.

@najathi
Created July 27, 2024 11:44
Show Gist options
  • Save najathi/4e6120c7d6ce9685471496ded5c58f61 to your computer and use it in GitHub Desktop.
Save najathi/4e6120c7d6ce9685471496ded5c58f61 to your computer and use it in GitHub Desktop.
MySQL :: ANALYZE TABLE for all tables in a database
All Databses
sudo mysqlcheck -a --all-databases
Specific a Database
sudo mysqlcheck -a [database]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment