MySQL Forums
Forum List  »  Optimizer & Parser

Re: Optimizing Substring Query
Posted by: Peter Brawley
Date: May 02, 2006 02:39PM

MySQL doesn't yet index on functions. In any event, the column as you define it breaks the atomicity rule. Why not split the field on input into id and manufacturer, index both, then CONCAT(id,'/',manu) when you have to?

PB

Options: ReplyQuote


Subject
Views
Written By
Posted
6113
May 02, 2006 01:01PM
Re: Optimizing Substring Query
1983
May 02, 2006 02:39PM
2623
May 02, 2006 02:45PM
1776
May 02, 2006 03:00PM


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.