高可用性MySQL(英文影印版)
基本信息
- 作者: Charles Bell Mats Kindahl Lars Thalmann [作译者介绍]
- 丛书名: 南京东南大学出版社O'Reilly系列
- 出版社:东南大学出版社
- ISBN:9787564125257
- 上架时间:2011-3-31
- 出版日期:2011 年1月
- 开本:16开
- 页码:598
- 版次:1-1
- 所属分类:
计算机 > 数据库 > MySQL
内容简介回到顶部↑
服务器瓶颈和故障是任何数据库都无法回避的现实问题,但它们不至于导致整体宕机。mysql具有多种特性,可以帮助你保护系统免于失效,无论它运行在硬件、虚拟机上,还是云中。《高可用性mysql》将详细解释如何在各种各样的现实场景中运用这些复制、集群和监控功能特性。
《高可用性mysql(英文影印版)》由设计相关工具的工程师编写,披露了很多关于mysql可靠性和高可用性方面未写入文档或者很难找到的内容——对于任何使用该数据库系统的组织都是很重要的知识。
·探索二进制日志,这是用于实现复制功能的文件,有助于灾难恢复和故障诊断
·获取改善响应时间和处理大规模数据集的技巧
·学习如何通过复制来扩展服务器
·监控数据库活动和性能,以及主要的操作系统参数
·追踪主从数据库动态,并且处理故障、重启、数据损坏和其他事件
·使用本书作者编写的开源库代码自动化关键任务
·学习在虚拟化环境中使用mysql的技巧,比如amazon web services
·利用mysql cluster实现高可用性
《高可用性mysql(英文影印版)》由设计相关工具的工程师编写,披露了很多关于mysql可靠性和高可用性方面未写入文档或者很难找到的内容——对于任何使用该数据库系统的组织都是很重要的知识。
·探索二进制日志,这是用于实现复制功能的文件,有助于灾难恢复和故障诊断
·获取改善响应时间和处理大规模数据集的技巧
·学习如何通过复制来扩展服务器
·监控数据库活动和性能,以及主要的操作系统参数
·追踪主从数据库动态,并且处理故障、重启、数据损坏和其他事件
·使用本书作者编写的开源库代码自动化关键任务
·学习在虚拟化环境中使用mysql的技巧,比如amazon web services
·利用mysql cluster实现高可用性
作译者回到顶部↑
本书提供作译者介绍
Charles Bell博士是一位专注于复制和备份方面的资深开发者。他的兴趣范围包括数据库理论、软件工程和敏捷开发实践。
Mats Kindahl博士是MySQL复制与备份团队的复制功能主要开发者。
Lars Thalmann博土是MySQL复制与备份团队的开发经理和技术领导者,他设计了很多复制备份方面的功能特性。
.. << 查看详细
Mats Kindahl博士是MySQL复制与备份团队的复制功能主要开发者。
Lars Thalmann博土是MySQL复制与备份团队的开发经理和技术领导者,他设计了很多复制备份方面的功能特性。
.. << 查看详细
目录回到顶部↑
《高可用性mysql(英文影印版)》
foreword
preface
part ⅰ. replication
1. introduction
what's this replication stuff anyway?
so, backups are not needed then?
what's with all the monitoring?
is there anything else i can read?
conclusion
2. mysql replication fundamentals
basic steps in replication
configuring the master
configuring the slave
connecting the master and slave
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
foreword
preface
part ⅰ. replication
1. introduction
what's this replication stuff anyway?
so, backups are not needed then?
what's with all the monitoring?
is there anything else i can read?
conclusion
2. mysql replication fundamentals
basic steps in replication
configuring the master
configuring the slave
connecting the master and slave
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
前言回到顶部↑
The authors of this book have been creating parts of MySQL and working with it for many years. Charles Bell is a senior developer working on replication and backup. His interests include all things MySQL, database theory, software engineering, and agile development practices. Dr. Mats Kindahl is the lead developer for replication and a member of the MySQL Backup and Replication team. He is the main architect and implementor of the MySQL row-based replication and has also developed the unit testing framework used by MySQL. Dr. Lars Thalmann is the development manager and technical lead of the MySQL Replication and Backup team and has designed many of the replication and backup features. He has worked with development of MySQL clustering, replication, and backup technologies.
We wrote this book to fill a gap we noticed among the many books on MySQL. There are many excellent books on MySQL, but few that concentrate on its advanced features and its applications, such as high availability, reliability, and maintainability. In this book, you will find all of these topics and more.
We also wanted to make the reading a bit more interesting by including a running narrative about a MySQL professional who encounters common requests made by his boss. In the narrative, you will meet Joel Thomas, who recently decided to take a job working for a company that has just started using MySQL. You will observe Joel as he learns his way around MySQL and tackles some of the toughest problems facing MySQL professionals. We hope you find this aspect of the book entertaining.
Audience
This book is for MySQL professionals. We expect you to have a basic background in SQL, administering MySQL, and the operating system you are running. We will try to fill in background information about replication, disaster recovery, system monitoring, and other key topics of high availability. See Chapter I for other books that offer useful background.
Organization of This Book
This book is written in three parts. Part Ⅰ encompasses MySQL replication, including high availability and scale-out. Part Ⅱ examines monitoring and performance concerns for building robust data centers. Part Ⅲ examines some additional areas of MySQL, including cloud computing and MySQL clusters.
Part Ⅰ, Replication
Chapter 1, Introduction, explains how this book can help you and gives you a context for reading it.
Chapter 2, MySQL Replication Fundamentals, discusses both manual and automated procedures for setting up basic replication.
Chapter 3, The Binary Log, explains the critical file that ties together replication and helps in disaster recovery, troubleshooting, and other administrative tasks.
Chapter 4, Replication for High Availability, shows a number of ways to recover from server failure, including the use of automated scripts.
Chapter 5, MySQL Replication for Scale-Out, shows a number of techniques and topologies for improving response time and handling large data sets.
Chapter 6, Advanced Replication, addresses a number of topics, such as secure data transfer and row-based replication.
Part Ⅱ, Monitoring and Disaster Recovery
Chapter 7, Getting Started with Monitoring, presents the main operating system parameters you have to be aware of, and tools for monitoring them.
Chapter 8, Monitoring MySQL, presents several tools for monitoring database activity and performance.
Chapter 9, Storage Engine Monitoring, explains some of the parameters you need to monitor on a more detailed level, focusing on issues specific to MyISAM or InnoDB.
Chapter 10, Replication Monitoring, offers details about how to keep track of what masters and slaves are doing.
Chapter 11, Replication Troubleshooting, shows how to deal with failures and restarts, corruption, and other incidents.
We wrote this book to fill a gap we noticed among the many books on MySQL. There are many excellent books on MySQL, but few that concentrate on its advanced features and its applications, such as high availability, reliability, and maintainability. In this book, you will find all of these topics and more.
We also wanted to make the reading a bit more interesting by including a running narrative about a MySQL professional who encounters common requests made by his boss. In the narrative, you will meet Joel Thomas, who recently decided to take a job working for a company that has just started using MySQL. You will observe Joel as he learns his way around MySQL and tackles some of the toughest problems facing MySQL professionals. We hope you find this aspect of the book entertaining.
Audience
This book is for MySQL professionals. We expect you to have a basic background in SQL, administering MySQL, and the operating system you are running. We will try to fill in background information about replication, disaster recovery, system monitoring, and other key topics of high availability. See Chapter I for other books that offer useful background.
Organization of This Book
This book is written in three parts. Part Ⅰ encompasses MySQL replication, including high availability and scale-out. Part Ⅱ examines monitoring and performance concerns for building robust data centers. Part Ⅲ examines some additional areas of MySQL, including cloud computing and MySQL clusters.
Part Ⅰ, Replication
Chapter 1, Introduction, explains how this book can help you and gives you a context for reading it.
Chapter 2, MySQL Replication Fundamentals, discusses both manual and automated procedures for setting up basic replication.
Chapter 3, The Binary Log, explains the critical file that ties together replication and helps in disaster recovery, troubleshooting, and other administrative tasks.
Chapter 4, Replication for High Availability, shows a number of ways to recover from server failure, including the use of automated scripts.
Chapter 5, MySQL Replication for Scale-Out, shows a number of techniques and topologies for improving response time and handling large data sets.
Chapter 6, Advanced Replication, addresses a number of topics, such as secure data transfer and row-based replication.
Part Ⅱ, Monitoring and Disaster Recovery
Chapter 7, Getting Started with Monitoring, presents the main operating system parameters you have to be aware of, and tools for monitoring them.
Chapter 8, Monitoring MySQL, presents several tools for monitoring database activity and performance.
Chapter 9, Storage Engine Monitoring, explains some of the parameters you need to monitor on a more detailed level, focusing on issues specific to MyISAM or InnoDB.
Chapter 10, Replication Monitoring, offers details about how to keep track of what masters and slaves are doing.
Chapter 11, Replication Troubleshooting, shows how to deal with failures and restarts, corruption, and other incidents.
序言回到顶部↑
A lot of research has been done on replication, but most of the resulting concepts are never put into production. In contrast, MySQL replication is widely deployed but has never been adequately explained. This book changes that. Things are explained here that were previously limited to people willing to read a lot of source code and spend a lot of time debugging it in production, including a few late-night sessions.
Replication enables you to provide highly available data services while enduring the inevitable failures. There are an amazing number of ways for things to fail, including the loss of a disk, server, or data center. Even when hardware is perfect or fully redundant, people are not. Database tables will be dropped by mistake. Applications will write incorrect data. Occasional failure is assured. But with reasonable preparation, recovery from failure can also be assured. The keys to survival are redundancy and backups. Replication in MySQL supports both.
But MySQL replication is not limited to supporting failure recovery. It is frequently used to support read scale-out. MySQL can efficiently replicate to a large number of servers. For applications that are read-mostly, this is a cost-effective strategy for supporting a large number of queries on commodity hardware.
And there are other interesting uses for MySQL replication. Online DDL is a very complex feature to implement in an relational database management system. MySQL does not support online DDL, but through the use of replication you can implement something that is frequently good enough. You can get a lot done with replication if you are willing to be creative.
Replication is one of the features that made MySQL wildly popular. It is also the feature that allows you to convert a popular MySQL prototype into a successful business critical deployment. Like most of MySQL, replication favors simplicity and ease of use. As a consequence, it is occasionally less than perfect when running in production. This book explains what you need to know to successfully use MySQL replication. It will help you to understand how replication has been implemented, what can go wrong, how to prevent problems, and how to fix them when they crop up despite your best attempts at prevention.
MySQL replication is also a work in progress. Change, like failure, is also assured. MySQL is responding to that change and replication continues to get more efficient, more robust, and more interesting. For instance, row-based replication is new in MySQL 5.1.
While MySQL deployments come in all shapes and sizes, I care most about data services for Internet applications and am excited about the potential to replicate from MySQL to distributed storage systems like HBase and Hadoop. This will make MySQL better at sharing the data center.
I have been on teams that support important MySQL deployments at Facebook and Google. I have had the opportunity, problems, and time to learn much of what is covered in this book. The authors of this book are also experts on MySQL replication, and by reading this book you can share their expertise.
--Mark Callaghan
Replication enables you to provide highly available data services while enduring the inevitable failures. There are an amazing number of ways for things to fail, including the loss of a disk, server, or data center. Even when hardware is perfect or fully redundant, people are not. Database tables will be dropped by mistake. Applications will write incorrect data. Occasional failure is assured. But with reasonable preparation, recovery from failure can also be assured. The keys to survival are redundancy and backups. Replication in MySQL supports both.
But MySQL replication is not limited to supporting failure recovery. It is frequently used to support read scale-out. MySQL can efficiently replicate to a large number of servers. For applications that are read-mostly, this is a cost-effective strategy for supporting a large number of queries on commodity hardware.
And there are other interesting uses for MySQL replication. Online DDL is a very complex feature to implement in an relational database management system. MySQL does not support online DDL, but through the use of replication you can implement something that is frequently good enough. You can get a lot done with replication if you are willing to be creative.
Replication is one of the features that made MySQL wildly popular. It is also the feature that allows you to convert a popular MySQL prototype into a successful business critical deployment. Like most of MySQL, replication favors simplicity and ease of use. As a consequence, it is occasionally less than perfect when running in production. This book explains what you need to know to successfully use MySQL replication. It will help you to understand how replication has been implemented, what can go wrong, how to prevent problems, and how to fix them when they crop up despite your best attempts at prevention.
MySQL replication is also a work in progress. Change, like failure, is also assured. MySQL is responding to that change and replication continues to get more efficient, more robust, and more interesting. For instance, row-based replication is new in MySQL 5.1.
While MySQL deployments come in all shapes and sizes, I care most about data services for Internet applications and am excited about the potential to replicate from MySQL to distributed storage systems like HBase and Hadoop. This will make MySQL better at sharing the data center.
I have been on teams that support important MySQL deployments at Facebook and Google. I have had the opportunity, problems, and time to learn much of what is covered in this book. The authors of this book are also experts on MySQL replication, and by reading this book you can share their expertise.
--Mark Callaghan
媒体评论回到顶部↑
“MySQL复制虽然已广泛部署,但是从未被充分阐释过。本书改变了这一切。”
——Mark Callaghan MySQL贡献者,担任过多家世界上最大型互联网公司的MySQL工程团队领导
——Mark Callaghan MySQL贡献者,担任过多家世界上最大型互联网公司的MySQL工程团队领导







点击看大图


加载中...

