Databases 7 min read

Thank You, Outlook, and Review of the MySQL Core Modules Series

After publishing 50 installments of the 'MySQL Core Modules' series covering transactions, locks, and undo, the author expresses gratitude to readers and the community, outlines upcoming articles on Undo, MVCC, and Redo, and reviews past content while planning a compiled book.

Aikesheng Open Source Community
Aikesheng Open Source Community
Aikesheng Open Source Community
Thank You, Outlook, and Review of the MySQL Core Modules Series

1. Thanks

Writing an article is not hard; writing for a month feels fine; writing for a year is truly challenging. The hardest part is not sitting down to write, but receiving no feedback after publishing. The "MySQL Core Modules" column has reached issue 50, thanks to the community operations team and readers for their support and feedback, which motivates continued writing.

2. Outlook

On February 12, 2025, the next article will cover the Undo module: delete record Undo logs. The Undo module is expected to span 4‑6 issues. After Undo, the MVCC module will follow with about 5 issues, and finally the Redo module will conclude the series with roughly 10 issues, bringing the total to 70‑75 issues. After completion, the series will be compiled into a book.

3. Review

The original plan covered five major modules—transactions, locks, Undo, MVCC, and Redo—across 50 issues. Issue 1 was published on January 3, 2024, and issue 50 on January 22, 2025. The 50 issues have covered transactions, locks, and Undo, with Undo still in progress.

The transaction module covered the full lifecycle from transaction pool and manager initialization, BEGIN statements, acquiring transaction objects, to commit and rollback. Key articles include:

01 Issue Transaction pool and manager initialization

02 Issue Does BEGIN immediately start a transaction?

03 Issue I am a transaction, give me an object

... (issues 04‑12 omitted for brevity) ...

The lock module covered table locks, row locks, lock structures, lock acquisition and release, lock waiting, timeout, and analysis under RC and RR isolation levels. Representative articles include:

16 Issue InnoDB table lock

17 Issue What kinds of row locks does InnoDB have?

... (issues 18‑42 omitted for brevity) ...

The Undo module starts from the Undo tablespace, allocation of rollback segments, Undo segments, and the generation of Undo logs for INSERT, UPDATE, DELETE statements, as well as rollback operations. Key articles include:

44 Issue Undo tablespace

45 Issue Allocate rollback segment

46 Issue Allocate Undo segment

47 Issue Undo log for inserted records

48 Issue Rollback of inserted records

49 Issue Undo log for updated records

50 Issue Rollback of updated records

Overall, the series has provided in‑depth coverage of MySQL’s core storage engine mechanisms, and the author plans to consolidate the material into a printed book.

transactionMySQLlockingMVCCDatabase InternalsundoRedo
Aikesheng Open Source Community
Written by

Aikesheng Open Source Community

The Aikesheng Open Source Community provides stable, enterprise‑grade MySQL open‑source tools and services, releases a premium open‑source component each year (1024), and continuously operates and maintains them.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.