Source: https://seerepo.com/compare/iyear/tdl/vs/pingcap/tidb
Markdown source: https://seerepo.com/compare/iyear/tdl/vs/pingcap/tidb.md
Description: tdl and tidb share 4 technologies: Gorilla, etcd, github.com/jedib0t/go-pretty/v6, and go.uber.org/zap. Both are written in Go.

# tdl vs tidb

tdl and tidb share 4 technologies: Gorilla, etcd, github.com/jedib0t/go-pretty/v6, and go.uber.org/zap. Both are written in Go.

- [iyear/tdl](https://seerepo.com/r/iyear/tdl): 📥 A Telegram toolkit written in Golang
- [pingcap/tidb](https://seerepo.com/r/pingcap/tidb): 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.

## What they share and what sets them apart

- In common: Gorilla, etcd, github.com/jedib0t/go-pretty/v6, go.uber.org/zap
- Only in tdl: GitHub, github.com/AlecAivazis/survey/v2, github.com/skip2/go-qrcode, github.com/yapingcat/gomedia, github.com/go-playground/validator/v10, gopkg.in/natefinch/lumberjack.v2
- Only in tidb: net/http, s3, TiDB, github.com/pingcap/kvproto, github.com/tikv/client-go/v2, github.com/tikv/pd/client, MySQL, github.com/pingcap/badger, github.com/cockroachdb/pebble, github.com/aws/aws-sdk-go-v2/feature/s3/manager, Dgraph, github.com/Azure/azure-sdk-for-go/sdk/storage/azblob, github.com/coocood/freecache, github.com/jellydator/ttlcache/v3, github.com/ks3sdklib/aws-sdk-go, Google, github.com/cheggaaa/pb/v3, github.com/cheynewallace/tabby, github.com/vbauerster/mpb/v7, github.com/aliyun/credentials-go, github.com/aws/aws-sdk-go-v2/credentials, github.com/Azure/azure-sdk-for-go/sdk/azidentity, github.com/go-ldap/ldap/v3, github.com/lestrrat-go/jwx/v2, openai-go, github.com/joho/sqltocsv, github.com/qri-io/jsonschema, github.com/pingcap/log, Prometheus, github.com/aws/aws-sdk-go-v2, github.com/aws/aws-sdk-go-v2/config, github.com/aws/aws-sdk-go-v2/service/cloudwatch, github.com/aws/aws-sdk-go-v2/service/ec2, github.com/aws/aws-sdk-go-v2/service/sts, github.com/Azure/azure-sdk-for-go/sdk/azcore, github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common

## Side by side

| | tdl | tidb |
|---|---|---|
| Size | 12,557 lines written, 115 code files | 1,761,592 lines written, 1,554 code files |
| Who writes it | 0% of its commits signed by AI | 0% of its commits signed by AI. With GitHub Copilot |
| Activity | Last push November 16, 2026, 985 commits, 8,281 stars | Last push November 13, 2026, 27,982 commits, 40,734 stars |
| Tests | 17 test files. 18.3% of its code files have a test that imports them | 2,918 test files. 90.3% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, tdl or tidb?

tidb, with 1,761,592 lines written; tdl has 12,557.

The proof: [pingcap/tidb's code at commit 7a158c6](https://github.com/pingcap/tidb/tree/7a158c6afbea79d5f8da9cddb6e594bb1c7bfdae)

### Which has more GitHub stars, tdl or tidb?

tidb, with 40,734 stars; tdl has 8,281.

The proof: [pingcap/tidb on GitHub](https://github.com/pingcap/tidb)

### Which has more tests, tdl or tidb?

tidb, with 2,918 test files; tdl has 17.

The proof: [pingcap/tidb's code at commit 7a158c6](https://github.com/pingcap/tidb/tree/7a158c6afbea79d5f8da9cddb6e594bb1c7bfdae)

### Which was updated more recently, tdl or tidb?

tdl: its last push was on November 16, 2026, and tidb's on November 13, 2026.

The proof: [iyear/tdl's commits on GitHub](https://github.com/iyear/tdl/commits)

## Sources

- iyear/tdl: Read on November 17, 2026, at commit 70c561c (https://github.com/iyear/tdl/tree/70c561c0a6d44d8d7fffdea14988fc4104bc56d2)
- pingcap/tidb: Read on November 13, 2026, at commit 7a158c6 (https://github.com/pingcap/tidb/tree/7a158c6afbea79d5f8da9cddb6e594bb1c7bfdae)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
