[PHP] Best practices for using MySQL index
- Date: Wed, 30 Apr 2008 12:54:04 +0800
- From: Shelley <myphplist@xxxxxxxxx>
- Subject: [PHP] Best practices for using MySQL index
Hi all,
I am currently responsible for a subscription module and need to design the
DB tables and write code.
I have described my table design and queries in the post:
http://phparch.cn/index.php/mysql/38-MySQL-configuration/152-best-practices-for-using-mysql-index
The problem is, in a short time the table will hold millions of records.
So the query and index optimization is very important.
Any suggestion will be greatly appreciated.
--
Regards,
Shelley