Skip to content

TiKV

Distributed transactional key-value database for teams needing scalable storage

Permissive (OSI) · Apache-2.0

Listed by , founder & editor

75

Health

Thriving

Overview

Stars

16,967

Last commit

today

Nov 2026

Repository age

10 years

since Dec 2015

Latest version

v7.5.8

Sep 2026

Contributors

–

27 active in 90 days

Releases

6

last 12 months

Docker pulls

3.2k

tikv/tikv

Language

Rust

TiKV is a distributed key-value database written in Rust. It offers classic key-value APIs and transactional APIs with ACID compliance. PingCAP created it to work with TiDB, a MySQL-compatible distributed database, and it is a graduated CNCF project.

Data is split into Regions, and each Region is replicated across nodes as a Raft group. Each store keeps data in RocksDB on local disk. A Placement Driver manages the cluster, balances load and moves data automatically. Transactions follow a model similar to Google's Percolator and give snapshot isolation and externally consistent reads and writes. A coprocessor framework supports distributed computing.

It supports geo-replication and can scale to 100+ TB. It is Apache-2.0 licensed and has a Docker image.

TiKV is a self-hosted alternative to Amazon DynamoDB for key-value storage. It has no secondary indexes or rich queries.

Who it's for

Infrastructure teams building a distributed data layer

It gives you horizontally scalable storage with ACID transactions.

Skip if: You need a managed service with no cluster to operate.

TiDB users

It is the storage layer TiDB was designed to run on.

Skip if: A single-node database already meets your needs.

Teams moving off DynamoDB to their own infrastructure

It is a self-hosted key-value store with transactions and replication.

Skip if: You rely on DynamoDB features like secondary indexes or change streams.

The problem it solves

Scaling a key-value store past one machine usually means giving up transactions or paying for a cloud service. TiKV lets you run a replicated, transactional store on your own nodes.

Strengths

  • ACID transactions with snapshot isolation and external consistency
  • Raft replication with automatic sharding through Placement Driver
  • Scales to 100+ TB of data
  • Graduated CNCF project under Apache-2.0
  • 28 contributors in the last 90 days

Trade-offs

  • No secondary indexes or rich queries
  • No managed cloud service from the project
  • Running PD, stores and Regions takes cluster operations effort
  • Built to pair with TiDB; standalone use has a lower-level API

TiKV replaces

Self-host TiKV

Self-hostable
Yes
Docker image
tikv/tikv
Docker Compose
The repository ships a Compose file

Frequently asked questions

Is TiKV free?

Yes. It is open source under the Apache-2.0 license.

Can I self-host it?

Yes. You deploy it yourself, and a Docker image is available.

Does it support transactions?

Yes. It provides ACID transactions with snapshot isolation and externally consistent reads and writes.

Who created it?

PingCAP, originally to complement TiDB. It is now a graduated CNCF project.

Other Amazon DynamoDB alternatives

Compare all 3 Amazon DynamoDB alternatives →

Similar tools in NoSQL databases

lancedb

NoSQL databases

Embedded vector database for AI apps, built on the Lance columnar format

12k 1.2k today Active Apache-2.0

JanusGraph

NoSQL databases

Distributed graph database for teams running Gremlin queries on Cassandra or HBase

5.9k 1.2k 26 days ago Active Apache-2.0

Replaces Neo4J

Apache Cassandra

NoSQL databases

Distributed wide-column database for teams that need multi-datacenter replication without

10k 4.1k 2 days ago Active Apache-2.0

Replaces Amazon DynamoDB

dgraph

NoSQL databases

Distributed GraphQL graph database for teams running connected data on Linux clusters

22k 1.6k 4 days ago Thriving Apache-2.0

Replaces Neo4J

Garnet

NoSQL databases

RESP-compatible cache-store in C# for teams that want Redis clients with

12k 725 today Thriving MIT

Replaces Redis