| Bug #109015 | BETWEEN takes more locks then needed | ||
|---|---|---|---|
| Submitted: | 7 Nov 2022 10:55 | Modified: | 8 Nov 2022 13:49 |
| Reporter: | Maksim Novikov | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server: Locking | Severity: | S3 (Non-critical) |
| Version: | OS: | Linux | |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | locking mysql | ||
If the data you need to attach is more than 50MB, you should create a compressed archive of the data, split it to 50MB chunks, and upload each of them as a separate attachment.
To split a large file:
- On *nix platforms use the split command e.g.
split -b 50MB <my_large_archive> <my_split_archive_prefix> - On windows use WinZip or a similar utility to split the large file
[7 Nov 2022 12:05]
Maksim Novikov
[7 Nov 2022 15:55]
Maksim Novikov
I cut lots of unnecessary data from it, but you can clearly see that there is no deadlock here. It's just normal lock
Attachment: show_engine_innodb_status.txt (text/plain), 1.92 KiB.
[8 Nov 2022 13:21]
Maksim Novikov
Okay, here is full output of innodb status
Attachment: innodb_status.txt (text/plain), 4.79 KiB.
