[MDEV-4345] Fix table selectivity by sampling some probably very selective predicates Created: 2013-04-01  Updated: 2015-05-20  Resolved: 2013-05-07

Status: Closed
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: Task Priority: Major
Reporter: Oleksandr Byelkin Assignee: Oleksandr Byelkin
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
PartOf
includes MDEV-4343 Find selectivity of conditions by rea... Closed
Relates
relates to MDEV-4552 Testing for MDEV-4345 (sampling proba... Closed

 Description   

There are some predicates like 'table.field LIKE %WORD' which probably very selective but it is impossible judge about them by index or other statistics we collect now.

We can just check the predicate against some rows in the table.

In the beginning it will be first N rows of the table.



 Comments   
Comment by Oleksandr Byelkin [ 2013-04-18 ]

pushed to lp:~maria-captains/maria/maria-10.0-mwl253

Comment by Elena Stepanova [ 2015-05-20 ]

It was implemented in 10.0.3 (cannot set the 'Fix version' field because 10.0.3 is archived).

Generated at Thu Feb 08 06:55:42 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.