O'Reilly logo

Sams Teach Yourself PHP, MySQL® and Apache All in One, Second Edition by Julie C. Meloni

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 29. Optimizing and Tuning MySQL

Proper care and feeding of your MySQL server will keep it running happily and without incident. The optimization of your system consists of proper hardware maintenance and software tuning. In this chapter, you will learn

  • Basic hardware and software optimization tips for your MySQL server

  • Key start-up parameters for your MySQL server

  • How to use the OPTIMIZE TABLE command

  • How to use the EXPLAIN command

  • How to use the FLUSH command to clean up tables, caches, and log files

  • How to use SHOW commands to retrieve information about databases, tables, and indexes

  • How to use SHOW commands to find system status information

Building an Optimized Platform

Designing a well-structured, normalized database schema is just half of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required