Buying Options
High Performance MySQL
Ebook $27.99
Add to Cart
Safari Books Online
Add to Cart
What is this?

Product Editions

Please consider the latest edition.

  1. High Performance MySQL, Second Edition - June 2008
  2. High Performance MySQL - April 2004
Description
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.
Full Description
Table of Contents
  1. Chapter 1 Back To Basics

    1. Binary Versus Compiled-From-Source Installations

    2. Configuration Files

    3. The SHOW Commands

  2. Chapter 2 Storage Engines (Table Types)

    1. MySQL Architecture

    2. Locking and Concurrency

    3. Transactions

    4. Selecting the Right Engine

    5. The Storage Engines

  3. Chapter 3 Benchmarking

    1. The Importance of Benchmarking

    2. Benchmarking Strategies

    3. Benchmarking Tools

  4. Chapter 4 Indexes

    1. Indexing Basics

    2. Index Structures

    3. Indexes and Table Types

    4. Index Maintenance

  5. Chapter 5 Query Performance

    1. Query Processing Basics

    2. Optimizer Features and Oddities

    3. Identifying Slow Queries

    4. Influencing MySQL with Hints

    5. Stupid Query Tricks

  6. Chapter 6 Server Performance Tuning

    1. Performance-Limiting Factors

    2. RAID

    3. Operating System

    4. Techniques

  7. Chapter 7 Replication

    1. Replication Overview

    2. Configuring Replication

    3. Under the Hood

    4. Replication Architectures

    5. Administration and Maintenance

    6. Common Problems

    7. The Future of Replication

  8. Chapter 8 Load Balancing and High Availability

    1. Load Balancing Basics

    2. Configuration Issues

    3. Cluster Partitioning

    4. High Availability

  9. Chapter 9 Backup and Recovery

    1. Why Backups?

    2. Considerations and Tradeoffs

    3. Tools and Techniques

    4. Rolling Your Own Backup Script

  10. Chapter 10 Security

    1. Account Basics

    2. The Grant Tables

    3. Grant and Revoke

    4. Operating System Security

    5. Network Security

    6. Data Encryption

    7. MySQL in a chrooted Environment

  1. Appendix A The SHOW STATUS and SHOW INNODB STATUS Commands

    1. SHOW STATUS

    2. SHOW INNODB STATUS

  2. Appendix B mytop

    1. Overview

    2. Getting mytop

    3. Configuration and Usage

    4. Common Tasks

  3. Appendix C phpMyAdmin

    1. The Basics

    2. Practical Examples

  4. Colophon

View Full Table of Contents
Product Details
Title:
High Performance MySQL
By:
Jeremy D. Zawodny, Derek J. Balling
Publisher:
O'Reilly Media
Formats:
  • Print
  • Ebook
  • Safari Books Online
Print Release:
April 2004
Ebook Release:
December 2008
Pages:
304
Print ISBN:
978-0-596-00306-7
| ISBN 10:
0-596-00306-4
Ebook ISBN:
978-0-596-15931-3
| ISBN 10:
0-596-15931-5
Customer Reviews
About the Authors
  1. Jeremy D. Zawodny

    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/

    View Jeremy D. Zawodny's full profile page.

  2. Derek J. Balling

    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/.

    View Derek J. Balling's full profile page.

Colophon

Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of High Performance MySQL: Optimization, Backups, Replication, and Load Balancing, is a sparrow hawk (Accipiter nisus), a small woodland member of the falcon family found in Eurasia and North Africa. Sparrow hawks have a long tail and short wings; males are bluish-grey with a light brown breast, and females are more brown-grey and have an almost fully white breast. Males are normally somewhat smaller (11 inches) than females (15 inches).

Sparrow hawks live in coniferous woods and feed on small mammals, insects, and birds. They nest in trees and sometimes on cliff ledges. At the beginning of the summer, the female lays 4 to 6 white eggs, blotched red and brown, in a nest made in the boughs of the tallest tree available. The male feeds the female and their young.

Like all hawks, the sparrow hawk is capable of bursts of high speed in flight. Whether soaring or gliding, the sparrow hawk has a characteristic flap-flap-glide action; its large tail enables the hawk to twist and turn effortlessly in and out of cover. Mary Anne Weeks Mayo was the production editor and proofreader, and Leanne Soylemez was the copyeditor for High Performance MySQL: Optimization, Backups, Replication, and Load Balancing. Emily Quill and Claire Cloutier provided quality control. Jamie Peppard and Mary Agner provided production assistance. John Bickelhaupt wrote the index.

Ellie Volckhausen designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.

David Futato designed the interior layout. This book was converted by Joe Wizda to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop6. The tipand warning icons were drawn by Christopher Bing. This colophon was compiled by Mary Anne Weeks Mayo.

  • Book cover of High Performance MySQL