# tidb

> tidb is an open-source AI tool for knowledge and memory. Distributed SQL database with vector search and transactions for AI workloads. It is available on Web, API and self-hosted.

- **Kind:** Tool
- **Pricing:** Open source
- **Platforms:** Web, API, self-hosted
- **Website:** https://www.tidb.io
- **Repository:** https://github.com/pingcap/tidb
- **GitHub stars:** 40,739
- **License:** Apache-2.0
- **Categories:** knowledge and memory, databases
- **Listing updated:** 2026-11-14

## About

TiDB is a distributed SQL database that combines transactions, analytics and vector search in a single engine. It aims to keep ACID guarantees while scaling out as workloads grow, so teams avoid running separate data stores.

The project is open source under Apache-2.0, and a managed version, TiDB Cloud, is also offered. The site presents it for teams building AI agents and other data-heavy applications, and lists customer stories about consolidating many database clusters into fewer TiDB clusters.

## Features

- **Distributed SQL:** Scales out horizontally while keeping a SQL interface.
- **ACID transactions:** Provides transactional guarantees for operational workloads.
- **Vector search:** Supports vector search alongside relational data.
- **Analytics support:** Handles analytical queries in the same engine.
- **Managed cloud option:** TiDB Cloud offers a hosted version with a free plan.

## Good for

- Back an AI agent platform with one database
- Consolidate sharded MySQL or PostgreSQL clusters
- Store vectors next to relational data
- Run mixed transactional and analytical queries

## FAQ

### Is TiDB open source?

Yes, the repository is licensed under Apache-2.0.

### Is there a managed version?

TiDB Cloud is a fully managed version, with a free plan that needs no credit card.

### Is tidb free?

Yes. tidb is open source, so you can use and self-host it for free.

### What are the best alternatives to tidb?

The closest alternatives to tidb are graphify, JavaGuide, claude-mem, ragflow and anything-llm.

## Alternatives

- [graphify](https://ai-powered.com/tools/graphify-2): graphify is a freemium AI tool for knowledge and memory.
- [JavaGuide](https://ai-powered.com/tools/javaguide): JavaGuide is a free AI tool for knowledge and memory.
- [claude-mem](https://ai-powered.com/tools/claude-mem): claude-mem is a freemium AI tool for knowledge and memory.
- [ragflow](https://ai-powered.com/tools/ragflow): ragflow is a freemium AI tool for knowledge and memory.
- [anything-llm](https://ai-powered.com/tools/anything-llm): anything-llm is a free AI tool for personal assistants.
- [hindsight](https://ai-powered.com/tools/hindsight): hindsight is an open-source AI tool for knowledge and memory.
- [siyuan](https://ai-powered.com/tools/siyuan): siyuan is an open-source AI tool for knowledge and memory.
- [PageIndex](https://ai-powered.com/tools/pageindex): PageIndex is an open-source AI tool for files and documents.

---
Source: https://ai-powered.com/tools/tidb-2
