On Wed, Mar 14, 2001 at 05:36:00PM +1100, Leonard Coonan wrote:
>
> Further to your comment, I have had considerable benefits by
> creating an index of both keys as well.  So I define 3 indexes
> userid, usernum, userid&usernum.

One of those is redundant.

If you index (userid, usernum) and then (usernum), your bases are
covered. Creating a sinle index on (userid) is not necessary. The docs
will explain why...

Jeremy
-- 
Jeremy D. Zawodny, <[EMAIL PROTECTED]>
Technical Yahoo - Yahoo Finance
Desk: (408) 328-7878    Fax: (408) 530-5454
Cell: (408) 439-9951

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to