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
-
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.