Mysql : Match Against query -


due bigdata want use match against in place of like. column full indexed. alternate of query, in match against.

mysql query is:

 select count(*) keywords sb_keyword 'a%'  

is query is?

select count(*) keywords sb_keyword 'a%'  

that should benefit index(sb_keyword). fulltext index not practical query, either stands or using where match(sb_keyword) against(+a* in boolean mode).

it take time walk through values starting count them. index suggested helps because , index (usually) smaller entire dataset due having fewer 'columns'.


Comments

Popular posts from this blog

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -