Bug #101142 | Queries long due to Lock_time not logged in the slow log | ||
---|---|---|---|
Submitted: | 12 Oct 2020 22:49 | Modified: | 13 Oct 2020 12:50 |
Reporter: | Przemyslaw Malkowski | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Logging | Severity: | S3 (Non-critical) |
Version: | 5.7.31, 8.0.20 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | Lock_time, slow log |
[12 Oct 2020 22:49]
Przemyslaw Malkowski
[13 Oct 2020 12:50]
MySQL Verification Team
Hi Mr. Malkowski, Thank you for your bug report. However, it is not a bug. The purpose of the slow query log is to catch the queries that are not optimised. Hence, it took us a lot of time to implement the feature, that was demanded by so many users, which is not to count lock time as a part of the query execution time. For the lock time you can use various InnoDB tools, as well as Performance Schema. Not a bug.