[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: repository GUIDs

From: Scott Lamb <slamb_at_slamb.org>
Date: 2002-12-12 23:59:40 CET

Bill Tutt wrote:

> The new table under discussion is an example of wanting to index a table
> by an Alternative Key, and here's an example of indexing a table by a
> non-unique key:
>
> Searching for Businesses in a Yellow Pages system:
> There are several million businesses in the US. It turns out the most
> efficient business search queries result out of indexing the Business
> table by (ZipCode, BusinessID) as opposed to just by BusinessID.

Terminology nit: that's not a non-unique key; that's a superkey. It
uniquely identifies a business, but not all included attributes are
necessary to do so. BusinessID is a "candidate key" or "primary key" if
you choose to call it so.

Thanks,
Scott the RDBMS Nazi

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Dec 13 00:00:26 2002

This is an archived mail posted to the Subversion Dev mailing list.