Xiaolei Talks DB
Author

Xiaolei Talks DB

Sharing daily database operations insights, from distributed databases to cloud migration. Author: Dai Xiaolei, with 10+ years of DB ops and development experience. Your support is appreciated.

43
Articles
0
Likes
309
Views
0
Comments
Recent Articles

Latest from Xiaolei Talks DB

43 recent articles
Xiaolei Talks DB
Xiaolei Talks DB
Mar 26, 2022 · Databases

Why TiDB’s GC Stalled and How to Fix Disk Space Alarms

This article walks through a real‑world TiDB/TiKV disk‑space alarm case, diagnosing why the GC worker got stuck, how TiCDC’s lingering changefeed caused outdated MVCC versions, and the step‑by‑step commands and monitoring tricks used to restore normal GC and reclaim storage.

GCTiCDCTiDB
0 likes · 15 min read
Why TiDB’s GC Stalled and How to Fix Disk Space Alarms
Xiaolei Talks DB
Xiaolei Talks DB
Mar 16, 2022 · Operations

How to Recover a TiKV Cluster After Multiple Node Failures

This article demonstrates how to simulate and recover TiKV cluster failures by shutting down one, two, or three nodes, explains the impact on Raft groups and region availability, and provides step‑by‑step commands for disabling PD scheduling, using tikv‑ctl, and restoring data integrity.

Cluster RecoveryData lossPD
0 likes · 28 min read
How to Recover a TiKV Cluster After Multiple Node Failures
Xiaolei Talks DB
Xiaolei Talks DB
Aug 30, 2021 · Backend Development

Unlocking TiCDC: Efficient Incremental Data Sync for TiDB in Real‑World Scenarios

This article explains how TiCDC, a change‑data‑capture tool for TiDB, addresses incremental extraction, cross‑region hot‑standby, and stream processing needs, outlines its architecture, discusses early‑version issues, and provides best‑practice recommendations for stable, high‑performance data synchronization.

Change Data CaptureKafkaTiCDC
0 likes · 13 min read
Unlocking TiCDC: Efficient Incremental Data Sync for TiDB in Real‑World Scenarios