We know the MySQL Shell is the advanced client tool for
communicate to the MySQL server . MySQL Shell has lot of features
like InnoDB Cluster control , InnoDB ReplicaSet, MySQL Shell
utilities , MySQL server management etc … Today I came to know,
MySQL shell helps lot in monitoring as well ( query, threads,
resource consumption , locking ) .
In this blog I am going to explain how to use the MySQL Shell for
monitor your server .
MySQL Shell provides two hot commands \show and
\watch for monitor the MySQL server and report
generating purpose .
\show : Execute the report with the provided options
\watch : Execute the report in loop with provided options
\show with thread example :
\show with query example :
You can execute any query within the double quotes .
\show with threads example :
…
[Read more]