Wednesday, 25 July 2018

MySQL: Script to identify the locks and blocking transactions


In the series of DBA Scripts, I am sharing a script to find locks and blocking transaction of the MySQL Server.
The table locks and blocking transaction are a very common thing in any database system.
As a Database Administrator, this is our responsibility to find all locked and blocked transactions of MySQL Server.
Below is a script (work for MySQL 5.5 and above versions) :

0 comments:

Post a Comment