
Opis
Modern data platforms must scale elastically, remain available under submodule or data center failure, and support transactional, analytical, and AI-driven workloads without increasing operational complexity. This book uses TiDB as a production-grade reference architecture to explain how distributed SQL databases are designed, tuned, and operated at scale.You will begin with TiDB’s architectural foundations, exploring how the SQL layer, TiKV, Placement Driver, Raft, MVCC, distributed transactions, and TiFlash work together to deliver horizontal scalability, strong consistency, and HTAP capabilities. You will then learn practical performance engineering, including table and index design, execution plan analysis, SQL optimization, monitoring, diagnostics, and configuration tuning. Next, you will examine scenario-based architectures covering high availability, asynchronous replication, online DDL, data consolidation, resource control, cloud-native deployment, DFX, and production data availability strategies. The final part introduces TiDB X and explores how database architecture is evolving for AI agents and intelligent cloud applications.
By the end, you will be able to reason about TiDB from first principles, diagnose performance, and design resilient, cloud-native, AI-ready distributed database architectures with confidence.