Optimization is a complex task because ultimately it requires understanding of the entire system to be optimized. Although it may be possible to perform some local optimizations with little knowledge of your system or application, the more optimal you want your system to become, the more you must know about it.

The following 10 articles explain and give some examples of different ways to optimize MySQL:

  1. Identifying slow MySQL queries
  2. MySQL & PHP Performance Optimization Tips
  3. MySQL Presentations: Optimizing MySQL
  4. MySQL 5 Optimization and Tuning Guide
  5. Survive heavy traffic with your Web server
  6. Tools to use for MySQL Performance - Peter Zaitsev
  7. MySQL Queries Optimization (video) - Peter Zaitsev
  8. Table Design and MySQL Index Details
  9. MySQL Reference Manual: Optimization Overview
  10. MySQL Reference Manual: The MySQL Query Cache

17 Responses to “10 great articles for optimizing MySQL queries”

  1. Hugo Says:

    Thanks for this set of MySQL articles. I’ll check them soon.

    Hugo.

  2. Tarique Sani Says:

    Chapter 4 of the Second edition on High Perfomance MySQL is about Query Optimization and a free download http://www.highperfmysql.com/downloads/ - Yeah technically it is not an article but very much related…

  3. antiprocess.net Says:

    [...] 10 great articles for optimizing MySQL queries « PHP::Impact ( [str blog] ) [...]

  4. Top Posts « WordPress.com Says:

    [...] 10 great articles for optimizing MySQL queries Optimization is a complex task because ultimately it requires understanding of the entire system to be optimized. [...] [...]

  5. Donghai Ma Says:

    [...] 10 great articles for optimizing MySQL queries « PHP::Impact ( [str blog] ) (tags: tips database performance) [...]

  6. Skylog Says:

    [...] 10 great articles for optimizing MySQL queries « PHP::Impact ( [str blog] ) (tags: mysql) [...]

  7. phpimpact Says:

    Another great article:

    An Introduction to Database Normalization

  8. El Blog de Inwe Says:

    [...] PHP::Impact Tags: base de datos, db, mysql, optimizacion, [...]

  9. Learn to optimize MySql Queries | PhpScripter Says:

    [...] Cargnelutti has gathered a fine bunch of optimizing links for MySql. Read them and learn them by [...]

  10. MySQL Queries Optimization by Peter Zaitsev Says:

    [...] 10 great articles for optimizing MySQL queries [...]

  11. A Digital Notepad Says:

    [...] 10 great articles for optimizing MySQL queries - Nice links to good sites that aid in MySQL optimization. Many of these tips may apply to other SQL driven databases. [...]

  12. Re@PeR Says:

    Thanks for the links, they will be of great help for the project I’m working on!!!

  13. php-trivandrum Says:

    Task becomes complex when one does not know how to do this, but getting to know how to do the thing makes us rich with intellect.

    On top of all those tunnings, you will need a sound database to perform correctly. Wise and responsible arrangement of indexes would make the reads much faster. Avoiding flags, and keeping multiple shadow tables would make things simpler.

  14. Praca Says:

    Thanks for this articles. It’s that, what I was looking for - greate job, Thanks.

  15. PHP Tutorials Utopia Says:

    [...] 10 great articles for optimizing MySQL queries [...]

  16. Magnus Says:

    Great articles! Thanks for putting this together, its very useful.

  17. Kanhaiya Says:

    it is a very good set of articles at one place.

    Really usefull.

    MySQL admin or developer should read it.

    Kanhaiya Lal

Leave a Reply