Use as a library in your Rust app with zero network overhead. No separate process needed.
Run as a TCP server with SCRAM-SHA-256 auth, TLS, RBAC, and audit logging. Connect from any language.
Query with MongoDB-style JSON operators or standard SQL. SELECT, INSERT, UPDATE, DELETE, JOINs, GROUP BY.
Multi-collection transactions with optimistic concurrency control. 3-phase commit with WAL durability.
Single-field, composite, unique, text, and vector indexes. Index-only counts. Index-backed sort.
$match, $group, $sort, $project, $lookup, $unwind, $addFields, $skip, $limit, $count.
TF-IDF ranked search. Indexes HTML, XML, JSON, PDF, DOCX, XLSX, and images (OCR).
HNSW index with cosine, euclidean, and dot product distance metrics.
S3-style bucket/object API. Store files with metadata, content types, and ETags.
AES-256-GCM authenticated encryption. Transparent at the storage layer.
Watch collections for insert/update/delete events in real-time. Resumable with replay buffer.
Define named multi-step operations with parameter substitution. Call them by name.
Zstd compression (level 3) at the storage layer. Transparent per-document compression.
Compressed full backups. Restore to any directory. All data, indexes, and metadata included.
Create isolated databases within a single server. Switch context at runtime.
Background job scheduling with enable/disable control and configurable intervals.
Run OxiDB entirely in the browser via WASM. No server needed — in-memory mode with full query, SQL, and aggregation support. ~1.5 MB gzipped.
Multi-node replication via openraft consensus. Persistent state (raft_meta.json + append-only raft_log.jsonl) survives container restarts. Quorum-based commits, automatic catch-up on rejoin, verified at 1M records under mid-stream failover.
Two-tier oxipool router: top-level CRC32 hash on configurable shard keys (e.g. customer_id) → 256 virtual chunks → N shards. Per-shard pool fronts master + replicas with read/write split + TX pinning. Scatter-gather for cross-shard queries. Reference deployment: ShardReplicaRealWorldTest/.