Tag

undo log

0 views collected around this technical thread.

Sohu Tech Products
Sohu Tech Products
Jun 11, 2025 · Databases

Unlocking MySQL InnoDB: Deep Dive into Tablespaces, Undo Logs, and Indexes

This article explains MySQL InnoDB's dual memory and on‑disk architecture, detailing the various tablespace types (system, file‑per‑table, general, undo, temporary), their internal structures (segments, extents, pages), configuration tips, and how tables, row formats, primary keys, auto‑increment lock modes, and B+Tree indexes are organized and managed.

Database ArchitectureIndexesInnoDB
0 likes · 18 min read
Unlocking MySQL InnoDB: Deep Dive into Tablespaces, Undo Logs, and Indexes
Java Tech Enthusiast
Java Tech Enthusiast
May 12, 2025 · Databases

Understanding the Write Order of Undo Log, Redo Log, and Binlog in MySQL Transactions

This article explains the sequential write process of Undo Log, Redo Log, and Binlog during MySQL transaction execution and commit phases, describes the involved caches, two‑phase commit rationale, and outlines key configuration parameters for each log type.

MySQLTransactionTwo-Phase Commit
0 likes · 10 min read
Understanding the Write Order of Undo Log, Redo Log, and Binlog in MySQL Transactions
Aikesheng Open Source Community
Aikesheng Open Source Community
Feb 18, 2025 · Databases

Parsing Delete Undo Log in MySQL 8.0.32 InnoDB

This article explains how to read and parse the Undo log generated by a DELETE operation in MySQL 8.0.32 InnoDB, covering preparation, log extraction, detailed field parsing, locating the primary index record, and the step‑by‑step rollback of secondary and primary index records.

Database InternalsInnoDBMySQL
0 likes · 10 min read
Parsing Delete Undo Log in MySQL 8.0.32 InnoDB
Aikesheng Open Source Community
Aikesheng Open Source Community
Feb 12, 2025 · Databases

Understanding the Delete Undo Log Format in MySQL 8.0 InnoDB

This article explains how MySQL 8.0 InnoDB generates and stores Delete Undo logs, detailing the log structure, field meanings, type_flag and info_bits decoding, address composition via DB_ROLL_PTR, and provides concrete SQL examples and shell calculations to illustrate the process.

Database InternalsDelete OperationInnoDB
0 likes · 11 min read
Understanding the Delete Undo Log Format in MySQL 8.0 InnoDB
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 22, 2025 · Databases

Parsing and Rolling Back Update Undo Logs in MySQL 8.0.32 (InnoDB)

This article explains how MySQL 8.0.32's InnoDB engine generates, reads, and parses Undo logs for an UPDATE operation, and details the step‑by‑step process of locating the primary record, constructing a rollback record, and restoring both secondary and primary index entries.

Database InternalsInnoDBMySQL
0 likes · 14 min read
Parsing and Rolling Back Update Undo Logs in MySQL 8.0.32 (InnoDB)
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 15, 2025 · Databases

Understanding Update Undo Log Format and Content in MySQL InnoDB

This article explains how MySQL 8.0.32 InnoDB generates and stores Update undo logs, detailing the log format, the meaning of each field, how to interpret the log address, and provides concrete SQL examples and shell calculations for practical insight.

Database InternalsInnoDBMySQL
0 likes · 11 min read
Understanding Update Undo Log Format and Content in MySQL InnoDB
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
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 25, 2024 · Databases

Understanding the Insert Undo Log Format in MySQL InnoDB

This article explains how MySQL 8.0.32 InnoDB generates and stores Insert Undo logs, detailing their binary format, field meanings, example values, and how the hidden DB_ROLL_PTR field encodes the log address, with accompanying SQL and shell examples.

Database InternalsInnoDBMySQL
0 likes · 6 min read
Understanding the Insert Undo Log Format in MySQL InnoDB
IT Services Circle
IT Services Circle
Dec 21, 2024 · Databases

Understanding MySQL Architecture: Storage Engine, Buffer Pool, Logs, and Indexes

This article explains how MySQL stores and manages data by introducing the InnoDB storage engine, its buffer pool, data pages, B+Tree and adaptive hash indexes, change buffer, undo/redo logs, binlog, and the server layer that parses, optimizes, and executes SQL statements.

Buffer PoolIndexesInnoDB
0 likes · 13 min read
Understanding MySQL Architecture: Storage Engine, Buffer Pool, Logs, and Indexes
Zhuanzhuan Tech
Zhuanzhuan Tech
Dec 13, 2024 · Databases

Understanding MySQL Architecture and Log Mechanisms for ACID Transactions

This article provides a comprehensive overview of MySQL's layered architecture, the functions and core components of the server layer, and detailed explanations of Undo Log, Redo Log, and Binlog mechanisms that together ensure the ACID properties of transactions, including practical execution flows for queries and updates.

ACIDDatabase ArchitectureMySQL
0 likes · 29 min read
Understanding MySQL Architecture and Log Mechanisms for ACID Transactions
Selected Java Interview Questions
Selected Java Interview Questions
Sep 21, 2024 · Databases

Understanding InnoDB Storage Engine: Logs, Buffer Pool, and Data Write Process

This article explains the core components of MySQL's InnoDB storage engine—including undo log, redo log, buffer pool, change buffer, and binlog—detailing their roles in data writing, crash recovery, MVCC, and master‑slave synchronization, and describing related flushing strategies and LRU management.

Buffer PoolDatabase InternalsInnoDB
0 likes · 11 min read
Understanding InnoDB Storage Engine: Logs, Buffer Pool, and Data Write Process
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 27, 2024 · Databases

MySQL Core Module Deep Dive #11: What Happens When InnoDB Commits a Transaction?

This article explains the internal steps InnoDB performs when committing a transaction, covering undo segment caching, generation of the transaction commit number, state changes of insert and update undo segments, history‑list insertion, and the final reinitialisation of the transaction object.

Database InternalsInnoDBMySQL
0 likes · 12 min read
MySQL Core Module Deep Dive #11: What Happens When InnoDB Commits a Transaction?
Sanyou's Java Diary
Sanyou's Java Diary
Dec 21, 2023 · Databases

What Happens Inside MySQL When You Run an UPDATE? A Deep Dive

This article explains the complete execution process of a MySQL UPDATE statement, covering InnoDB page structures, tablespaces, buffer pool caching, redo/undo logs, binlog, and the two‑phase commit mechanism, helping readers understand how MySQL ensures data consistency and durability.

Buffer PoolInnoDBMySQL
0 likes · 21 min read
What Happens Inside MySQL When You Run an UPDATE? A Deep Dive
政采云技术
政采云技术
Oct 24, 2023 · Databases

Understanding MySQL InnoDB MVCC: Principles, Implementation, and Concurrency Control

This article explains MySQL InnoDB's Multi-Version Concurrency Control (MVCC), covering its basic concepts, read/write scenarios, implicit fields, undo logs, read view mechanisms, transaction handling, and differences between RC and RR isolation levels, providing a comprehensive guide for developers.

InnoDBIsolation LevelsMVCC
0 likes · 16 min read
Understanding MySQL InnoDB MVCC: Principles, Implementation, and Concurrency Control
Sanyou's Java Diary
Sanyou's Java Diary
Jul 3, 2023 · Databases

Master MySQL Internals: Architecture, Logs, and Recovery Explained

This article walks through MySQL's three‑layer logical architecture, explains the roles of redo, undo, bin, and relay logs, shows how they ensure crash‑safety and point‑in‑time recovery, and provides practical commands for inspecting and configuring these logs.

InnoDBMySQLReplication
0 likes · 18 min read
Master MySQL Internals: Architecture, Logs, and Recovery Explained
IT Services Circle
IT Services Circle
Mar 30, 2023 · Databases

Interview Review: Core Concepts of MySQL, OS, Networking, Redis, and Distributed Systems

This article compiles a technical interview recap covering MySQL MVCC, atomicity and persistence mechanisms, operating‑system page cache and deadlock concepts, TCP reliability and flow‑control, Redis persistence and clustering, as well as distributed transaction and consensus fundamentals.

Distributed SystemsMySQLNetworking
0 likes · 14 min read
Interview Review: Core Concepts of MySQL, OS, Networking, Redis, and Distributed Systems
政采云技术
政采云技术
Mar 28, 2023 · Databases

Understanding MVCC and Lock Mechanisms in MySQL

This article explains why MySQL uses MVCC, how undo‑log version chains and read views implement multi‑version concurrency control, and details the various lock types—including global, table, metadata, intention, row, gap, and next‑key locks—under different isolation levels with practical code examples.

InnoDBIsolation LevelsLocks
0 likes · 11 min read
Understanding MVCC and Lock Mechanisms in MySQL