mk-visual-explain

Command-line utilities for MySQL

Install

All systems
curl cmd.cat/mk-visual-explain.sh
Fedora
dnf install maatkit
Raspbian
apt-get install maatkit

maatkit

Command-line utilities for MySQL

Contains utilities to check replication slaves for consistency with the master, efficiently synchronize remote tables, archive rows from OLTP servers, log deadlocks, find duplicate indexes and foreign keys, profile queries, and perform other essential tasks.