Buy this Book
Print Book $49.99 PDF $34.99 Read it Now!
Print Book £35.50
Add to UK Cart
Reprint Licensing
Understanding MySQL Internals

By Sasha Pachev
First Edition  April 2007 
Pages: 254
ISBN 10: 0-596-00957-7 | ISBN 13: 9780596009571

Buy 2 Get 1 Free Free ShippingGuarantee

Book description

Although MySQL's source code is open in the sense of being publicly available, it's essentially closed to you if you don't understand it. This book provides a comprehensive tour of MySQL 5 that shows you how to figure out the inner-workings of this powerful database. You'll learn how data structures and convenience functions operate, how to add new storage engines and configuration options, and much more.


Full Description

Although MySQL's source code is open in the sense of being publicly available, it's essentially closed to you if you don't understand it. In this book, Sasha Pachev -- a former member of the MySQL Development Team -- provides a comprehensive tour of MySQL 5 that shows you how to figure out the inner workings of this powerful database. You'll go right to heart of the database to learn how data structures and convenience functions operate, how to add new storage engines and configuration options, and much more.



The core of Understanding MySQL Internals begins with an Architecture Overview that provides a brief introduction of how the different components of MySQL work together. You then learn the steps for setting up a working compilable copy of the code that you can change and test at your pleasure. Other sections of the book cover:



  • Core server classes, structures, and API
  • The communication protocol between the client and the server
  • Configuration variables, the controls of the server; includes a tutorial on how to add your own
  • Thread-based request handling -- understanding threads and how they are used in MySQL
  • An overview of MySQL storage engines
  • The storage engine interface for integrating third-party storage engines
  • The table lock manager
  • The parser and optimizer for improving MySQL's performance
  • Integrating a transactional storage engine into MySQL
  • The internals of replication




Understanding MySQL Internals provides unprecedented opportunities for developers, DBAs, database application programmers, IT departments, software vendors, and computer science students to learn about the inner workings of this enterprise-proven database. With this book, you will soon reach a new level of comprehension regarding database development that will enable you to accomplish your goals. It's your guide to discovering and improving a great database.

Browse within this book

Cover | Table of Contents | Colophon



Featured customer reviews

Be the first person to review this book!

Write a Review


Media reviews

"Understanding MySQL Internals provides a very good introduction to the internals of MySQL Server. Being a former member of the MySQL development team from 2000 to 2002 and the original developer of replication in MySQL, Pachev holds a lot of expertise and credibility...That said, if you are a programmer wanting to customize MySQL for specific use, a DBA wanting to optimize your queries or truly understand the inner workings, or if you just like to open the box and see how things work, then Understanding MySQL Internals is your ticket to the big top."
-- T. Michael Testi, Blogcritics Magazine

Read all reviews


See larger cover