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

Baidu Tera

github.com

  • Free plan
  • Linux
  • API
  • Self-hosted
6.8 Club score Visit github.com

What Baidu Tera is

Baidu Tera is a free, self-hosted distributed NoSQL database for real-time applications. It stores sparse, multidimensional tables organized by row key, column key and timestamp. The project describes scaling to petabytes across thousands of commodity servers, using linear or modular scaling and configurable automatic sharding with ranged or hashed strategies. Listed capabilities include strict consistency, MVCC, automatic failover, online schema changes and snapshots. Storage options include RAMDISK, SSD and disk tables, with tiered and block caches and Bloom Filters for real-time queries. Applications can connect through C++, Java, Python and REST APIs. Tera’s architecture consists of an SDK, a master and tablet servers; tablet servers process reads, writes and scans using an enhanced LevelDB storage engine. It can run on raw machines or in Docker, and a pseudo-distributed configuration can run on one host using the local filesystem. The README describes use in Baidu products such as web indexing, WebPage DB and LinkBase DB, for both throughput-oriented and latency-sensitive workloads. The repository lists BSD-3-Clause and Apache-2.0 licenses and links to user manuals for pseudo-distributed mode, the API and teracli.

Who it suits

Tera suits teams building real-time applications that need a self-hosted distributed database and can work with its listed client APIs. Its documented deployment options include raw machines, Docker and a single-host pseudo-distributed mode.

Good to know, and what to watch

  • Supports C++, Java, Python and REST APIs
  • Offers ranged or hashed sharding strategies
  • Lists strict consistency and MVCC
  • Supports automatic failover and online schema changes
  • Can run in Docker or pseudo-distributed mode
  • Self-hosted deployment requires managing the database infrastructure
  • README does not state security certifications or compliance claims

The verdict

Tera combines distributed table storage, multiple client interfaces and operational capabilities such as failover and snapshots. Teams should assess its deployment and infrastructure dependencies alongside their workload needs.

What the maker publishes

Architecture
Tera consists of an SDK, a master, and tablet servers; tablet servers use an enhanced LevelDB storage engine and handle read, write, and scan requests. source
Client APIs
The README lists C++, Java, Python, and RESTful APIs for accessing Tera. source
Client interfaces
The project lists C++, Java, Python, and REST APIs. source
Consistency and availability
Listed features include strict consistency, automatic failover, online schema changes, and snapshots. source
Data and consistency
Tera supports MVCC, column-oriented storage with locality groups, and strict consistency. source
Data model
Tera stores sparse, distributed, multidimensional tables indexed by row key, column key, and timestamp. source
Deployment
The README says Tera can run on raw machines or in Docker, and describes a pseudo-distributed mode on a single host using the local filesystem. source
Documentation
The English documentation index links to user manuals for pseudo-distributed mode, the API, and teracli, plus a performance benchmark page. source
Integrations
Tera's README lists HDFS and other filesystems, ZooKeeper and Nexus lock services, and Sofa-pbrpc as infrastructure dependencies. source
Intended use
The README describes use in throughput-oriented and latency-sensitive Baidu products, including web indexing, WebPage DB, and LinkBase DB. source
License
The repository lists BSD-3-Clause and Apache-2.0 licenses. source
Operations
Listed capabilities include automatic failover, online schema changes, and snapshots. source
Product
Tera is a high-performance distributed NoSQL database designed for real-time applications. source
Scale
The project says Tera can scale to petabytes of data across thousands of commodity servers. source
Security and compliance
The repository lists BSD-3-Clause and Apache-2.0 licenses; the README does not state security certifications or compliance claims. source
Sharding
Features include linear and modular scalability, automatic configurable sharding, and ranged or hashed sharding strategies. source
Storage and queries
Tera supports RAMDISK, SSD, and disk tables, tiered cache, block cache, and Bloom Filters for real-time queries. source
Support and contribution
The README welcomes contributions and provides [email protected] for joining the project. source
Use cases
Baidu says it uses Tera in products including web indexing, WebPage DB, and LinkBase DB, for workloads ranging from throughput-oriented applications to latency-sensitive services. source

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