On Thu, May 24, 2001 at 04:07:48PM +0100, VVM Ravikumar Sarma Chengalvala wrote:
> I would like to have answers/confirmation regarding
> the following:
> i)
> Primary and Unique key fields are autoindexed by
> mysql.
Yes.
> ii)
> Indexing on a single or multiple fields will create a
> overhead on database memory.To what extent
It's more CPU overhead than memory. You can tune the amount of memory
that MySQL will use. It's documented in the manual:
http://www.mysql.com/doc/
You can probably find a lot of answers to questions you have there.
> iii)
> Indexing Vs Perfromance based on a query frequency on
> a particular field.
> iv)
> When indexing is not recommended?
When the field in question is never (or rarely) used in the WHERE
clause of a query. When you don't want to consume the extra disk space
that the index would require, and you queries run reasonably fast
without the index.
Jeremy
--
Jeremy D. Zawodny, <[EMAIL PROTECTED]>
Technical Yahoo - Yahoo Finance
Desk: (408) 349-7878 Fax: (408) 349-5454 Cell: (408) 439-9951
MySQL 3.23.29: up 4 days, processed 32,697,522 queries (79/sec. avg)
---------------------------------------------------------------------
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