Mysql Troubleshooting(English, Paperback, Smirnova Sveta)
Quick Overview
Product Price Comparison
Stuck with bugs, performance problems, crashes, data corruption, and puzzling output? If you’re a database programmer or DBA, they’re part of your life. The trick is knowing how to quickly recover from them. This unique, example-packed book shows you how to handle an array of vexing problems when working with MySQL. Written by a principal technical support engineer at Oracle, MySQL Troubleshooting provides the background, tools, and expert steps for solving problems from simple to complex-whether data you thought you inserted doesn’t turn up in a query, or the entire database is corrupt because of a server failure. With this book in hand, you’ll work with more confidence. Understand the source of a problem, even when the solution is simple Handle problems that occur when applications run in multiple threads Debug and fix problems caused by configuration options Discover how operating system tuning can affect your server Use troubleshooting techniques specific to replication issues Get a reference to additional troubleshooting techniques and tools, including third-party solutions Learn best practices for safe and effective troubleshooting-and for preventing problems About the Author Sveta Smirnova is a Principal Technical Support Engineer in the BugsAnalysis Support Group at MySQL at Oracle. She works on trickysupport issues and MySQL software bugs on a daily basis. Before starting at MySQL in 2006, she worked as web developer on severalclosed CRM systems. She is an active participant in the open sourcecommunity. Her main interests in recent years is solving DBA problems and finding ways to semi-automate this process. Table of Contents Chapter 1 Basics Incorrect Syntax Wrong Results from a SELECT When the Problem May Have Been a Previous Update Getting Information About a Query Tracing Back Errors in Data Slow Queries When the Server Does Not Answer Issues with Solutions Specific to Storage Engines Permission Issues Chapter 2 You Are Not Alone: Concurrency Issues Locks and Transactions Locks Transactions Metadata Locking How Concurrency Affects Performance Other Locking Issues Replication and Concurrency Effectively Using MySQL Troubleshooting Tools Chapter 3 Effects of Server Options Service Options Variables That Are Supposed to Change the Server Behavior Options That Limit Hardware Resources Using the - no-defaults Option Performance Options Haste Makes Waste The SET Statement How to Check Whether Changes Had an Effect Descriptions of Variables Chapter 4 MySQL’s Environment Physical Hardware Limits Operating System Limits Effects of Other Software Chapter 5 Troubleshooting Replication Displaying Slave Status Problems with the I/O Thread Problems with the SQL Thread Chapter 6 Troubleshooting Techniques and Tools The Query Effects of the Environment Sandboxes Errors and Logs Information-Gathering Tools Localizing the Problem (Minimizing the Test Case) General Steps to Take in Troubleshooting Testing Methods Special Testing Tools Maintenance Tools Chapter 7 Best Practices Backups Gathering the Information You Need Testing Prevention Think About It! Appendix Information Resources Resources Containing Information That Is Usually Useful Bug and Knowledge Databases Expert Knowledge Online Places Where You Can Ask for Help Books Colophon