High Performance MySQL: Optimization, Backups, Replication, Load-balancing, and
暫譯: 高效能 MySQL:優化、備份、複製、負載平衡與

Jeremy D. Zawodny, Derek J. Balling

  • 出版商: O'Reilly
  • 出版日期: 2004-04-18
  • 售價: $1,590
  • 貴賓價: 9.5$1,511
  • 語言: 英文
  • 頁數: 265
  • 裝訂: Paperback
  • ISBN: 0596003064
  • ISBN-13: 9780596003067
  • 相關分類: MySQLSQL
  • 已過版

買這商品的人也買了...

相關主題

商品描述

As users come to depend on MySQL, they find that they have to deal with issues of reliability, scalability, and performance--issues that are not well documented but are critical to a smoothly functioning site. This book is an insider's guide to these little understood topics.

Author Jeremy Zawodny has managed large numbers of MySQL servers for mission-critical work at Yahoo!, maintained years of contacts with the MySQL AB team, and presents regularly at conferences. Jeremy and Derek have spent months experimenting, interviewing major users of MySQL, talking to MySQL AB, benchmarking, and writing some of their own tools in order to produce the information in this book.

In High Performance MySQL you will learn about MySQL indexing and optimization in depth so you can make better use of these key features. You will learn practical replication, backup, and load-balancing strategies with information that goes beyond available tools to discuss their effects in real-life environments. And you'll learn the supporting techniques you need to carry out these tasks, including advanced configuration, benchmarking, and investigating logs.

Topics include:

  • A review of configuration and setup options
  • Storage engines and table types
  • Benchmarking
  • Indexes
  • Query Optimization
  • Application Design
  • Server Performance
  • Replication
  • Load-balancing
  • Backup and Recovery
  • Security

Table of Contents:

Preface

1. Back To Basics
     Binary Versus Compiled-From-Source Installations
     Configuration Files
     The SHOW Commands

2. Storage Engines (Table Types)
     MySQL Architecture
     Locking and Concurrency
     Transactions
     Selecting the Right Engine
     The Storage Engines

3. Benchmarking
     The Importance of Benchmarking
     Benchmarking Strategies
     Benchmarking Tools

4. Indexes
     Indexing Basics
     Index Structures
     Indexes and Table Types
     Index Maintenance

5. Query Performance
     Query Processing Basics
     Optimizer Features and Oddities
     Identifying Slow Queries
     Influencing MySQL with Hints
     Stupid Query Tricks

6. Server Performance Tuning
     Performance-Limiting Factors
     RAID
     Operating System
     Techniques

7. Replication
     Replication Overview
     Configuring Replication
     Under the Hood
     Replication Architectures
     Administration and Maintenance
     Common Problems
     The Future of Replication

8. Load Balancing and High Availability
     Load Balancing Basics
     Configuration Issues
     Cluster Partitioning
     High Availability

9. Backup and Recovery
     Why Backups?
     Considerations and Tradeoffs
     Tools and Techniques
     Rolling Your Own Backup Script

10. Security
     Account Basics
     The Grant Tables
     Grant and Revoke
     Operating System Security
     Network Security
     Data Encryption
     MySQL in a chrooted Environment

A. The SHOW STATUS and SHOW INNODB STATUS Commands

B. mytop

C. phpMyAdmin

Index

商品描述(中文翻譯)

隨著使用者對 MySQL 的依賴增加,他們發現必須處理可靠性、可擴展性和性能等問題——這些問題並未得到充分的文檔記錄,但對於網站的順利運行至關重要。本書是這些不太被理解主題的內部指南。

作者 Jeremy Zawodny 在 Yahoo! 負責大量的 MySQL 伺服器以支援關鍵任務,並與 MySQL AB 團隊保持多年聯繫,定期在會議上發表演講。Jeremy 和 Derek 花了數月時間進行實驗,訪談 MySQL 的主要用戶,與 MySQL AB 交流,進行基準測試,並編寫一些自己的工具,以產出本書中的資訊。

在《High Performance MySQL》中,您將深入了解 MySQL 的索引和優化,以便更好地利用這些關鍵功能。您將學習實用的複製、備份和負載平衡策略,這些資訊超越了可用工具,討論它們在實際環境中的影響。您還將學習執行這些任務所需的支援技術,包括高級配置、基準測試和日誌調查。

主題包括:
- 配置和設置選項回顧
- 儲存引擎和表類型
- 基準測試
- 索引
- 查詢優化
- 應用設計
- 伺服器性能
- 複製
- 負載平衡
- 備份和恢復
- 安全性

目錄:
前言

1. 回到基本
- 二進位安裝與從源碼編譯的安裝
- 配置檔案
- SHOW 命令

2. 儲存引擎(表類型)
- MySQL 架構
- 鎖定與併發
- 交易
- 選擇合適的引擎
- 儲存引擎

3. 基準測試
- 基準測試的重要性
- 基準測試策略
- 基準測試工具

4. 索引
- 索引基礎
- 索引結構
- 索引與表類型
- 索引維護

5. 查詢性能
- 查詢處理基礎
- 優化器特性與奇異性
- 識別慢查詢
- 透過提示影響 MySQL
- 笨拙的查詢技巧

6. 伺服器性能調整
- 性能限制因素
- RAID
- 作業系統
- 技術

7. 複製
- 複製概述
- 配置複製
- 內部運作
- 複製架構
- 管理與維護
- 常見問題
- 複製的未來

8. 負載平衡與高可用性
- 負載平衡基礎
- 配置問題
- 叢集分區
- 高可用性

9. 備份與恢復
- 為什麼需要備份?
- 考量與權衡
- 工具與技術
- 自行編寫備份腳本

10. 安全性
- 帳戶基礎
- 授權表
- 授權與撤銷
- 作業系統安全
- 網路安全
- 數據加密
- 在 chroot 環境中的 MySQL

附錄 A. SHOW STATUS 和 SHOW INNODB STATUS 命令

附錄 B. mytop

附錄 C. phpMyAdmin

索引