Skip to content

Understanding MySQL Internals Discovering and Improving a Great Database

Best in textbook rentals since 2012!

ISBN-10: 0596009577

ISBN-13: 9780596009571

Edition: 2006

Authors: Sasha Pachev

List price: $49.99
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

Like our strong-selling book, "Understanding the Linux Kernel," this new guide goes to the heart of the MySQL database, another leading open source software project. Written by Sasha Pachev, a former member of the MySQL Development Team, "Understanding MySQL Internals" provides a comprehensive tour of the latest version, MySQL 5, and shows you how to figure out the inner-workings of this popular open source database project. You'll learn how data structures and convenience functions operate, how to add new storage engines and configuration options, and much more. "Understanding MySQL Internals" will help you reach a whole new level of comprehension regarding database development. It…    
Customers also bought

Book details

List price: $49.99
Copyright year: 2006
Publisher: O'Reilly Media, Incorporated
Publication date: 5/1/2007
Binding: Paperback
Pages: 254
Size: 7.09" wide x 9.13" long x 0.56" tall
Weight: 0.924
Language: English

Preface
MySQL History and Architecture
MySQL History
MySQL Architecture
Nuts and Bolts of Working with the MySQL Source Code
Unix Shell
BitKeeper
Preparing the System to Build MySQL from BitKeeper Tree
Building MySQL from BitKeeper Tree
Building from Source Distribution
Installing MySQL into a System Directory
Source Code Directory Layout
Preparing the System to Run MySQL in a Debugger
Debugger-Guided Source Tour
Basics of Working with gdb
Finding Things in the Source
Interesting Breakpoints and Variables
Making a Source Modification
Coding Guidelines
Keeping Your BitKeeper Repository Up to Date
Submitting a Patch
Core Classes, Structures, Variables, and APIs
THD
Net
Table
Field
Utility API Calls
Preprocessor Macros
Global Variables
Client/Server Communication
Protocol Overview
Packet Format
Relationship Between MySQL Protocol and OS Layer
Authenticating Handshake
Command Packet
Server Responses
Configuration Variables
Configuration Variables Tutorial
Interesting Aspects of Specific Configuration Variables
Thread-Based Request Handling
Threads Versus Processes
Implementation of Request Handling
Thread Programming Issues
The Storage Engine Interface
The handler Class
Adding a Custom Storage Engine to MySQL
Concurrent Access and Locking
Table Lock Manager
Parser and Optimizer
Parser
Optimizer
Storage Engines
Shared Aspects of Architecture
InnoDB
Memory (Heap)
MyISAM Merge
NDB
Archive
Federated
Transactions
Overview of Transactional Storage Engine Implementation
Implementing the handler Subclass
Defining the handlerton
Working with the Query Cache
Working with the Replication Binary Log
Avoiding Deadlocks
Replication
Overview
Statement-Based Versus Row-Based Replication
Two-Threaded Slave
Multi-Master
SQL Commands to Help Understand Replication
Binary Log Format
Creating a Custom Replication Utility
Index