Bug #118009 SELECT query on primary key column deteriorates to full table scan when filter involves too long string
Submitted: 18 Apr 2025 7:13 Modified: 18 Apr 2025 11:31
Reporter: Pawel Kudzia Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Optimizer Severity:S5 (Performance)
Version:8.4.5, 9.3.0 OS:Debian (12)
Assigned to: CPU Architecture:x86 (amd64)
Tags: regression

File: Maximum allowed size is 50MB.
Description:
Privacy:

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:

[9 Feb 10:11] Yakir Gibraltar
Patch for Bug#118009, Bug#118486, Bug#119770

Attachment: bug118009.patch (application/octet-stream, text), 24.07 KiB.

[9 Feb 20:25] Yakir Gibraltar
Patch for Bug#118009, Bug#118486, Bug#119770, Bug#119867 (combined)

Attachment: bug118009_combined.patch (application/octet-stream, text), 29.56 KiB.

[10 Feb 15:45] Yakir Gibraltar
clang-format fix

Attachment: bug118009_combined.patch (application/octet-stream, text), 29.56 KiB.

[12 Feb 13:36] Yakir Gibraltar
More fixes

Attachment: bug118009_combined.patch (application/octet-stream, text), 28.05 KiB.