Created
November 2, 2023 17:44
-
-
Save jabarrioss/a7dd80d9415803f23dd8c6bc4c005b85 to your computer and use it in GitHub Desktop.
MySQL debug queries
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SHOW OPEN TABLES WHERE In_use > 0; | |
SELECT * FROM `information_schema`.`innodb_trx` ORDER BY `trx_started`; | |
SELECT * FROM `information_schema`.`innodb_locks`; | |
SHOW FULL PROCESSLIST; | |
SHOW ENGINE InnoDB STATUS; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment