Databases
52 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- 1.20 System Databaseshistorical
MySQL system databases store information such as permissions, stored routines, events, logs, help, and time zones. These notes describe the role of each database.
- 1.21 MySQL Parserhistorical
The MySQL parser breaks SQL statements into tokens and analyzes their syntax before optimization and execution.
- 1.22 MySQL Executorhistorical
The MySQL executor checks permissions and executes SQL through storage-engine interfaces that read or modify data.
- 1.23 MySQL Production Issue Troubleshootinghistorical
MySQL production troubleshooting can begin with active sessions and resource-heavy SQL, followed by analysis with tools such as EXPLAIN. These notes record the commands.
- 1.25 Cloud MySQLhistorical
These notes record the nodes and configuration of an example Tencent Cloud MySQL environment, including deployment relationships and usage.
- 1.26 MySQL InnoDB Buffer Poolhistorical
The InnoDB buffer pool is memory allocated when MySQL starts to cache table and index data and reduce disk I/O.
- 1.27 MySQL Tuninghistorical
MySQL tuning can begin by finding slow SQL through logs or monitoring, then using EXPLAIN to analyze execution plans and locate bottlenecks.
- 1.28 canalhistorical
Canal parses the MySQL binlog to capture incremental changes and synchronize them to systems such as Elasticsearch and Redis.
- 1.29 InnoDB Buffer Poolhistorical
The InnoDB buffer pool is memory allocated when MySQL starts to cache table and index data and reduce disk I/O.
- 1.30 InnoDB MVCChistorical
MVCC, or multiversion concurrency control, maintains data versions so reads and writes can run concurrently, using visibility rules to select the version a transaction reads.