We’ve been authorized to post a sample chapter for you to preview. Please enjoy Chapter 8, Optimizing Server Settings. This chapter includes the table of contents. O’Reilly has posted a different sample on their website, so you can read two chapters for free.

We’ve also posted code samples from the 3rd edition of High Performance MySQL. One-liner and once-off scripts are not shown here, but generally reusable scripts and queries are, if they’re long enough that it’s harder to type them than to look them up on this page. If you’d like a particular sample to be added, please contact us and we’ll add it for you.

Chapter 2

Chapter 3

Chapter 7

Chapter 8

Appendix B

  • Page 687: mext.sql

Appendix D

Appendix E