Books & Videos

Table of Contents

  1. Chapter 1 Basics

    1. Incorrect Syntax

    2. Wrong Results from a SELECT

    3. When the Problem May Have Been a Previous Update

    4. Getting Information About a Query

    5. Tracing Back Errors in Data

    6. Slow Queries

    7. When the Server Does Not Answer

    8. Issues with Solutions Specific to Storage Engines

    9. Permission Issues

  2. Chapter 2 You Are Not Alone: Concurrency Issues

    1. Locks and Transactions

    2. Locks

    3. Transactions

    4. Metadata Locking

    5. How Concurrency Affects Performance

    6. Other Locking Issues

    7. Replication and Concurrency

    8. Effectively Using MySQL Troubleshooting Tools

  3. Chapter 3 Effects of Server Options

    1. Service Options

    2. Variables That Are Supposed to Change the Server Behavior

    3. Options That Limit Hardware Resources

    4. Using the --no-defaults Option

    5. Performance Options

    6. Haste Makes Waste

    7. The SET Statement

    8. How to Check Whether Changes Had an Effect

    9. Descriptions of Variables

  4. Chapter 4 MySQL’s Environment

    1. Physical Hardware Limits

    2. Operating System Limits

    3. Effects of Other Software

  5. Chapter 5 Troubleshooting Replication

    1. Displaying Slave Status

    2. Problems with the I/O Thread

    3. Problems with the SQL Thread

  6. Chapter 6 Troubleshooting Techniques and Tools

    1. The Query

    2. Effects of the Environment

    3. Sandboxes

    4. Errors and Logs

    5. Information-Gathering Tools

    6. Localizing the Problem (Minimizing the Test Case)

    7. General Steps to Take in Troubleshooting

    8. Testing Methods

    9. Special Testing Tools

    10. Maintenance Tools

  7. Chapter 7 Best Practices

    1. Backups

    2. Gathering the Information You Need

    3. Testing

    4. Prevention

    5. Think About It!

  1. Appendix Information Resources

    1. Resources Containing Information That Is Usually Useful

    2. Bug and Knowledge Databases

    3. Expert Knowledge Online

    4. Places Where You Can Ask for Help

    5. Books

  2. Colophon