Cheap Web Hosting and Domain Registration - Dayana Host Cheap Web Hosting and Domain Registration - Dayana Host Cheap Web Hosting and Domain Registration - Powered by Dayana Networks   Cheap Web Hosting with 30 Days Money Back Guarantee by Dayana Host
More than 65,840 web sites hosted. Latest client joined at Aug 20, 2008, 8:05am PDT

Useful Books and Software

Related MySQL Books

     
 
Books and Software > Books > MySQL > Page 1 > Understanding MySQL Internals (Understanding)
 
     
 
Understanding MySQL Internals (Understanding)
 
5.0 of 5.0
 
Understanding MySQL Internals (Understanding)

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.



 
Publisher: O'Reilly Media, Inc.
Author: Sasha Pachev
Release Date: 2007-04-10
ISBN/EAN: 0596009577 / 9780596009571

New Price: $14.92 / Used Price: $14.91 / Collectible Price: n.a.
Buy it Now!
Average Rating: 5.0
Number of Reviews: 4

 

Lift the magic veilRating:
An excellent overview of the MySQL codebase, philosophy, and the design decisions that have made MySQL what it is today. Even though I have never touched the MySQL source before (it can be a daunting beast for the uninitiated), Sasha's explanations made me comfortable with the 'internals' and finally lifted the 'magic veil' off the engine. 'MySQL internals' has a perfect balance of high-level explanations, and low-level code samples to help you understand the inner workings of the database.

After reading this book you should be comfortable enough to tackle the source, and you'll also have deep understanding of the storage engines and how to configure them, how the query parser works, how the optimizer decides on the execution plan, and much more. This is a must read for any DBA, or a programmer who wants to see a great example of a high-performance, reliable UNIX server.
Total Votes: 0, Helpful Votes: 0, Date: 2008-01-01
 
A very good book!Rating:
Sasha knows the mysql code well, and he has done a fantastic job of presenting it. This is an important book for anyone who would like an enhanced understanding of mysql, including DBAs who might need a detailed understanding of locking or replication to. And it's a must-have for anyone working on a storage engine.
Total Votes: 0, Helpful Votes: 0, Date: 2007-08-17
 
Provides clear insightsRating:
Sasha Pachev's UNDERSTANDING MYSQL INTERNALS: DISCOVERING AND IMPROVING A GREAT DATABASE provides clear insights into one of the most popular open source codes on the market. It comes from a former member of the MySQL development team, so offers the author's own insights into the program's creation and use, covering everything from communication protocols between client and server to the parser and optimizer that execute SQL commands, advantages and disadvantages of using threads, and more technical insights.
Total Votes: 3, Helpful Votes: 0, Date: 2007-07-07
 
Excellent book, clearly explains MySQL internalsRating:
MySQL is assuming increased importance as an enterprise database and has become the de-facto standard with web hosting companies. A number of books have appeared in recent years, covering various aspects of MySQL. In Understanding MySQL Internals, Sasha Pachev, a MySQL-focused consultant and former member of the MySQL development team, takes us on a tour of how MySQL works and how it is built.

Starting with an overview of MySQL history and architecture, the book quickly moves us through working with the source code to build and run the product in a debugger. Drawing on his deep experience with the software, Mr. Pachev explains the coding conventions used to develop MySQL and why you should use them when modifying the software yourself.

The author delineates the different functional "modules" (a term he coined himself to better explain the database, technically speaking there are no defined modules in MySQL's architecture) of MySQL and how they interrelate. Herein lies the key to how this book teaches the reader the vast intricacy of such a complex piece of software. The author recognizes the subject is huge and the source code changing. What he does in the book is serve as our tour guide, driving us through the various areas and explaining as much relevant information as he reasonably can. He constantly illustrates key pieces of source code and data structures; but perhaps more importantly he makes reference to the actual source files utilized by each functional component of the system, while encouraging us to explore further on our own. His approach is very much "top down".

As he takes us on this tour, the author explains many of the design decisions behind the various MySQL components, often imparting the historical perspective behind them. I appreciate how, throughout the book, the author shares some of his "inside information" about MySQL's development. There is also a section where he examines the code stability of each module and speculates on what the future may hold for each module. The author's writing style is clear and easy to read. I found Understanding MySQL Internals interesting and fun, and surprisingly easy to read for a book covering such a sophisticated piece of software. The author also does a good job explaining the engineering trade-offs of different MySQL configurations. Speaking of configuration, the book shows you how to add your own configuration option to the mysqld daemon.

Chapter 7, the largest chapter in the book, is 41 pages long. It covers the MySQL storage engine interface. This chapter explains how to integrate your own custom storage engine into MySQL and contains the source code for two custom storage engine examples (one for MySQL 4.1, the other for version 5.1). You can download this source code from O'Reilly's web site. Despite this one long chapter, the book is surprising short, only 234 pages.

I believe this book has value outside of MySQL. It does a good job showing how MySQL is essentially a well designed piece of software: a high-performance, reliable Unix server. The book also touches on the multi-platform aspects of MySQL design. Those of you designing other types of server software may benefit from studying how MySQL is constructed.

This book isn't for everyone, but if you are serious about MySQL in particular or database software design in general then this title certainly deserves a look.


Total Votes: 8, Helpful Votes: 8, Date: 2007-05-25
 
 
     
Dayana Host
  Home
  Process Guide
  Affiliate Program
  Testimonials
  Sample Clients
  CPanel Demo
  AUP / ASP / TOS
   
Network and tools
  Network Maps
  Network Status
 

NS Lookup

  Whois Search
   
Product and Services
  Domain Registration
  Personal Web Hosting
  Business Web Hosting
  Reseller Web Hosting
  Dedicated Servers
  Traffic Blazer
  Web Design Themes
  Members Area
   
Customer Support
  Support Center
  Forums
  CPanel Tutorials
  FAQ
  Getting Started Guide
  Useful Links
  Downloads
  Books and Software
   
Contact us
  Contact
  Customer Service
   
   

Say5 Hosting Control Panel
© Copyrights 1998-2008 Dayana Networks. All rights reserved. Privacy Policy - AUP/ASP/TOS

Home | Process Guide | Affiliate Program | Network Maps | Testimonials | Uptime Monitor | Contact | Table of Contents | phpOnline
Domain Registration | Personal Web Hosting Plans | Business Web Hosting Plans | Reseller Web Hosting Plans | Sample Clients
Customer Service | Support Center | Forums | Control Panel Demo | Useful Resources and links | Books and Software
CPanel and WHM Tutorials | Web Site Design Templates | Upgrade, Renew and Maintenance | Free Counter | NS Lookup | Whois
Acceptable Use Policy, Anti Spam Policy, Terms of Services | Privacy Policy