SQL / MySQL Tools
Monitoring
https://www.percona.com/doc/percona-monitoring-and-management/index.html
MySQL Diagnostic Manager (Monyog)
Top 5 MySQL Monitoring tools 2021
Monyog | Monitor MySQL Databases Configuration in Real-Time | Webyog
Testing
mysqlslap
It's a benchmarking tool that can help DBAs and developers load test their database servers.
mysqlslap can emulate a large number of client connections hitting the database server at the same time. The load testing parameters are fully configurable and the results from different test runs can be used to fine-tune database design or hardware resources.
Optimizations
MySQLTuner
https://github.com/major/MySQLTuner-perl
https://github.com/pdufault/mysqlfragfinder/blob/master/mysqlfragfinder.sh
Mysqlreport
Mysqlreport transforms the values from SHOW STATUS into an easy-to-read report that provides an in-depth understanding of how well MySQL is running. mysqlreport is a better alternative (and practically the only alternative) to manually interpreting SHOW STATUS.
Event Reduce
An algorithm to optimize database queries that run multiple times
https://github.com/pubkey/event-reduce