Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
10.2.35, 10.2(EOL), 10.3(EOL), 10.4(EOL), 10.5
-
Centos 7
Description
A query with a large IN () section will be stuck in statistics and use up all RAM. Multiple such queries will crash the server regardless of memory limitations specified in my.cnf
I noticed this in 10.2.35. Downgrading to 10.2.34 fixes the problem
An example is the WordPress "select post_id,meta_value from wp_postmeta where meta_id in (1,2,3 etc ...)" query.
Attachments
Issue Links
- is blocked by
-
MDEV-27380 After minor upgrade to 10.5.13 queries with large IN clauses have performance issues
-
- Closed
-
- is caused by
-
MDEV-23811 With large number of indexes optimizer chooses an inefficient plan
-
- Closed
-
- is duplicated by
-
MDEV-24163 Mariadb is restarting after sending this message [Warning] Aborted connection 5889 to db: 'xxxx' user: 'xxxxx' host:
-
- Closed
-
-
MDEV-24173 After minor upgrade to 10.2.35 queries with large IN clauses have performance issues
-
- Closed
-
-
MDEV-24195 Huge memory usage after upgrade
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Link | This issue relates to MDEV-23228 [ MDEV-23228 ] |
Attachment | mariadbbug.sql [ 54707 ] |
Labels | regression |
Affects Version/s | 10.2 [ 14601 ] | |
Affects Version/s | 10.3 [ 22126 ] | |
Affects Version/s | 10.4 [ 22408 ] | |
Affects Version/s | 10.5 [ 23123 ] |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.3 [ 22126 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | 10.5 [ 23123 ] |
Assignee | Sergei Petrunia [ psergey ] |
Link |
This issue is duplicated by |
Link | This issue relates to MDEV-23228 [ MDEV-23228 ] |
Link |
This issue is caused by |
Status | Open [ 1 ] | Confirmed [ 10101 ] |
Attachment | 1_my.test [ 54723 ] |
Status | Confirmed [ 10101 ] | In Progress [ 3 ] |
Priority | Major [ 3 ] | Blocker [ 1 ] |
Link |
This issue is duplicated by |
Component/s | Optimizer [ 10200 ] | |
Component/s | Server [ 13907 ] | |
Fix Version/s | 10.2.36 [ 25026 ] | |
Fix Version/s | 10.3.27 [ 25025 ] | |
Fix Version/s | 10.4.17 [ 25024 ] | |
Fix Version/s | 10.5.8 [ 25023 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.3 [ 22126 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Link |
This issue is duplicated by |
Labels | regression | ServiceNow regression |
Labels | ServiceNow regression | 76qDvLB8Gju6Hs7nk3VY3EX42G795W5z regression |
Labels | 76qDvLB8Gju6Hs7nk3VY3EX42G795W5z regression | regression |
Workflow | MariaDB v3 [ 115399 ] | MariaDB v4 [ 158542 ] |
Link |
This issue is blocked by |
Zendesk Related Tickets | 201658 | |
Zendesk active tickets | 201658 |
Same issue here. Server that was previously fine with 12G RAM had to be upgraded to 40G RAM to be "stable" with 12.2.35 on Debian Stretch.
RAM wildly fluctuates.
Has anyone checked by any chance if 10.3/10.4/10.5 are also affected? Considering whether we should downgrade or upgrade to the next major release to fix it.
EDIT: Can confirm memory is fine again in 10.2.34.