Memory Fragmentation in Linux: What It Is, Why It Hurts, and How to Fix It

Managing memory in a high-performance database environment isn’t just about having enough RAM; it’s about how that RAM is organized. For SREs and DBAs, understanding the nuances of the Linux kernel’s memory management can be the difference between a smooth-running system and unpredictable tail latency. In this post, we’ll break down the core mechanics of […]

MySQL Alternatives at Scale: Why TiDB Beats MariaDB

Dive deep into two popular MySQL alternatives and discover why TiDB is a better option for extreme scalability and real-time analytics.

How Bling Migrated a Mission-Critical 25TB MySQL Database to TiDB

Every fast-growing SaaS platform eventually faces the same reality: scaling a single massive database becomes increasingly risky and expensive. At Bling (Part of the LWSA Group), a leading SaaS ERP platform serving the e-commerce markets in Brazil and Mexico, we hit this ceiling hard. Founded in 2009, Bling powers over 300,000 daily active users and […]

Welcome to the (Agentic) Machine: The Database Trends That Will Define 2026

Last year, I talked a lot about the unification of workloads, or how to bring disparate data processes together. But as we move into 2026, the theme has shifted. It is now unmistakably all about scaling agentic AI.  However, we must be careful not to interpret this through the lens of the last decade. In […]

The Making of TiDB X: Origins, Architecture, and What’s to Come

When we unveiled TiDB X, the new core engine for TiDB Cloud, at our recent TiDB SCaiLE annual event, the response was immediate and enthusiastic. Many people reached out afterward with technical and non-technical questions about where TiDB X came from, why we decided to build it, and how it connects to the future of […]

Distributed SQL Database: Architecture, Scale, and High Availability

A distributed database is any system that spreads data across multiple nodes. However, a distributed SQL database is a stricter subset: it keeps full SQL semantics and ACID transactions, automatically partitions data for horizontal scale, and uses consensus replication (e.g., Raft) so writes are consistent and failover is predictable. In short, distributed SQL gives you […]

How Atlassian Scaled to 3M+ Tables: Multi-Tenant Control with TiDB

Atlassian is an enterprise software company that runs one of the world’s largest SaaS platforms. Best known for Jira, Confluence, Trello, and Bitbucket, the company helps teams plan, build, and run software. As tenant counts and compliance demands grew, Atlassian hit the limits of shared and siloed multi-tenancy models on a massive sharded PostgreSQL estate.  […]

Effective MySQL Online DDL: Making Critical Database Schema Changes with Zero Downtime

Online Data Definition Language (DDL) is a crucial feature for modern databases and a cornerstone of MySQL modernization strategies. It allows schema changes without significant downtime or locking that could disrupt database operations. This means these operations carry out while the database continues to be available for reads and writes, minimizing downtime and avoiding disruption […]

Zero-Downtime Upgrades: How TiDB Powers Always-On Databases

In the vast landscape of databases, ensuring zero-downtime upgrades and operation continuity remains a challenge. Due to inherent design limitations, traditional databases often introduce significant downtime during upgrades – a challenge that can spell operational chaos for businesses reliant on real-time data access.  Enter TiDB, a cutting-edge distributed SQL database that offers a solution to […]

Supercharging Real-Time Applications with TiDB and DragonflyDB

Data-intensive applications demand scalability, low latency, and resilience. However, traditional databases often struggle to handle both transactional consistency and fast in-memory caching at scale. But that’s where TiDB and DragonflyDB shine together: In this tutorial, we’ll walk through setting up a TiDB + Dragonfly stack, show how they complement each other, and build a hands-on […]

How to Scale TiDB Locally with Online DDL

Data-intensive applications outgrow single-node MySQL long before product-market fit is “done.” Hot partitions, schema change windows, and manual sharding slow teams down. But TiDB solves this with a MySQL-compatible, distributed SQL architecture that scales storage and compute independently and keeps applications online during change. In this quick tutorial, we’ll spin up TiDB locally with TiUP […]

How Distributed ACID Transactions Work in TiDB

Transactions—especially distributed ACID transactions—are ubiquitous. Protocols around transactions are equally ubiquitous, even if we don’t immediately realize it. Take, for example, a common marriage ceremony. It’s essentially a two-phase commit (2PC) protocol. The officiant is the transaction coordinator (TC), and the couple getting married are the active participants. In the first phase, the TC asks […]
129