Databases
52 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- 1.10 MySQL File Systemhistorical
Each database has a subdirectory in the MySQL data directory. These notes examine how database creation relates to the files stored there.
- 1.11 MySQL Pageshistorical
Records are stored within pages in a defined format. These notes examine MySQL page organization through row formats and variable-length-field information.
- 1.12 MySQL Data Typeshistorical
This note presents MySQL data types in a reference diagram for reviewing field-type choices.
- 1.13 MySQL bin-loghistorical
The binlog is an archival log at the MySQL Server layer. It records operations that change the database, rather than ordinary queries.
- 1.14 MySQL Architecturehistorical
MySQL requests pass through connection management and query-processing components. These notes organize the architecture along the path of a client request.
- 1.15 MySQL Connectorhistorical
The MySQL connector manages client connections. Once established, an idle connection can be closed according to the server's timeout settings.
- 1.16 MySQL Statisticshistorical
MySQL uses statistics to estimate query costs. These notes cover how statistics are stored and used when choosing execution plans.
- 1.17 MySQL Table Access Methodshistorical
MySQL uses access methods, or access types, to describe how queries retrieve table records. These notes examine the different methods and their characteristics.
- 1.18 MySQL Slow Query Loghistorical
The MySQL slow query log records SQL statements whose execution time exceeds a threshold, helping identify queries for further analysis.
- 1.19 MySQL show profilehistorical
Use MySQL profiling to inspect query execution records, then use show profile to examine CPU and block-I/O costs for a selected query.