An open-source, cloud-native, distributed SQL database offering MySQL compatibility, horizontal scalability, and HTAP capabilities.
TiDB is an open-source, cloud-native, distributed SQL database designed for modern applications that require high availability, horizontal scalability, and strong consistency. It solves the challenges of scaling traditional databases by offering MySQL compatibility, distributed transactions, and hybrid transactional/analytical processing (HTAP) capabilities.
Developers and organizations building scalable, data-intensive applications that need a MySQL-compatible database with distributed architecture, such as e-commerce platforms, real-time analytics systems, and cloud-native services.
Developers choose TiDB for its seamless MySQL compatibility, which minimizes migration effort, combined with the scalability and reliability of a distributed system. Its unique HTAP architecture allows both transactional and analytical queries to run efficiently on the same data.
TiDB is built for agentic workloads that grow unpredictably, with ACID guarantees and native support for transactions, analytics, and vector search. No data silos. No noisy neighbors. No infrastructure ceiling.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Uses a two-phase commit protocol to ensure ACID compliance across nodes, providing strong consistency even in distributed environments, as highlighted in the README's transaction documentation.
Scales horizontally by adding nodes or vertically by increasing resources without downtime, enabled by compute-storage separation architecture for flexible growth.
Leverages Raft consensus for automated failover and data replication, ensuring reliability and disaster tolerance through multi-replica configurations.
Combines row-based TiKV and columnar TiFlash storage engines for real-time analytics on transactional data without ETL, supporting mixed workloads seamlessly.
Compatible with MySQL 8.0, allowing easy migration with minimal code changes and use of existing protocols and tools, as emphasized in the compatibility docs.
Managing a distributed TiDB cluster requires expertise in distributed systems and Kubernetes, which can be challenging and resource-intensive for smaller teams without dedicated SREs.
The strong consistency model and distributed transactions can introduce latency compared to single-node databases, making it less ideal for latency-sensitive simple queries.
While MySQL-compatible, some third-party tools or MySQL-specific features may not work seamlessly, requiring adjustments and careful testing during migration.