百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
T

terichdb

> 编程语言
开源

TerichDB, 基于 terark 引擎的 开源 数据存储

371 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

TerichDB, 基于 terark 引擎的 开源 数据存储

1.TerichDB

TerichDB is an open source NoSQL data store based on terark storage engine.

TerichDB is:

  • Read optimized, faster than ever.
  • Data is highly compressed and decompressed is not required before read.
  • Use FSA and succinct technologies, totally different from B+ and LSM(Which is widely used in other data stores).
  • Native support for regex expression query.
  • Benchmark

2.Features

  • High Compression Ratio
    • Higher than snappy(2~5 times) and other database products, higher than gzip, sometimes higher than bzip
  • Search Directly on Compressed Data without Decompression
    • Compressed data as index, index as compressed data
  • Fast Access
    • Optimized for SSD and in-memory workloads
  • Flexible Indexing
    • Multiple indexes on one table
    • Unique/non-unique index
    • Composite index(one index on multiple columns)
    • Ordered index (support range query)
  • Native regular expression query
  • Embeddable & Standalone Database
  • Persistent
  • Schema Based, with Rich Data Types
  • Column Group
  • Supported Platforms: Linux, Windows, Mac
  • Transparent foundation for developers to build customized products

3.Installation

3.1.Linux & MacOS

bash
sudo wget https://raw.githubusercontent.com/Terark/terichdb/master/online_install.py && (python online_install.py; rm online_install.py)

3.2.Windows

windows installation guide

4.Compile TerichDB

4.1.Dependencies

  • libboost_system.so(1.63.0) (boost_1_63_0)
  • libboost_filesystem(1.63.0)(Could be found in boost_1_63_0)
  • libwiredtiger.so(v2.8.0)
  • libtbb.so(tbb44_20160128)
  • libgflags
  • libsnappy
  • libz
  • libzstd

4.2.Compiler Support

  • Linux : g++-4.7, g++-4.8, g++-4.9, g++-5.3, g++-5.4, g++-6.1, g++-6.2
  • Mac OS : g++-4.8, g++-4.9, g++-5.3, g++-6.0, g++-6.1, clang++-7.3
  • Windows : vs2015

4.3.dfadb alternative

  1. TerichDB is open source but our core data structures and algorithms(dfadb) are not yet.
  2. dfadb is supported by a library named terark-fsa-* in our released packages.
  3. Developers who want to build their own TerichDB, should place the terark-fsa-* library into their library search path(e.g. /usr/local/lib).
  4. User compiled TerichDB can only uses limited APIs, and need to set "ReadonlySegmentClass" : "MockReadonlySegment" in dbmeta.json(TerichDB's schema file).

5. Notes

  • UNIX fork() should not be called in the applications using TerichDB, this would cause undefined behaviors.

6.License

TerichDB follows Free Software Foundation's GNU AGPL v3.0

For commercial purposes, please contact us.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C++

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言