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.

41
Articles
0
Likes
135
Views
0
Comments
Recent Articles

Latest from Xiaolei Talks DB

41 recent articles
Xiaolei Talks DB
Xiaolei Talks DB
Aug 28, 2024 · Databases

What 15 Years of China’s DTCC Conferences Reveal About Database Evolution

The author reflects on a decade‑plus journey through China’s DTCC database conferences, describing personal growth from novice to speaker and organizer, sharing insights on Redis Cluster, distributed database selection, openGauss, time‑series databases, and the evolving themes that chart the industry's progress.

Career DevelopmentConferenceRedis
0 likes · 6 min read
What 15 Years of China’s DTCC Conferences Reveal About Database Evolution
Xiaolei Talks DB
Xiaolei Talks DB
Oct 19, 2022 · Databases

How to Deploy TiDB on Private or Public Cloud with TiDB Operator

This article explains how TiDB, a cloud‑native distributed database, can be deployed on private or public clouds using the TiDB Operator, covering Kubernetes basics, operator concepts, TiDB Operator features, architecture, and upcoming deployment guides.

Database DeploymentKubernetesOperator
0 likes · 10 min read
How to Deploy TiDB on Private or Public Cloud with TiDB Operator
Xiaolei Talks DB
Xiaolei Talks DB
Aug 8, 2022 · Databases

Mastering TiDB Upgrades: Strategies, Risks, and Real‑World Case Studies

This comprehensive guide explains why TiDB upgrades are essential, compares offline, forced, and smooth upgrade methods, outlines detailed step‑by‑step procedures, highlights advantages and risks, and shares practical check‑points and real‑world case studies to help DBAs ensure a safe, performant migration.

PerformanceTiDBUpgrade
0 likes · 21 min read
Mastering TiDB Upgrades: Strategies, Risks, and Real‑World Case Studies
Xiaolei Talks DB
Xiaolei Talks DB
Jun 6, 2022 · Databases

Master TiDB 6.0 Troubleshooting with PingCAP Clinic and Diag

This article explains how to streamline TiDB 6.0 fault diagnosis by replacing manual screenshot and log collection with PingCAP's Clinic service and the TiUP Diag tool, covering data collection, upload procedures, security considerations, and additional diagnostic capabilities.

ClinicLogsTiDB
0 likes · 19 min read
Master TiDB 6.0 Troubleshooting with PingCAP Clinic and Diag
Xiaolei Talks DB
Xiaolei Talks DB
May 15, 2022 · Databases

How TiDB Achieves Multi-Active High Availability Across Multiple Data Centers

This article explains TiDB's multi‑active high‑availability architectures—including same‑city dual‑center, triple‑center, and two‑region three‑center deployments—detailing hard requirements, RPO/RTO goals, placement‑rule configurations, and practical disaster‑recovery recommendations for distributed database clusters, and how adaptive sync modes affect failover performance.

Placement RuleTiDBhigh availability
0 likes · 12 min read
How TiDB Achieves Multi-Active High Availability Across Multiple Data Centers
Xiaolei Talks DB
Xiaolei Talks DB
Apr 16, 2022 · Databases

Why TiKV Scale‑In Stuck After Expansion? Diagnosis and Fix

This guide explains why a TiKV node remains pending offline after a scale‑out and scale‑in operation, walks through detailed log inspection, region checks, and command‑line troubleshooting, and provides a step‑by‑step solution to forcefully remove the problematic region and clean up the store.

ClusterTiDBTiKV
0 likes · 13 min read
Why TiKV Scale‑In Stuck After Expansion? Diagnosis and Fix
Xiaolei Talks DB
Xiaolei Talks DB
Apr 7, 2022 · Databases

Why Did One Aerospike Node’s XDR Lag So High? Diagnosis and Fix

A single Aerospike node experienced extreme XDR replication lag due to a misconfigured forward setting, and the article walks through terminology, monitoring data, root‑cause analysis, and step‑by‑step commands to resolve the issue and improve cluster performance.

AerospikeDatabase LagNoSQL
0 likes · 11 min read
Why Did One Aerospike Node’s XDR Lag So High? Diagnosis and Fix
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.

TiCDCTiDBTiKV
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