[MDEV-20743] Revise patches that fixed calculation and usage of condition selectivity Created: 2019-10-04  Updated: 2023-12-05

Status: Stalled
Project: MariaDB Server
Component/s: Optimizer
Affects Version/s: 10.1, 10.2, 10.3, 10.4, 10.5
Fix Version/s: 10.4, 10.5

Type: Bug Priority: Major
Reporter: Igor Babaev Assignee: Igor Babaev
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Blocks
blocks MDEV-21633 Assertion `tmp >= 0' failed in best_a... Stalled

 Description   

The patches that fixed the bugs in the code of calculate_cond_selectivity_for_table() and
table_cond_selectivity() effectively changed the original ideas how selectivity of condition should be calculated and how it should be used. As result many inconsistencies in the code has appeared and they induce new and bugs in cardinality estimations.



 Comments   
Comment by Julien Fritsch [ 2023-12-05 ]

Automated message:
----------------------------
Since this issue has not been updated since 6 weeks, it's time to move it back to Stalled.

Comment by JiraAutomate [ 2023-12-05 ]

Automated message:
----------------------------
Since this issue has not been updated since 6 weeks, it's time to move it back to Stalled.

Generated at Thu Feb 08 09:01:50 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.