Reach the summit by building MySQL, one block at a time. Point at any block, or tap it, to see what it is.
Real-world time so far 0:00:00Explore the architecture of Percona Server for MySQL, one block at a time.
Reach the summit by building MySQL, one block at a time. Point at any block, or tap it, to see what it is.
Real-world time so far 0:00:00Percona Server for MySQL 9.7 LTS is built from about 63,920 files in the percona/percona-server repository. About 5,284 C and C++ source files are compiled and linked into one mysqld binary; on a 16-core machine the build takes about 45 minutes. These are its layers, from the bottom of the mountain to the top.
git clone --recursive. The repository and its submodules, such as RocksDB for the MyRocks engine.cmake. CMake checks the machine and your options, then writes the compile plan.extra/. Bundled open source code: zlib, zstd, lz4, ICU for Unicode, Protocol Buffers, Abseil, libedit, and OpenSSL.strings/ mysys/ vio/. Character sets, files and threads, networking, and the client library: sql-common, libmysqlclient, libservices.storage/. Where rows live: InnoDB, MyRocks, MEMORY, TempTable, MyISAM, CSV, and the Performance Schema.sql/. The parser, the optimizer, the data dictionary, histograms, GIS, authentication and privileges, and server services.plugin/ components/. Group Replication, semi-synchronous replication, Clone, the thread pool, OpenTelemetry, and the features Percona adds: data masking, the audit log filter, PAM and LDAP authentication, keyrings, telemetry, and Percona UDFs.link, client/, router/. Everything is linked into mysqld, then the client tools, MySQL Router, and the tests are built.Walk through it in the quick tour (about four minutes) or the engineer tour with CMake flags, tips, and typical errors.
Percona Build Lab is a simulator: nothing is compiled in your browser. Component names, sizes and file names come from the real source code; build times are an estimate.
Questions, ideas or found a mistake? Write to the Percona Community team: community-team@percona.com