项目
在 GitHub 查看
lotusdblabs/lotusdb
lotusdblabs/lotusdb has 2,257 GitHub stars and 186 forks. GitHot measured 0 stars in 24 hours, -2 in 7 days, 0 in 15 days, and +1 in 30 days. Last checked 2026-11-23 15:28 UTC. Last push 2026-08-27.
实测星标增长
- 24小时
- 0
- 7天
- -2
- 15天
- 0
- 1个月
- +1
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
关于
用 Go 编写的最先进键值数据库,速度极快,兼容 LSM 树和 B+ 树。
数据README.md
原文
What is LotusDB
LotusDB is the most advanced key-value store written in Go, extremely fast, compatible with LSM tree and B+ tree, and optimization of badger and bbolt.
Key features:
- Combine the advantages of LSM and B+ tree
- Fast read/write performance
- Much lower read and space amplification than typical LSM
Design Overview

Getting Started
package main
import (
"github.com/lotusdblabs/lotusdb/v2"
)
func main() {
// specify the options
options := lotusdb.DefaultOptions
options.DirPath = "/tmp/lotusdb_basic"
// open a database
db, err := lotusdb.Open(options)
if err != nil {
panic(err)
}
defer func() {
_ = db.Close()
}()
// put a key
err = db.Put([]byte("name"), []byte("lotusdb"))
if err != nil {
panic(err)
}
// get a key
val, err := db.Get([]byte("name"))
if err != nil {
panic(err)
}
println(string(val))
// delete a key
err = db.Delete([]byte("name"))
if err != nil {
panic(err)
}
}
see the examples for more details.
Community
Welcome to join the Slack channel and Discussions to connect with LotusDB team members and other users.
If you are a Chinese user, you are also welcome to join our WeChat group, scan the QR code and you will be invited:
![]() |
|---|
探索相关项目
加载中…
