MySQL Forums
Forum List  »  Performance

Re: Varchar length - performance
Posted by: Rick James
Date: June 29, 2013 03:00PM

> SELECT * WHERE myvarchar LIKE '%something%'

Length of field does not matter.
JOINs may or may not matter.
That SELECT cannot use any indexes because of the leading wildcard.

Options: ReplyQuote


Subject
Views
Written By
Posted
2521
June 28, 2013 03:40AM
Re: Varchar length - performance
1045
June 29, 2013 03:00PM
1761
July 02, 2013 03:24AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.