Embedded database for microcontrollers. Three engines. One malloc. Zero dependencies. Deterministic durable storage core for MCU/embedded systems.
loxdb is a compact embedded database written in C99 for firmware and small edge runtimes. It is intentionally narrower than SQLite: deterministic storage for constrained firmware, dataloggers, controllers and small edge runtimes where predictable memory and a small integration surface matter more than SQL features.
Configuration, cache entries and TTL-backed state.
Sensor samples and rolling telemetry.
Small indexed structured data with a fixed schema.
A single malloc at lox_init() with fixed RAM budgeting.
Optional WAL-backed persistence and recovery.
RAM-only or storage-backed operation, zero external dependencies, ESP32 benchmarks included.
loxdb is not a tiny SQLite clone. SQLite is excellent, but targets a different operating point. loxdb is intentionally narrower — and says so.