FlashDB

An ultra-lightweight database that supports key-value and time series data | 一款支持 KV 数据和时序数据的超轻量级数据库

What is FlashDB?

An ultra-lightweight database that supports key-value and time series data | 一款支持 KV 数据和时序数据的超轻量级数据库

Overview of FlashDB

What it is

FlashDB is an ultra-lightweight embedded database designed for data storage in embedded products. It operates directly on Flash memory rather than a file system, aiming to combine Flash characteristics with strong performance and reliability while minimizing resource usage and extending Flash lifespan. It supports two database modes: a key-value database (KVDB) storing data as key-value pairs, and a time series database (TSDB) storing data in chronological order with timestamps. The project is open source under the Apache-2.0 license.

Key features

  • Very small RAM footprint, nearly 0 usage - Supports multiple partitions and multiple instances to reduce retrieval time with large data volumes - Wear leveling to extend Flash life - Power-off protection for high reliability - Supports two KV types: string and blob - KV incremental upgrade: after firmware upgrade, KVDB content can automatically upgrade - Ability to modify the status of each TSDB record for user management

Use cases

  • Key-value database: product parameter storage, user configuration information storage, small file management - Time Series Database: storing dynamically generated structured data (e.g., environmental monitoring data from sensors, health information from smart bracelets), recording operation logs and abnormal alarm records

Getting started

See the repository README for comprehensive documentation, quick start guide, porting guide, configuration guide, and API documentation.

License and pricing

The project is open source under the Apache-2.0 license. Pricing is not stated; it is listed as open source.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/arminkflashdb.svg)](https://yunodb.com/tools/arminkflashdb?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/arminkflashdb?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/arminkflashdb.svg" alt="Featured on YunoDB" height="20"></a>