A
tidb
92.8
40,739 stars · Apache-2.0
Databases
typeorm leads by 3.4 · narrow
A
92.8
40,739 stars · Apache-2.0
B · leads
96.2
36,674 stars · MIT
tidb versus typeorm is a Databases comparison assembled from public repository metrics, the license on file, and whether each product can be self-hosted. tidb is written mainly in Go; typeorm is written mainly in TypeScript. The composite score is 92.8 for tidb and 96.2 for typeorm.
tidb has 40,739 GitHub stars to typeorm's 36,674, a gap of 4,065 (1.11×). Forks are 6,297 for tidb and 6,695 for typeorm. On the log scale used inside this pair, adoption is 100 versus 99, and the fork community is 99 versus 100.
Push history: tidb was last pushed on 17 November 2026 (0 days ago), and typeorm was last pushed on 17 November 2026 (0 days ago). Open issues stand at 7,730 for tidb (0.190 per star) and 749 for typeorm (0.020 per star). Issue-health scores are 34 and 70; activity scores are 100 and 100.
tidb is listed as Apache-2.0, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. typeorm is listed as MIT, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. License scores in this pair are 96 for tidb and 96 for typeorm. This is a procurement signal, not legal advice.
In Databases, both tidb (40,739 stars) and typeorm (36,674 stars) are marked self-hostable. Deploy scores are 100 and 100. Running either one means you own upgrades, backups, and the license duties that follow a modified copy. Pricing labels on file: tidb is open source, typeorm is open source.
The lead is split. tidb is furthest ahead on adoption (100 to 99), while typeorm is furthest ahead on issue health (70 to 34). Choose the dimension a rollout cannot compromise on.
typeorm finishes ahead at 96.2 against tidb at 92.8, a 3.4 point narrow margin under the published weights.
Scores are computed inside this pair only. Method and weights.
Bars are scaled within the row. Higher is stronger. Open issues are a raw count, so that row has no bar.
| Signal | tidb | typeorm |
|---|---|---|
| GitHub stars | 40,739 | 36,674 |
| Forks | 6,297 | 6,695 |
| Open issues | 7,730 | 749 |
| Adoption | 100 | 99 |
| Activity | 100 | 100 |
| Community | 99 | 100 |
| Issue health | 34 | 70 |
| License | 96 | 96 |
| Self-hosting | 100 | 100 |
| Composite | 92.8 | 96.2 |
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.
TypeScript & JavaScript ORM for Node.js — supports PostgreSQL, MySQL, MariaDB, SQLite, SQL Server, Oracle, and more.
tidb has more GitHub stars: 40,739 versus 36,674 for typeorm. The gap is 4,065 stars.
Both were last pushed on 17 November 2026.
Yes. This catalog marks both tidb and typeorm as self-hostable. Confirm each project's deploy docs before you plan a migration.
tidb is listed as Apache-2.0, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. typeorm is listed as MIT, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. Read both grants before you embed either codebase in a hosted product. This is not legal advice.
typeorm scores 96.2 and tidb scores 92.8. This page calls that a narrow lead for typeorm.