Tue 14 Nov 2006
Looks like MySQL Camp 2006 was really interesting and useful for its attendees and for entire MySQL community. As the result of this meeting of many MySQL-related professionals we’ve got lots of interesting publications and I want to refer one of them in this post. Very interesting list of 84 MySQL performance tips has beed created on first day of this year MySQL Camp at Google headquarters:
- Index stuff.
- Don’t Index Everything
- Use benchmarking
- Minimize traffic by fetching only what you need.
- Paging/chunked data retrieval to limit
- Don’t use SELECT *
- Be wary of lots of small quick queries if a longer query can be more efficient
- Use EXPLAIN to profile the query execution plan
- Use Slow Query Log (always have it on!)
- Don’t use DISTINCT when you have or could use GROUP BY
- Use proper data partitions (For Cluster. Start thinking about Cluster *before* you need them)
- Insert performance
- Batch INSERT and REPLACE
- Use LOAD DATA instead of INSERT
- LIMIT m,n may not be as fast as it sounds
- …
So, I think this list can be really useful for all developers/DBAs working with MySQL and want to say “Thanks” to its authors.
- New MySQL Performance Forums
- 1000 Great Technical Videos in BestTechVideos Library!
- MySQL Performance Blog - Great resource for MySQL DBAs
- Command Line History
- RedHat Has Opened Its Knowledge Base!

2006-11-15 at 1.18 am
Oh wow! Some of these are great tips. Thanks for posting this.
2006-11-15 at 3.12 am
[...] I found this list today via Homo-Adminus, and I think it’s really worth sharing: 84 MySQL performance tips. Some are common sense (eg. index stuff, but don’t index everything), while some are little nuggets of DBA knowledge that only comes with experience and expertise. [...]
2006-11-20 at 4.05 am
Thank you for useful tips