select id from t where name like '%abc%'
Fuzzy query, even if you have an index, you don’t know whether there are these three letters in the index or whether they are arranged in this position or in this row. . .
Not necessarily depends on the query conditions. If it matches the left prefix, you can use the index For example like abc%
like abc%
Same as above, try not to blur like in sql. If the amount of data is large, it will be messed up.
Fuzzy query, even if you have an index, you don’t know whether there are these three letters in the index or whether they are arranged in this position or in this row. . .
Not necessarily depends on the query conditions.
If it matches the left prefix, you can use the index
For example
like abc%
Same as above, try not to blur like in sql. If the amount of data is large, it will be messed up.