Re: MySQL: 11 Mil Rows = Slow Performance!
- From: "Mihamina (R12y) Rakotomandimby" <infogerance@xxxxxxxxxxxxxxxxxxx>
- Date: Fri, 22 Jun 2007 21:19:48 +0200
Derrick Shields - <1182537069.716376.120720@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> :
So here is my question. What is the difference between LIKE 'value'
and LIKE '%VALUE%'? When you add the percentage signs, I understand
the percentage signs are wild cards, but if you're using LIKE without
wildcard percentage signs, is that technically the same as saying
"="?
Yes, but when searching with a wildcard at the beginning wont use the
created indexes.
That's all.
.
- References:
- MySQL: 11 Mil Rows = Slow Performance!
- From: Derrick Shields
- Re: MySQL: 11 Mil Rows = Slow Performance!
- From: Joe Scylla
- Re: MySQL: 11 Mil Rows = Slow Performance!
- From: Derrick Shields
- MySQL: 11 Mil Rows = Slow Performance!
- Prev by Date: Re: MySQL: 11 Mil Rows = Slow Performance!
- Next by Date: Instantiate subclass depending on string value
- Previous by thread: Re: MySQL: 11 Mil Rows = Slow Performance!
- Next by thread: Re: MySQL: 11 Mil Rows = Slow Performance!
- Index(es):
Relevant Pages
|