Segment Tree Divide and Conquer with Rollback Data Structures

Introduction to Time-Based Divide and Conquer Segment Tree Divide and Conquer is an advanced offline algorithmic technique typicalyl used to solve problems involving dynamic modifications that persist over specific time intervals. The core idea is to map the time dimension onto a segment tree, allowing us to decompose the lifespan of operations ...

Posted on Mon, 11 May 2026 09:35:33 +0000 by minc

Undo Log Version Chain Rollback Under MySQL High Concurrency: Deep Dive into Row Data Recovery

In the scenario of MySQL InnoDB high-concurrency writes to the same row, the Undo Log version chain is the core mechanism ensuring transaction atomicity and implementing MVCC. When a transaction in the version chain rolls back, InnoDB doesn't simply "delete" that transaction's version record. Instead, it traverses the version chain in ...

Posted on Sat, 09 May 2026 14:37:02 +0000 by ziegel