> > Index the table to hell and back
> 
> >>Indexing too many fields, or the wrong combinations, can 
> >>actualy hurt
> >>performance.
> >>It's best to put a few benchmarks in place, and add a few 
> >>indices at a
> >>time.
> 
> True.....indexes improve speed of selects

Mostly. Theres no point indexing rar,wibble,foo, if all your where clauses
use rar,foo,theother for instance.

> > Never use SELECT *
> 
> >>Unless in your database 'select *' is quicker than 'select
> >>field,wibble,rar'.
> 
> As far as I'm aware SELECT * is quicker than selecting all 
> fields in your
> table 

I'm sure I've heard otherwise...

> but if you don't want all the fields then you should be 
> specific as
> this will be quicker. 

And result in smaller server memoray usage too.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to