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
commandHow to use the
EXPLAIN
commandHow to use the
FLUSH
command to clean up tables, caches, and log filesHow to use
SHOW
commands to retrieve information about databases, tables, and indexesHow to use
SHOW
commands to find system status information
Building an Optimized Platform
Designing a well-structured, normalized database schema is just half of ...
Get Sams Teach Yourself PHP, MySQL® and Apache All in One, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.