
MySQL Troubleshooting
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
Additional editions

Content
- Intro
- 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
- 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
- Tuning a Query with Information from EXPLAIN
- Table Tuning and Indexes
- When to Stop Optimizing
- Effects of Options
- Queries That Modify Data
- No Silver Bullet
- When the Server Does Not Answer
- Issues with Solutions Specific to Storage Engines
- MyISAM Corruption
- Repairing a MyISAM table from SQL
- Repairing a MyISAM table using myisamchk
- InnoDB Corruption
- Permission Issues
- Chapter 2. You Are Not Alone: Concurrency Issues
- Locks and Transactions
- Locks
- Table Locks
- Row Locks
- Transactions
- Hidden Queries
- Deadlocks
- Implicit Commits
- Metadata Locking
- Metadata Locking Versus the Old Model
- How Concurrency Affects Performance
- Monitoring InnoDB Transactions for Concurrency Problems
- Monitoring Other Resources for Concurrency Problems
- Other Locking Issues
- Replication and Concurrency
- Statement-Based Replication Issues
- Mixing Transactional and Nontransactional Tables
- Issues on the Slave
- Effectively Using MySQL Troubleshooting Tools
- SHOW PROCESSLIST and the INFORMATION_SCHEMA.PROCESSLIST Table
- SHOW ENGINE INNODB STATUS and InnoDB Monitors
- INFORMATION_SCHEMA Tables
- PERFORMANCE_SCHEMA Tables
- Log Files
- 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
- Options That Affect Server and Client Behavior
- Server-related options
- Replication options
- Engine options
- InnoDB options
- MyISAM options
- Connection-related options
- Timeouts
- Security-related options
- Performance-Related Options
- Buffers and maximums
- Options that control the optimizer
- Engine-related options
- InnoDB options
- MyISAM options
- Calculating Safe Values for Options
- Options set for the whole server
- Thread options
- Buffers allocated for a specific operation
- Chapter 4. MySQL's Environment
- Physical Hardware Limits
- RAM
- Processors and Their Cores
- Disk I/O
- Network Bandwidth
- Example of the Effect of Latencies
- 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
- When Data Is Different on the Master and Slave
- Circular Replication and Nonreplication Writes on the Slave
- Incomplete or Altered SQL Statements
- Different Errors on the Master and Slave
- Configuration
- When the Slave Lags Far Behind the Master
- Chapter 6. Troubleshooting Techniques and Tools
- The Query
- Slow Query Log
- Tools That Can Be Customized
- The MySQL Command-Line Interface
- Effects of the Environment
- Sandboxes
- Errors and Logs
- Error Information, Again
- Crashes
- Core file
- General log file
- Information-Gathering Tools
- Information Schema
- InnoDB Information Schema Tables
- InnoDB Monitors
- Performance Schema
- SHOW [GLOBAL] STATUS
- Localizing the Problem (Minimizing the Test Case)
- General Steps to Take in Troubleshooting
- Testing Methods
- Try the Query in a Newer Version
- Check for Known Bugs
- Workarounds
- Special Testing Tools
- Benchmarking Tools
- mysqlslap
- SysBench
- Gypsy
- MySQL Test Framework
- Maintenance Tools
- Chapter 7. Best Practices
- Backups
- Planning Backups
- Types of Backups
- Tools
- Gathering the Information You Need
- What Does It All Mean?
- Testing
- Prevention
- Privileges
- Environment
- 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
- Index
System requirements
File format: PDF
Copy-Protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our eBook Help page.