Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

TiKV

tikv.org

  • Free plan
  • Windows
  • macOS
  • Linux
  • API
  • Self-hosted
7.2 Club score Visit tikv.org

What TiKV is

TiKV is a distributed transactional key-value database designed to provide a unified storage layer across nodes. It offers a raw key-value API and a transactional key-value API with ACID semantics, though both APIs cannot operate on the same keyspace. Raft groups replicate data between nodes for fault tolerance, while horizontal scaling and rebalancing support changing deployments. The project says TiKV can serve petabyte-scale installations spanning trillions of rows. RawKV includes time-to-live expiration and compare-and-swap operations. The documentation lists Java, Go, Rust, Python, and C++ clients; Java and Go are marked stable, while the others are unstable. TiKV is self-hosted, free, and Apache 2.0 licensed, with Linux, macOS, Windows, and API listed as platforms. Documented security options include TLS for network connections and configurable encryption at rest, including AES methods. It was originally created by PingCAP and is a Cloud Native Computing Foundation graduate project.

Who it suits

TiKV suits developers and technical teams building distributed storage systems that need key-value access, replication, and horizontal scaling. Its self-hosted model and API constraint are important considerations for deployment and data design.

Good to know, and what to watch

  • Offers raw and transactional key-value APIs.
  • Raft replication supports fault tolerance across nodes.
  • Supports horizontal scaling and rebalancing.
  • TLS and configurable encryption at rest are documented.
  • Free and licensed under Apache 2.0.
  • The two APIs cannot share a keyspace.
  • Rust, Python, and C++ clients are marked unstable.
  • Self-hosted deployment requires teams to operate the database.

TiKV open-source software

Free

Open source

Getting started

  1. Open the TiKV website
  2. Choose a Linux, macOS, or Windows environment
  3. Deploy the self-hosted software
  4. Select the RawKV API or TxnKV API for each keyspace
  5. Connect through gRPC or a listed client library

Limits to check

A keyspace cannot use both the raw and transactional APIs. Java and Go clients are marked stable, while Rust, Python, and C++ clients are marked unstable.

The verdict

TiKV provides a free, self-hosted distributed key-value database with replication and two API styles. Teams should account for the keyspace restriction and client stability labels when planning their implementation.

Questions people ask

Is TiKV free?

Yes. TiKV is free, open-source software under the Apache 2.0 license.

Where can TiKV run?

It is listed for Linux, macOS, Windows, API use, and self-hosted deployment.

Which client languages are available?

Documentation lists Java, Go, Rust, Python, and C++ clients. Java and Go are marked stable; the others are marked unstable.

Does TiKV support encryption?

Documentation describes TLS for network connections and configurable encryption at rest, including AES methods.

What APIs does TiKV provide?

TiKV provides RawKV and transactional key-value APIs, plus gRPC support. The two key-value APIs cannot both be used on one keyspace.

What the maker publishes

API limitation
The raw and transactional APIs cannot both be used on the same keyspace. source
APIs
TiKV offers a raw key-value API and a transactional key-value API with ACID semantics. source
Clients
The documentation lists Java, Go, Rust, Python, and C++ clients; it marks Java and Go stable and Rust, Python, and C++ unstable. source
Founded
2016 source
Integrations
The maker lists TiDB, Zetta, Tidis, Titan, and JuiceFS among systems built with or using TiKV. source
License and governance
TiKV is Apache 2.0 licensed and is a Cloud Native Computing Foundation graduate project. source
Maker
The project page says TiKV was originally created by PingCAP; it does not state a headquarters or founding year for the maker. source
RawKV features
RawKV supports time-to-live expiration and compare-and-swap operations. source
Replication
TiKV uses Raft groups to replicate data across nodes for fault tolerance and supports horizontal scaling and rebalancing. source
Scale
The maker says TiKV supports petabyte-scale deployments spanning trillions of rows. source
Security
TiKV documentation describes TLS for network connections and configurable encryption at rest, including AES methods. source
Support channel
The community page recommends Slack for general communication and provides a dedicated mailing list for reporting security vulnerabilities. source
What it does
TiKV is a distributed transactional key-value database designed to serve as a unified distributed storage layer. source

Checked against the maker's pages on 4 Oct 2026.