Create bookmark
MySQL High Availability
Tools for Building Robust Data Centers
Notes
Please login to add notes
- Table of Contents
- Foreword
-
+
Preface
-
+
Part I. Replication
- + Chapter 1. Introduction
-
+
Chapter 2. MySQL Replication Fundamentals
- + Basic Steps in Replication
-
+
A Brief Introduction to the Binary Log
- What’s Recorded in the Binary Log
- Watching Replication in Action
- The Binary Log’s Structure and Content
- Python Support for Managing Replication
- Basic Classes and Functions
- Operating System
- Server Class
- Server Roles
- Creating New Slaves
- Cloning the Master
- Cloning the Slave
- Scripting the Clone Operation
- + Performing Common Tasks with Replication
- Conclusion
-
+
Chapter 3. The Binary Log
- + Structure of the Binary Log
-
+
Logging Statements
- Logging Data Manipulation Language Statements
- Logging Data Definition Language Statements
- + Logging Queries
- LOAD DATA INFILE Statements
- Binary Log Filters
- + Triggers, Events, and Stored Routines
- Stored Procedures
- Stored Functions
- Events
- + Special Constructions
- Nontransactional Changes and Error Handling
- + Logging Transactions
- + Binary Log Management
- + The mysqlbinlog Utility
- Binary Log Options and Variables
- Conclusion
-
+
Chapter 4. Replication for High Availability
- + Chapter 5. MySQL Replication for Scale-Out
- + Chapter 6. Advanced Replication
-
+
Part II. Monitoring and Disaster Recovery
- + Chapter 7. Getting Started with Monitoring
- + Chapter 8. Monitoring MySQL
- + Chapter 9. Storage Engine Monitoring
-
+
Chapter 10. Replication Monitoring
-
+
Chapter 11. Replication Troubleshooting
-
+
What Can Go Wrong
- + Problems on the Master
-
+
Problems on the Slave
- Slave server crashed and replication won’t start
- Slave connection times out and reconnects frequently
- Query results are different on the slave than on the master
- Slave issues errors when attempting to restart with SSL
- Memory table data goes missing
- Temporary tables are missing after a slave crash
- Slave is slow and is not synced with the master
- Data loss after a slave crash
- Table corruption after a crash
- Relay log is corrupt on the slave
- Multiple errors during slave restart
- Consequences of a failed transaction on the slave
- + Advanced Replication Problems
- Tools for Troubleshooting Replication
-
+
Best Practices
- Reporting Replication Bugs
- Conclusion
-
+
What Can Go Wrong
- + Chapter 12. Protecting Your Investment
-
+
Chapter 13. MySQL Enterprise
-
+
Part III. High Availability Environments
-
+
Chapter 14. Cloud Computing Solutions
- + What Is Cloud Computing?
- Cloud Computing Use Cases
- Cloud Computing Benefits
- Cloud Computing Vendors
-
+
AWS
- + A Brief Overview of Technologies
- How Does It All Work?
- + Amazon Cloud Tools
-
+
Getting Started
- Getting an account
- Getting your credentials
- Amazon login and password
- Access key ID and secret access key
- SOAP and EC2 command-line tools
- Credentials for working with CloudFront
- Credentials for working with instances
- Other credentials
- Running an instance with the AMS Management Console
- Launching an instance with the EC2 API tools
- + Working with Disk
- Where to Go from Here
- + MySQL in the Cloud
- Open Source Cloud Computing
- Conclusion
-
+
Chapter 15. MySQL Cluster
-
+
Chapter 14. Cloud Computing Solutions
-
+
Appendix. Replication Tips and Tricks
- My Slave Stopped. Now What?
- Examining the Binary Log with Verbose
- + Using Replication to Repopulate a Table
- Using MySQL Proxy to Perform Multimaster Replication
- Using a Default Storage Engine
- MySQL Cluster Multisource Replication
- Multichannel Replication with Failover
- Using the Current Database to Filter
- More Columns on Slave Than Master
- Fewer Columns on Slave Than Master
- Replicate Selected Rows to Slave
- Replication Heartbeat
- Ignoring Servers in Circular Replication
- Feature Preview: Time-Delayed Replication
- Feature Preview: Scriptable Replication
- Feature Preview: The Oracle Algorithm
- Index
Server bottlenecks and failures are a fact of life in any database deployment, but they don't have to bring everything to a halt. MySQL has several features that can help you protect your system from outages, whether it's running on hardware, virtual machines, or in the cloud. MySQL High Availability explains how to use these replication, cluster, and monitoring features in a wide range of real-life situations.
Written by engineers who designed many of the tools covered inside, this book reveals undocumented or hard-to-find aspects of MySQL reliability and high availability -- knowledge that's essential for any organization using this database system.
Explore the binary log, a file for replication that helps in disaster recovery and troubleshooting
Get techniques for improving response time and handling large data sets
Monitor database activity and performance, as well as major operating system parameters
Keep track of what masters and slaves are doing, and deal with failures and restarts, corruption, and other incidents
Automate key tasks with code from an open source library written by the authors
Learn techniques for using MySQL in virtualized environments, such as Amazon Web Services
Use MySQL Cluster to achieve high availability
"MySQL replication is widely deployed but has never been adequately explained. This book changes that." -- Mark Callaghan, MySQL contributor and leader of MySQL engineering efforts at a few of the world's largest Internet companies
Test the closed alpha on paperc.com
Book Details
Authors
Charles Bell, Mats Kindahl, and Lars Thalmann
Categories
Computers > Database Management > General
Publishers
Publication year : 2010
License: All rights reserved ©
Times read: 317

