MySQL Troubleshooting: What To Do When Queries Don't Work [NOOK Book]

Overview

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 ...

See more details below
MySQL Troubleshooting: What To Do When Queries Don't Work

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac

Want a NOOK? Explore Now

NOOK Book (eBook)
$10.49
BN.com price
(Save 30%)$14.99 List Price

Overview

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
Read More Show Less

Product Details

  • ISBN-13: 9781449330231
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 2/8/2012
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • Pages: 266
  • File size: 5 MB

Meet the Author

Sveta Smirnova is a Principal Technical Support Engineer in the Bugs
Analysis Support Group at MySQL at Oracle. She works on tricky
support issues and MySQL software bugs on a daily basis. Before starting at MySQL in 2006, she worked as web developer on several
closed CRM systems. She is an active participant in the open source
community. Her main interests in recent years is solving DBA problems and finding ways to semi-automate this process.

Read More Show Less

Table of Contents

Foreword;
Preface;
Audience;
How to Solve a Problem;
How This Book Is Organized;
Some Choices Made in This Book;
Conventions Used in This Book;
Using Code Examples;
Safari® Books Online;
How to Contact Us;
Acknowledgments;
Chapter 1: Basics;
1.1 Incorrect Syntax;
1.2 Wrong Results from a SELECT;
1.3 When the Problem May Have Been a Previous Update;
1.4 Getting Information About a Query;
1.5 Tracing Back Errors in Data;
1.6 Slow Queries;
1.7 When the Server Does Not Answer;
1.8 Issues with Solutions Specific to Storage Engines;
1.9 Permission Issues;
Chapter 2: You Are Not Alone: Concurrency Issues;
2.1 Locks and Transactions;
2.2 Locks;
2.3 Transactions;
2.4 Metadata Locking;
2.5 How Concurrency Affects Performance;
2.6 Other Locking Issues;
2.7 Replication and Concurrency;
2.8 Effectively Using MySQL Troubleshooting Tools;
Chapter 3: Effects of Server Options;
3.1 Service Options;
3.2 Variables That Are Supposed to Change the Server Behavior;
3.3 Options That Limit Hardware Resources;
3.4 Using the —no-defaults Option;
3.5 Performance Options;
3.6 Haste Makes Waste;
3.7 The SET Statement;
3.8 How to Check Whether Changes Had an Effect;
3.9 Descriptions of Variables;
Chapter 4: MySQL’s Environment;
4.1 Physical Hardware Limits;
4.2 Operating System Limits;
4.3 Effects of Other Software;
Chapter 5: Troubleshooting Replication;
5.1 Displaying Slave Status;
5.2 Problems with the I/O Thread;
5.3 Problems with the SQL Thread;
Chapter 6: Troubleshooting Techniques and Tools;
6.1 The Query;
6.2 Effects of the Environment;
6.3 Sandboxes;
6.4 Errors and Logs;
6.5 Information-Gathering Tools;
6.6 Localizing the Problem (Minimizing the Test Case);
6.7 General Steps to Take in Troubleshooting;
6.8 Testing Methods;
6.9 Special Testing Tools;
6.10 Maintenance Tools;
Chapter 7: Best Practices;
7.1 Backups;
7.2 Gathering the Information You Need;
7.3 Testing;
7.4 Prevention;
7.5 Think About It!;
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;

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)