5.1 An Approach to Performance Tuning

only for RuBoard - do not distribute or recompile

5.1 An Approach to Performance Tuning

When performance tuning a MySQL application, there are five main things to consider:

  1. Application tuning

  2. SQL query tuning

  3. Database server tuning

  4. Operating system

  5. Hardware

These are ranked in terms of "bang for the buck." For example, adding memory or upgrading your processor will usually improve the performance of your applications, but you should be able to achieve greater gains for lower cost if you tune your application code and database server first. In addition, any performance tuning on the MySQL server will apply to all applications using that server. Characteristics that are advantageous for one particular application may not improve the performance of another. Based on these factors, as a general methodology, we recommend that you look at tuning issues in the order listed above.

only for RuBoard - do not distribute or recompile


Managing and Using MySQL
Managing and Using MySQL (2nd Edition)
ISBN: 0596002114
EAN: 2147483647
Year: 2002
Pages: 137

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net