RE: when to use keys?

Subject: RE: when to use keys?
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Fri, 13 Oct 2000 10:03:53 +0100
> The burning question today at work is whether or not we 
> should use keys in our current project.

There are two possible reasons to use keys: performance and usability
(unfortunately the lessons learnt in database theory 25 years ago, that it's
best to keep query syntax and performance hints separate, haven't been
applied in this world).

So (a) use keys if it speeds things up,
and (b) use keys if it makes your stylesheet more readable or manageable,
e.g. by abstracting the query logic into one place that you can easily
change.

The best way to discover if keys speed things up is to try it and see.

Mike Kay
 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread