If you are repeatedly querying tables on non-key fields you can improve query speeds 
by implementing indexes on those fields...

For instance, if you had a personnel table with the following fields: id, lastname, 
firstname, etc....  Where id was an auto-increment,primary key you could index the 
lastname field to aid queries based upon last names.

Dacian Herbei <[EMAIL PROTECTED]> wrote:
>
> 
>     Hi,
>     I have some huge databases generated from text file of a dictionary.
>     I would like to know if I make a query based on a field which was not metion as 
>a key
> at the creation of the table. Is the speed of the query affected by the size of the
> records and by the number of fields a record has?
>     best regards,
>     dacian
> 
> 
> ---------------------------------------------------------------------
> 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
> 
> 
--
===========================================================================
"If you put three drops of poison into a 100 percent pure Java, you get - Windows. If 
you put a few drops of Java into Windows, you still have Windows."
    -- Sun Microsystems CEO, Scott McNealy

__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at 
http://webmail.netscape.com/

---------------------------------------------------------------------
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