Bug #112192 | In MySQL 8.0, one queries need 1000 times more data than MySQL 5.7 | ||
---|---|---|---|
Submitted: | 28 Aug 2023 2:55 | Modified: | 30 Aug 2023 8:36 |
Reporter: | linkang zhang (OCA) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S5 (Performance) |
Version: | 8.0.28 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | Optimizer bug |
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
[28 Aug 2023 2:55]
linkang zhang
[28 Aug 2023 2:56]
linkang zhang
This is the trace of MySQL 5.7
Attachment: 5.7 optimizer_trace.txt (text/plain), 66.32 KiB.
[28 Aug 2023 9:25]
linkang zhang
The trace of MySQL 8.0
Attachment: MySQL 8.0 trace.txt (text/plain), 65.84 KiB.