tidb
by
pingcap

Description: TiDB is built for agentic workloads that grow unpredictably, with ACID guarantees and native support for transactions, analytics, and vector search. No data...

View on GitHub ↗

Summary Information

Updated 15 minutes ago
Added to GitGenius on July 6th, 2024
Created on September 6th, 2015
Open Issues & Pull Requests: 6,472 (+0)
Number of forks: 6,224
Total Stargazers: 40,268 (-2)
Total Subscribers: 1,209 (-1)

Issue Activity (beta)

Open issues: 4,737
New in 7 days: 50
Closed in 7 days: 21
Avg open age: 929 days
Stale 30+ days: 4,482
Stale 90+ days: 4,085

Recent activity

Opened in 7 days: 17
Closed in 7 days: 3
Comments in 7 days: 11
Events in 7 days: 88

Top labels

  • type/bug (11,519)
  • type/enhancement (5,591)
  • severity/major (4,209)
  • severity/moderate (3,471)
  • sig/planner (3,452)
  • sig/sql-infra (2,745)
  • sig/execution (2,271)
  • component/test (1,678)

Repository Insights (GitGenius)

Median issue/PR response: 1542.3 days
Mean response time: 1805.9 days
90th percentile: 3423.1 days
Tracked items: 610

Most active contributors

Detailed Description

TiDB is an open-source, cloud-native distributed SQL database written in Go that provides ACID guarantees with native support for transactions, analytics, and vector search. The project is designed to handle agentic workloads that grow unpredictably while maintaining strong consistency and high performance across horizontally and vertically scalable infrastructure.

The core architecture separates computing from storage, enabling independent scaling of both layers without downtime. TiDB uses a two-phase commit protocol to ensure ACID compliance across distributed transactions spanning multiple nodes, maintaining data correctness even during network partitions or node failures. The system employs a built-in Raft consensus protocol for reliability, with data stored in multiple replicas and transactions committed only after writing to the majority, guaranteeing strong consistency and availability.

TiDB implements hybrid transactional and analytical processing through two storage engines: TiKV, a row-based engine, and TiFlash, a columnar engine. TiFlash uses the Multi-Raft Learner protocol to replicate data from TiKV in real time, ensuring consistent data between both engines. The TiDB Server coordinates query execution across both storage engines to optimize performance for different workload patterns.

MySQL 8.0 compatibility is a central design principle, allowing applications to migrate to TiDB with minimal or no code changes. The project provides data migration tools to facilitate moving application data into TiDB. Cloud-native deployment is supported across public clouds, on-premises environments, and Kubernetes, with TiDB Operator automating cluster operations on Kubernetes and TiDB Cloud offering a fully managed service.

The repository demonstrates substantial community engagement with 7366 tracked issues and pull requests. The most active issue labels are type/bug with 4344 items, type/enhancement with 2057 items, and severity/major with 1688 items. Top contributors jebter, hawkingrei, and qw4990 have accumulated 5256, 3179, and 1837 events respectively. The median response latency for issues and pull requests is 0.0 hours, indicating rapid community engagement, though the mean of 5262.9 hours reflects longer-tail resolution times for complex issues.

The project maintains overlapping contributors with major repositories including microsoft/vscode, rust-lang/rust, and microsoft/typescript, suggesting cross-pollination with broader open-source ecosystems. TiDB is released under the Apache 2.0 license with all source code available on GitHub, including enterprise-grade features. The project actively encourages community contributions through good first issues, help wanted labels, and a contribution map detailing contribution opportunities. Community support is provided through Discord, Slack channels in English and Japanese, Stack Overflow, and regional forums including the TiDB Chinese Forum.

tidb
by
pingcappingcap/tidb

Repository Details

Fetching additional details & charts...