Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.3.6
-
None
Description
Currently testing 10.3.6 but looking at code this is still true in current 10.3.
Any setting of in_predicate_conversion_threshold in my.cnf is overridden in init_common_variables() with this line:
global_system_variables.in_subquery_conversion_threshold= IN_SUBQUERY_CONVERSION_THRESHOLD;
|
Removing this line appears to fix the problem. A default is set in sys_vars.cc anyway I don't think this is needed.
This affects ColumnStore because we need to set this high.
As a side note, I couldn't see this variable documented in KB.
Attachments
Issue Links
- includes
-
MDEV-20083 Predicate into subqueries is server KILLER, which can not even be disabled
-
- Closed
-
- is caused by
-
MDEV-20105 Case for bringing in_subquery_conversion_threshold back in next possible release
-
- Closed
-
- relates to
-
MCOL-1385 Merge MariaDB 10.3
-
- Closed
-
-
MDEV-20482 MyISAM & Aria very slow when IN predicates containing more than 999 elements reference unindexed column.
-
- Closed
-
Slawomir,
In your comments you assume only one pattern of using IN predicates. For this pattern the conversion into IN subquery can not be beneficial especially when the hash join is turned off.
At the same time you claim that " this feature is so broken, buggy and random it ". I need examples where it is:
1. broken
2. buggy
3. random.
It would be helpful.