You are here: Re: Optimization : Where to focus « PHP Programming Language « IT news, forums, messages
Re: Optimization : Where to focus

Posted by Toby Inkster on 05/03/06 11:05

Ben Holness wrote:

> 3. Product code is a varchar in the DB

Do this. If the column is indexed, this should be very fast.

The only queries that will slow things down are LIKE queries where the
first part of the pattern to match is a wild card.

But for a product code, it's likely you'll only be interested in exact
matches, so that shouldn't be a problem.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация