Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.4.7
Description
The optimizer can choose very bad execution plans for certain queries with the default optimizer_use_condition_selectivity=4 in MariaDB 10.4. Setting optimizer_use_condition_selectivity=1 allows you to work around the problem.
Attachments
Issue Links
- causes
-
MDEV-22535 TABLE::initialize_quick_structures() takes 0.5% in oltp_read_only
- Closed
- is blocked by
-
MDEV-20576 A new assertion added to check validity of calculated selectivity values fails
- Closed
- relates to
-
MDEV-20576 A new assertion added to check validity of calculated selectivity values fails
- Closed
-
MDEV-20595 Assertion `0 < sel && sel <= 2.0' failed in table_cond_selectivity
- Stalled