Production database guides, written for engineers.

Skip the theory. Each playbook covers a specific problem, the TiDB features that fix it, and how to implement them.

Published Playbooks

TiDB Engineering Playbooks

Silence the Noisy Neighbor in Multi-Tenant MySQL

One bad tenant shouldn't take down the rest. This covers how to detect the source, cap it with TiDB Resource Groups, and pin repeat offenders to their own nodes with Placement Rules.

Read the playbook

Embed a Vector DB and Build RAG Faster with TiDB

Running MySQL for transactions and a separate vector store for embeddings is two systems to babysit. TiDB handles both. This covers the native HNSW vector index, how to query embeddings alongside SQL in one statement, and a working RAG pipeline end to end.

Read the playbook

Escape MySQL Sharding Pain and Scale Fast

Manual sharding creates problems faster than it solves them. This covers what it actually costs to maintain sharded MySQL, how TiDB handles distribution at the storage layer, and how to migrate without a maintenance window.

Read the playbook

Build a Vibe Coding Stack That Holds Up in Production

AI-generated code ships fast and breaks in predictable ways. This covers the full stack: Next.js and TypeScript guardrails, how to set up AI coding agents with repo rules, and why TiDB Cloud handles your database, vector search, and RAG pipeline in one place — so you scale without a rewrite.

Read the playbook

Try it on your own data. MySQL-compatible, no shard config, free tier available.