In this blog post, we’ll compare the performance of pattern matching queries vs. full-text indexes.
In my previous blog post, I looked for a
solution on how we can search only a part of the email address
and how can we make faster queries where the condition is
email LIKE '%n.pierre%'
. I showed two possible ways
that could work. Of course, they had some pros and cons as well
but were more efficient and faster than a like
'%n.prierre%'
.
But you could also ask why I would bother with this? Let’s add a FULLTEXT index, and everybody is happy! Are you sure about that? I’m not. Let’s investigate and test a bit. (We have some nice blog posts that explain how FULLTEXT …
[Read more]