Tagged articles
5 articles
Page 1 of 1
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 8, 2025 · Databases

How InnoDB Performs Undo Log Rollback and Record Deletion

This article explains the complete InnoDB undo‑log rollback process on MySQL 8.0, covering preparation, reading and parsing undo logs, constructing primary‑key index records, and the detailed steps for deleting secondary and primary index entries during a transaction rollback.

Database InternalsInnoDBmysql
0 likes · 12 min read
How InnoDB Performs Undo Log Rollback and Record Deletion
ITPUB
ITPUB
Apr 11, 2023 · Databases

What Happens on the MySQL Server When the Client Disconnects Abruptly?

This article explains how MySQL 8.0.32 (InnoDB) handles a situation where the client sends a DML/DDL statement, the server executes it, and the client silently drops the connection before the server can detect the disconnect, detailing transaction commit, rollback, and send() behavior.

InnoDBSendclient disconnect
0 likes · 8 min read
What Happens on the MySQL Server When the Client Disconnects Abruptly?
ITPUB
ITPUB
Mar 11, 2023 · Databases

What Happens When You Press Ctrl+C in MySQL? Inside the KILL QUERY Mechanism

This article explains how pressing Ctrl+C in the MySQL client triggers a KILL QUERY command, details the server's multi‑step handling—including thread coordination, flag setting, and transaction rollback—and clarifies differences when autocommit is on or off.

KILL QUERYThread Managementmysql
0 likes · 10 min read
What Happens When You Press Ctrl+C in MySQL? Inside the KILL QUERY Mechanism
Node Underground
Node Underground
Sep 12, 2016 · Databases

How to Keep Your Database Clean During Integration Tests?

When writing integration tests that involve database operations, developers must ensure that test execution does not pollute the original data, and the article explores strategies such as using transaction rollbacks, recreating databases, and mocking database interfaces to maintain data integrity.

Backend DevelopmentMockingdatabase
0 likes · 2 min read
How to Keep Your Database Clean During Integration Tests?