tidb
by
pingcap

Description: TiDB - the open-source, cloud-native, distributed SQL database designed for modern applications.

View pingcap/tidb on GitHub ↗

Summary Information

Updated 2 hours ago
Added to GitGenius on July 6th, 2024
Created on September 6th, 2015
Open Issues/Pull Requests: 5,694 (+0)
Number of forks: 6,124
Total Stargazers: 39,849 (+1)
Total Subscribers: 1,220 (+0)
Detailed Description

Tidb is a high-performance, distributed SQL database built by PingCAP, designed for cloud-native applications. It’s fundamentally different from traditional RDBMS like MySQL, prioritizing speed and scalability through a unique architecture centered around a shared-nothing, sharded, and replicated design. Unlike MySQL, where a single server handles all operations, Tidb distributes data and compute across multiple nodes, allowing it to handle massive workloads and scale horizontally. This architecture is key to its performance and resilience.

At its core, Tidb utilizes a distributed key-value store (DKV) for data storage, providing extremely fast read and write operations. This DKV is the foundation upon which the entire database system is built. The database itself is composed of multiple components working together: the Tidb Cluster, the Tidb Broker, and the Tidb Storage. The Tidb Cluster handles query processing and transaction management, while the Tidb Broker acts as a metadata service, coordinating communication between the cluster nodes and managing data routing. The Tidb Storage layer is responsible for the actual data storage and retrieval.

One of Tidb’s key innovations is its support for ACID transactions across multiple shards. This is achieved through a sophisticated distributed transaction protocol, allowing users to perform complex operations involving data spread across different parts of the database without compromising data consistency. It also offers strong consistency guarantees, ensuring that data is always accurate and reliable. Furthermore, Tidb is designed for ease of use and operational simplicity. It provides a familiar SQL interface, allowing users to migrate existing MySQL applications with minimal code changes. The system is also designed for automated deployment and management, simplifying operations and reducing administrative overhead.

Tidb’s architecture is particularly well-suited for cloud-native environments. It’s designed to be deployed on Kubernetes, leveraging containerization and orchestration for scalability, resilience, and automated management. It supports various storage engines, including InnoDB, allowing users to choose the best engine for their specific workload. The system also offers features like automatic scaling, data replication, and disaster recovery, further enhancing its reliability and availability.

Key features include: Horizontal scalability, strong ACID transactions, high performance, Kubernetes native deployment, automatic scaling, data replication, disaster recovery, and a familiar SQL interface. PingCAP actively maintains and develops Tidb, continuously adding new features and improvements based on community feedback and evolving application requirements. The project is open-source, fostering a vibrant community and promoting collaboration. Ultimately, Tidb represents a significant advancement in database technology, offering a powerful and flexible solution for modern, demanding applications.

tidb
by
pingcappingcap/tidb

Repository Details

Fetching additional details & charts...