MySQL 8.4.3
Source Code Documentation
Related Pages
Here is a list of all related documentation pages:
[detail level 12345678]
 MySQL Libraries
 Global Transaction IDentifiers (GTIDs) Library
 MySQL Binlog Libraries
 MySQL Serialization Library
 MySQL Utility Library
 Getting Started
 Coding GuidelinesThis section shows the guidelines that MySQL developers follow when writing new code
 Infrastructure
 Client/Server Protocol
 Protocol BasicsThis is a description of the basic building blocks used by the MySQL protocol:
 Connection LifecycleThe MySQL protocol is a stateful protocol
 X Protocol
 Life CycleTopics in this section:
 AuthenticationTopics in this section:
 MessagesTopics in this section:
 ExpectationsTopics in this section:
 NoticesTopics in this section:
 Implementation of the X Protocol by the X PluginTopics in this section:
 Use CasesTopics in this section:
 Implementation NotesTopics in this section:
 Comparison to MySQL C/S Protocol
 How to build a Community ConnectorMySQL provides a set of official MySQL Connectors for several popular development frameworks and languages like Node.js, .Net, Python, Java, C, C++ and more
 SQL Query Execution
 SQL OptimizerThe task of query optimizer is to determine the most efficient means for executing queries
 Stored Programs
 TransactionsSee trans_begin, trans_commit, trans_rollback
 Data Storage
 Innodb data lock instrumentationInnodb Performance Schema data lock instrumentation
 Innodb redo log
 Innodb Lock-sys
 Innodb utilsUseful data structures:
 TempTable storage engineThe TempTable storage engine is designed to be used by the Optimizer for creating temporary tables internally when dealing with complex queries
 ReplicationHow replication of field metadata works.
 SecurityAuthorization IDs, roles and users Keyring Component
 Authorization IDs, roles and users
 Keyring Component
 MonitoringPerformance Schema
 Performance SchemaMySQL PERFORMANCE_SCHEMA implementation
 Extending MySQL
 Component SubsystemThe component subsystem is designed to overcome some of the architectural issues of the plugin subsystem, namely:
 Plugins
 Plugin Services
 User Defined Functions
 Available servicesTable Access service Server telemetry traces service Event Tracking Services Server metrics instrument service Server telemetry metrics service
 Table Access serviceThe TABLE ACCESS service allows components to read and write to MySQL tables owned by the component
 Server telemetry traces servicePerformance Schema server telemetry traces service is a mechanism which provides plugins/components a way to get notifications related to SQL statements lifetime
 Event Tracking Services
 Server metrics instrument servicePerformance Schema server metrics instrument service is a mechanism which provides registration of metric sources within the server or plugin/component
 Server telemetry metrics servicePerformance Schema server telemetry metrics service provides a way for plugins/components to query telemetry meters (metric groups), metrics and metric measurements in order to periodically export these measurements using Open Telemetry protocol
 Server tools
 MySQL RouterMySQL Router
 Client toolsSee mysqldump.cc mysql.cc
 Testing Tools
 The MySQL Test FrameworkThis manual describes the MySQL test framework, consisting of the test driver and the test script language
 Component unit testing using the minimal chasissThis framework allows testing components without loading them into the server
 Development Tools
 Lock OrderMySQL LOCK ORDER
 Code pathsThis section details how the server executes some statements, to illustrate how different parts work together
 CREATE TABLE
 Deprecated List