rent-now

Rent More, Save More! Use code: ECRENTAL

5% off 1 book, 7% off 2 books, 10% off 3+ books

9780596003067

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

by
  • ISBN13:

    9780596003067

  • ISBN10:

    0596003064

  • Format: Paperback
  • Copyright: 2004-04-01
  • Publisher: Oreilly & Associates Inc

Note: Supplemental materials are not guaranteed with Rental or Used book purchases.

Purchase Benefits

List Price: $39.95 Save up to $9.99
  • Buy Used
    $29.96

    USUALLY SHIPS IN 2-4 BUSINESS DAYS

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.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program