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.
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.
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.
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.
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.