Tagged articles
4 articles
Page 1 of 1
dbaplus Community
dbaplus Community
Mar 9, 2025 · Databases

Why a 2‑Billion‑Old PostgreSQL Transaction Can Crash Your Database

The article explains how PostgreSQL’s MVCC model, tuple visibility, and 32‑bit transaction ID wrap‑around can cause “sudden death” of old rows, why billions of old transactions may render data invisible, and how vacuuming and freezing prevent catastrophic database failures.

MVCCTransaction IDdatabase
0 likes · 9 min read
Why a 2‑Billion‑Old PostgreSQL Transaction Can Crash Your Database
DevOps
DevOps
Jun 26, 2024 · Backend Development

Understanding Distributed Transaction Challenges and Practical Solutions in Microservices

This article analyzes why distributed transactions are difficult in large‑scale microservice architectures, explains the importance of unique transaction IDs, idempotency, and timeout handling, and presents pragmatic approaches such as local logging, undo‑log tables, NoSQL ID arrays, and selective locking to achieve reliable consistency.

Distributed TransactionsIdempotencyMicroservices
0 likes · 15 min read
Understanding Distributed Transaction Challenges and Practical Solutions in Microservices
Tencent Cloud Developer
Tencent Cloud Developer
Jun 25, 2024 · Backend Development

Understanding the Challenges of Distributed Transactions in Microservices

The article explains that distributed transactions in micro‑service architectures are difficult because they must guarantee atomicity across heterogeneous services, handle time‑outs, and reconcile results using unique transaction IDs, undo‑logs, or NoSQL strategies, while balancing locking, availability, and consistency trade‑offs.

Distributed TransactionsIdempotencyMicroservices
0 likes · 18 min read
Understanding the Challenges of Distributed Transactions in Microservices