Platforms and languages¶
What OliviaDB 0.1 runs on and what it is used from. "Built" means the release builds it for that platform; "tested" that CI runs the test suites there.
The server and the command-line tools¶
oliviadb-server, oliviadb (command line), oliviadb-sql-server, oliviadb-lsp:
| Operating system | Architecture | C library | Release archive | Tested in CI |
|---|---|---|---|---|
| Linux | x86_64 | glibc | x86_64-unknown-linux-gnu |
yes |
| Linux | aarch64 | glibc | aarch64-unknown-linux-gnu |
yes |
| Linux | x86_64 | musl (static binaries) | x86_64-unknown-linux-musl |
built |
| Linux | aarch64 | musl (static binaries) | aarch64-unknown-linux-musl |
built |
| macOS | arm64 (Apple silicon) | – | aarch64-apple-darwin |
built (cross-compiled; tested on developers' machines) |
| macOS | x86_64 | – | x86_64-apple-darwin |
yes |
| Windows | – | – | not yet (planned for 0.2) | – |
- Container image
ghcr.io/oliviadb/oliviadb(alsodocker.io/oliviadb/oliviadb):linux/amd64andlinux/arm64, Debian trixie slim, non-root (the container image). - From source: Rust 1.99 or later (
rust-versionof the workspace; the release uses the version pinned inrust-toolchain.toml). - High availability (a primary and a standby) is part of OliviaDB Enterprise (high availability).
- Distributed (scale-out across nodes, ACID across ranges, failover) is in development for OliviaDB Enterprise (multi-Raft plan). The single-node engine stays AGPL-3.0 or commercial.
Client libraries¶
| Language | Package | Minimum version | HTTP | Native protocol | DL/I binding |
|---|---|---|---|---|---|
| Rust | oliviadb (crates.io) |
Rust 1.85 | oliviadb::Client |
oliviadb::native::Native |
oliviadb-dli |
| Java | com.olivia-db:oliviadb-client (Maven Central) |
Java 17 | OliviaDbClient (memory, state) |
NativeClient |
com.olivia-db:oliviadb-dli |
| JavaScript / TypeScript | @olivia-db/client (npm) |
Node.js 18; HTTP also in browsers and other runtimes with fetch |
OliviaDbClient (memory, state) |
@olivia-db/client/native (Node.js) |
– |
| Python | oliviadb (PyPI) |
Python 3.10 | OliviaDbClient (memory, state) |
oliviadb.native.NativeClient |
oliviadb-dli |
Aggregates (reads, writes, transactions, lookups, search) are on the native protocol in every client, and on HTTP in the Rust client; from any other language, HTTP and JSON (network API). Python also has adapters for agent frameworks (LangGraph, LlamaIndex, CrewAI, Google ADK, OpenAI Agents, Microsoft Agent Framework) and a Mem0-compatible API. Typed models and queries are generated for all four languages (typed clients). Editors: a language server for the schema language (editors).
DL/I programs¶
| Library | liboliviadb_dli (shared and static) with oliviadb_dli.h, C ABI version 14, in the Linux glibc and macOS release archives (embedding the DL/I layer) |
| Entry points | CBLTDLI, AIBTDLI, CEETDLI, ASMTDLI, PLITDLI, and oliviadb_call; variadic, with fixed-argument twins for callers on Apple arm64 |
| COBOL | GnuCOBOL: 3.1.2 (Ubuntu 24.04, in CI) and 3.2 (macOS arm64); the quick start's program is built with cobc -x and run in CI (DL/I quick start) |
| C | any C99 compiler (the C examples are built with the system cc) |
| Rust, Java, Python | the bindings above; Java through liboliviadb_dli_jni bundled in the jar, Python wheels for manylinux x86_64 and aarch64 and macOS arm64 and x86_64 carrying the library |
| Modes | in process (the program opens the store) or client mode (calls sent to an oliviadb-server) |
Other COBOL compilers that call CBLTDLI through the platform's C calling convention should
work the same way; none other is tested yet.
Protocols¶
HTTP/JSON, the native binary protocol, DL/I, MCP, PostgreSQL wire (SQL projection) and a Redis-protocol facade: protocols.