Details
-
New Feature
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
1.
Analyze, if query have conditions, which likely cause a full scan
like
tag LIKE '%aaaa%' OR LIKE '%bbbb%' |
2.
Check, if the column has a full text index.
If 1. + 2. true rewrite the query to "match against" syntax,
so
tag LIKE '%aaaa%' OR LIKE '%bbbb%' |
will be rewritten to
MATCH(tag) AGAINST('+aaaa','+bbbb' IN BOOLEAN MODE) |
This can improve application, where changing the queries is difficult like snow
Attachments
Issue Links
- relates to
-
MDEV-35101 add smart optimizer usage of full text index for like operator
- Closed