High Performance MySQL : Optimization, Backups, Replication, Load-Balancing, and More

by
Format: Paperback
Pub. Date: 2004-04-01
Publisher(s): Oreilly & Associates Inc
  • Free Shipping Icon

    This Item Qualifies for Free Shipping!*

    *Excludes marketplace orders.

List Price: $41.95

Rent Book

Select for Price
There was a problem. Please try again later.

Rent Digital

Rent Digital Options
Online:1825 Days access
Downloadable:Lifetime Access
$33.59
$33.59

New Book

We're Sorry
Sold Out

Used Book

We're Sorry
Sold Out

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

Summary

Now that MySQL has proven to be a robust product for large users, both programmers and administrators want more information on how to get the most out of it. This new book explains how MySQL works "under the hood", helping readers understand why it's fast and, conversely, what can slow it down. Other common requirements for scaling MySQL, such as replication, backups, and load balancing, are also discussed in detail informed by rich experience. In addition to discussing real world problems and solutions, High Performance MySQL exposes good practices for use in larger demanding environments. The authors also discuss MySQL's weaknesses and how to work around them.

Author Biography

Jeremy Zawodny and his two cats moved from Northwest Ohio to Silicon Valley in late 1999 so he could work for Yahoo!--just in time to witness the .com bubble bursting first-hand. He's been at Yahoo!« ever since, helping to put MySQL and other Open Source technologies to use in fun, interesting, and often very big ways. Starting with the popular and high-traffic Yahoo! Finance site, he worked to make MySQL part of the site's core infrastructure in large batch operations as well as real-time feed processing and serving content directly on the site. He then helped to spread "the MySQL religion" to numerous other groups within Yahoo!, including News, Personals, Sports, and Shopping. Nowadays he acts as Yahoo!'s MySQL guru, working with Yahoo!'s many engineering groups to get the most out of their MySQL deployments.

In 2000, he began writing for Linux Magazine and continues to do so today as a columnist and contributing editor. After over a year of active participation on the MySQL mailing list, he got the idea to write a book about MySQL. (How hard could it be, really?) You can still find him answering questions on the list today. Since 2001, Jeremy has been speaking about MySQL at various conferences (O'Reilly's Open Source Conference, PHPCon, The MySQL User Conference, etc.) and user groups in locations as far away as Bangalore, India. His favorite topics are performance tuning, replication, clustering, and backup/recovery. In more recent times, he's rediscovered his love of aviation, earning a Private Pilot Glider license in early 2003. Since then he's spent far too much of his free time flying gliders out of Hollister, California and Truckee, near Lake Tahoe. He hopes to soon earn his Commercial Pilot license and then go on to become a certified flight instructor someday. Occasional MySQL consulting also helps to pay for his flying addiction.

Jeremy rambles almost daily about technology and life in general on his weblog: www.jeremy.zawodny.com/blog/

Derek J. Balling has been a Linux system administrator since 1996. He has helped build and maintain server infrastructure for companies like Yahoo, and institutions like Vassar College. He has also written articles for The Perl Journal and a number of online magazines, and served on the Program Committee for the 2008 LISA (Large Installation System Administration) Conference. He is currently employed as the Data Center Manager for Answers.com.

When not working on computer-related issues, Derek enjoys spending time with his wife Debbie, and their posse of animals (four cats and a dog). He also makes his opinion known on current events or whatever is annoying him lately on his blog at http://blog.megacity.org/.

Table of Contents

Prefacep. ix
Back To Basicsp. 1
Binary Versus Compiled-From-Source Installationsp. 2
Configuration Filesp. 4
The SHOW Commandsp. 11
Storage Engines (Table Types)p. 16
MySQL Architecturep. 16
Locking and Concurrencyp. 18
Transactionsp. 22
Selecting the Right Enginep. 29
The Storage Enginesp. 35
Benchmarkingp. 45
The Importance of Benchmarkingp. 46
Benchmarking Strategiesp. 46
Benchmarking Toolsp. 49
Indexesp. 61
Indexing Basicsp. 61
Index Structuresp. 68
Indexes and Table Typesp. 72
Index Maintenancep. 76
Query Performancep. 79
Query Processing Basicsp. 79
Optimizer Features and Odditiesp. 92
Identifying Slow Queriesp. 95
Influencing MySQL with Hintsp. 96
Stupid Query Tricksp. 98
Server Performance Tuningp. 103
Performance-Limiting Factorsp. 103
RAIDp. 109
Operating Systemp. 113
Techniquesp. 119
Replicationp. 129
Replication Overviewp. 129
Configuring Replicationp. 134
Under the Hoodp. 140
Replication Architecturesp. 144
Administration and Maintenancep. 148
Common Problemsp. 160
The Future of Replicationp. 164
Load Balancing and High Availabilityp. 169
Load Balancing Basicsp. 169
Configuration Issuesp. 174
Cluster Partitioningp. 179
High Availabilityp. 182
Backup and Recoveryp. 187
Why Backups?p. 187
Considerations and Tradeoffsp. 189
Tools and Techniquesp. 193
Rolling Your Own Backup Scriptp. 199
Securityp. 203
Account Basicsp. 203
The Grant Tablesp. 207
Grant and Revokep. 215
Operating System Securityp. 222
Network Securityp. 223
Data Encryptionp. 231
MySQL in a chrooted Environmentp. 235
The SHOW STATUS and SHOW INNODB STATUS Commandsp. 237
mytopp. 248
phpMyAdminp. 257
Indexp. 267
Table of Contents provided by Ingram. All Rights Reserved.

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.