Aegis-DB Documentation
Multi-paradigm database built for regulated industries
Overview
Aegis-DB is a unified, multi-paradigm database platform built in Rust. It combines thirteen data paradigms (relational SQL, key-value, document, time series, graph, streaming, vector/KNN, full-text search, geospatial, columnar/OLAP, object/blob, wide-column and ledger) in a single system with enterprise-grade security and compliance features.
Version 0.6.0 – 23 crates, 933 tests
Key Features
- Multi-Paradigm - SQL, KV, Document, TimeSeries, Graph and Streaming, plus Vector (HNSW), Full-Text (BM25), Geospatial, Columnar, Object, Wide-Column and Ledger, in one platform
- Auto-Create - Collections, tables, buckets, indexes and ledgers are created on first write
- Tamper-Evident Ledger - SHA-256 hash-chained append-only ledgers with verification
- Time-Series Tiering - Bounded RAM hot window plus an on-disk compressed cold tier
- Multi-Database - Isolated databases per application with shared infrastructure
- Enterprise Security - TLS, MFA, RBAC, audit logging, encryption at rest
- Compliance Ready - HIPAA, GDPR, CCPA, SOC 2, FERPA support with PHI tagging and query limits
- Self-Hosted - Complete data sovereignty, no cloud dependencies
- High Performance - MVCC, vectorized execution, B-tree/Hash indexes, LZ4/Zstd compression
- OTA Updates - Rolling cluster updates with automatic rollback
- Bulk Import - CSV and JSON bulk data import
- VACUUM - Storage reclamation and compaction
- Graph Engine - Nodes, edges, adjacency lists, label/relationship indexes
Architecture
┌─────────────────────────────────────────────────────────────────┐
│ Aegis-DB Suite │
├─────────────┬─────────────┬─────────────┬───────────────────────┤
│ Dashboard │ Server │ Client │ CLI │
│ (WASM) │ (REST API) │ (SDK) │ │
│ Port 8000 │ Port 9090 │ │ │
└─────────────┴──────┬──────┴─────────────┴───────────────────────┘
│
┌────────────────────┴────────────────────────────────────────────┐
│ Query Engine │
│ SQL Parser → Planner → Vectorized Executor │
├─────────────┬─────────────┬─────────────┬───────────────────────┤
│ Document │ TimeSeries │ Graph │ Streaming │
│ Store │ Engine │ Engine │ Engine │
├─────────────┼─────────────┼─────────────┼───────────────────────┤
│ Vector │ Full-Text │ Geospatial │ Columnar │
│ (HNSW) │ (BM25) │ │ (OLAP) │
├─────────────┼─────────────┼─────────────┼───────────────────────┤
│ Object │ Wide-Column │ Ledger │ Key-Value │
│ Store │ Store │ (SHA-256) │ │
└─────────────┴─────────────┴─────────────┴───────────────────────┘
│
┌────────────────────┴────────────────────────────────────────────┐
│ Storage Layer │
│ WAL → MVCC → Block Storage → Compression │
├─────────────┬─────────────┬─────────────────────────────────────┤
│ Memory │ LocalFS │ Replication │
│ Backend │ Backend │ (Raft, 2PC, CRDTs) │
└─────────────┴─────────────┴─────────────────────────────────────┘
Quick Links
| Section | Description |
|---|---|
| Getting Started | Installation and initial setup |
| User Guide | Configuration and usage |
| AegisQL Reference | Query language documentation |
| Security | Security features and encryption |
| Compliance | HIPAA, GDPR, SOC 2 compliance |
| Crate Documentation | Rust crate architecture |
System Requirements
| Component | Minimum | Recommended |
|---|---|---|
| CPU | 2 cores | 4+ cores |
| RAM | 4 GB | 8+ GB |
| Storage | 20 GB SSD | 100+ GB NVMe |
| OS | Ubuntu 22.04 / Debian 12 | Ubuntu 24.04 |
License
Aegis-DB is licensed under the Business Source License 1.1.
- Use Limitation: Free for everything except reselling as a managed Database-as-a-Service
- Change Date: January 26, 2030
- Change License: Apache License 2.0
For commercial DBaaS licensing, contact devops@automatanexus.com.