-
Notifications
You must be signed in to change notification settings - Fork 770
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collect SHOW ENGINE INNODB MUTEX
#147
Comments
Related #135 |
Great, thanks for the detailed feature request. |
I can look into this. Should we call the metric |
I did a short test on the following servers:
The outputs seem consistent but different from what was previously mention on this issue, for example: +--------+---------------------------+-----------------------------+
| Type | Name | Status |
+--------+---------------------------+-----------------------------+
| InnoDB | SRV_SYS | spins=682,waits=22,calls=66 |
| InnoDB | TRX_SYS | spins=31,waits=1,calls=47 |
| InnoDB | rwlock: dict0dict.cc:1112 | waits=1 |
| InnoDB | rwlock: log0log.cc:753 | waits=9 |
+--------+---------------------------+-----------------------------+ so |
@siavashs : Ideally, yes. |
According to MySQL documentation the status metrics were changed as of MySQL 5.7.8.
|
Some samples: From my local test instance(with
From a busy db(with duplicate names):
From the second sample MySQL is showing |
Ideally every Hence I suggested to just sum them up. In a way, it's also interesting to have a way to show that there were multiple instances and that is somehow done with adding I suggest to follow this guide. |
Collect the output of
SHOW ENGINE INNODB MUTEX
.Example Output
Example output:
Notes
To Implement This
name
and the amount ofos_waits
name
occurs, we need to sum all theos_waits
for these.Warnings
Processed Example
Example (ignore second column with
%
, that is used to represent easier in text):The text was updated successfully, but these errors were encountered: