MySQL 8.4 · Performance and maintenance
Check a server setting
Show the value of a system variable, such as the connection limit.
SHOW VARIABLES LIKE 'max_connections';
Official MySQL 8.4 documentation
More performance and maintenance commands
- See a query's plan
- Run a query and see real timings
- Create an index
- Refresh index statistics
- See running queries
- Count open connections
All performance and maintenance commands · MySQL 8.4 cheatsheet