Re: Re: Best practices for using MySQL index
| From: | landavia | Date: | Tue, 17 Jun 2008 07:09:20 +0000 |
| Subject: | Re: Re: Best practices for using MySQL index | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-45075@lists.php.net to get a copy of this message | ||
i agree. But InnoDB not fast like other, but this using for transaction. u should try to examine, if you choose performance.. chose other. If u use transaction, INNODB perhaps u can use?
*sry my bad LANG
Gergely Hodicska wrote:
Hi!While this is not a MySQL mailing list, I try to give you some hints and keep it short.There is maybe one important thing which should considered: clustered index. If use InnoDB you can think about to not using a surrogate key but a natural one which best support the query which you will use in most cases. An InnoDB table's primary key is a clustered index and querying against it is very fast. Best Regards, Felhő