Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
10.5.9, 10.5.13
-
Linux
Description
table with primery key binary(16)
`SELECT from table WHERE key IN (binary form ids, ....)` is extremly slow
while
`SELECT from table WHERE key IN ((0x11e6a2ad166fc342abde002590a2360a),
(0x11e6a2ad16750370aeaf002590a2360a),
(0x11e6a2ad167a186a9e19002590a2360a),....)`
is perfectly fast.
IDs in binary form I mean this: https://tinyurl.com/ycfyftby
Attachments
Issue Links
- causes
-
MDEV-29242 Assertion `computed_weight == weight' failed SEL_ARG::verify_weight
-
- Closed
-
- is caused by
-
MDEV-9750 Quick memory exhaustion with 'extended_keys=on' on queries having multiple 'IN'/'NOT IN' using InnoDB
-
- Closed
-
- relates to
-
MDEV-27530 InnoDB - Performance issues after upgrade 10.4.22 to 10.5.13
-
- Closed
-
-
MDEV-28518 After update to 10.5 a lot of time is spent in "Sending data"
-
- Closed
-
-
MDEV-28638 ANALYZE FORMAT=JSON should print time spent in the optimizer
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Assignee | Sergei Petrunia [ psergey ] |
Fix Version/s | 10.5 [ 23123 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Priority | Critical [ 2 ] | Major [ 3 ] |
Component/s | Optimizer [ 10200 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Fix Version/s | N/A [ 14700 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Resolution | Cannot Reproduce [ 5 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Attachment | log_fast.log [ 58022 ] |
Attachment | log_slow.log [ 58023 ] |
Resolution | Cannot Reproduce [ 5 ] | |
Status | Closed [ 6 ] | Stalled [ 10000 ] |
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | N/A [ 14700 ] |
Workflow | MariaDB v3 [ 119650 ] | MariaDB v4 [ 143681 ] |
Affects Version/s | 10.5.13 [ 26026 ] |
Summary | SELECT if there is IN clouse with binary UUID in binary form is extremly slow sinc MariaDB 10.5.9 | SELECT if there is IN clause with binary UUID in binary form is extremely slow since MariaDB 10.5.9 |
Status | Stalled [ 10000 ] | In Progress [ 3 ] |
Attachment | screenshot-1.png [ 63716 ] |
Link |
This issue relates to |
Priority | Major [ 3 ] | Critical [ 2 ] |
Priority | Critical [ 2 ] | Blocker [ 1 ] |
Fix Version/s | 10.5.17 [ 27509 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Fix Version/s | 10.6.9 [ 27507 ] | |
Fix Version/s | 10.7.5 [ 27505 ] | |
Fix Version/s | 10.8.4 [ 27503 ] |
Link |
This issue causes |
Link |
This issue relates to |
Link |
This issue relates to |
Comment |
[ This problem is still present in 10.6.12 and 10.6.15 as well as in 10.5.22.
I didn't tested more versions. ] |
Zendesk Related Tickets | 167602 |
I was unable to reproduce. Can you share more details:
set optimizer_trace=1;
{run the query}
select * from information_schema.optimizer_trace;
and share the output with us.