Skip to content

Roadmap

Strategy: Close SQL gaps → Speak Postgres fluently → Make it fast → Harden for enterprise → Scale out → Own the niche.

TensorDB is under active development. This roadmap is driven by a comprehensive enterprise evaluation that tested TensorDB against Oracle, PostgreSQL, Redis, and SQLite across 50 functional tests, 3 benchmark suites, and 800+ unit tests.


Current Status: v0.46+

TensorDB is a fully functional bitemporal ledger database with all 6 roadmap phases shipped:

Core Engine: LSM storage (WAL + memtable + SSTables + L0-L6 compaction), fast write path (1.9 µs / 384K writes/s), direct read path (263 ns / 3.8M reads/s), MVCC snapshot isolation, epoch-based PITR.

SQL Engine: DDL, DML, JOINs (inner/left/right/cross/full outer), CTEs (including recursive), window functions, set operations (UNION/INTERSECT/EXCEPT), aggregate functions, CASE expressions, LIKE/ILIKE, ORDER BY + LIMIT + OFFSET, subqueries, upsert (ON CONFLICT), prepared statements, cost-based planner with index scan, EXPLAIN ANALYZE.

Multi-Model: Full-text search (BM25, HIGHLIGHT), vector search (HNSW, IVF-PQ, cosine/euclidean/dot, temporal vectors, hybrid search), time-series (TIME_BUCKET, gap-fill, interpolation), event sourcing with aggregate projections, CDC with durable cursors, graph queries (BFS/DFS).

Security: Authentication, RBAC, row-level security (CREATE POLICY), audit log with tamper detection (hash chaining), GDPR erasure (FORGET KEY), AES-256-GCM encryption at rest, encryption key rotation, column-level encryption, TLS/mTLS.

Operations: 8 SHOW diagnostic commands, VACUUM, VERIFY BACKUP, SUGGEST INDEX, plan guides, compaction scheduling, WAL management, per-query resource limits, structured error codes (T1xxx-T6xxx) with “Did you mean?” suggestions.

Distributed: Raft consensus, object store backend, WAL replication, C FFI.

Interfaces: Rust API, PostgreSQL wire protocol (pgwire v3), CLI, Python (PyO3), Node.js (napi-rs).


What’s Already Shipped

These items appeared in previous roadmaps and are now complete:

FeatureVersionStatus
Secondary indexes (B-tree, composite, unique)v0.28Shipped
DECIMAL / Numeric typev0.30Shipped
AES-256-GCM encryption at restv0.30Shipped
Backup & restore (full + incremental + VERIFY)v0.30Shipped
Index scan execution (point, range, secondary)v0.28Shipped
CREATE VIEWv0.30Shipped
Disk-based vector indexes (HNSW + IVF-PQ)v0.30Shipped
Temporal vector searchv0.30Shipped
Hybrid search (RRF)v0.30Shipped
Columnar storage, zone maps, dictionary encodingv0.20Shipped
Audit log, RLS, GDPR erasurev0.32Shipped
Structured error codes + suggestionsv0.32Shipped
Online DDL (DROP/RENAME COLUMN)v0.32Shipped
Plan guides, VACUUM, compaction schedulingv0.32Shipped
Multi-value INSERT, OFFSET, IF EXISTS, subqueriesv0.33Shipped
FULL OUTER JOIN, upsert, RETURNING on UPDATE/DELETEv0.33Shipped
Persistent transaction sessionsv0.33Shipped
Recursive CTEs, foreign keys, materialized viewsv0.34–v0.35Shipped
Generated columns, triggers, UDFsv0.34–v0.35Shipped
Native date/time types, JSON/JSONB operationsv0.34–v0.35Shipped
Query parallelism, batch writes, external merge sortv0.36–v0.38Shipped
Expression compilation, Zstd compressionv0.36–v0.38Shipped
TLS/mTLS, encryption key rotationv0.39–v0.41Shipped
Column-level encryption, audit log tamper detectionv0.39–v0.41Shipped
Raft consensus, object store backendv0.42–v0.45Shipped
WAL replication, C FFIv0.42–v0.45Shipped
Learned cost model, anomaly detection, graph queriesv0.46+Shipped

Performance Targets

Tracked benchmarks with current measurements and targets.

BenchmarkCurrent (v0.32)Target (v0.36)Target (v1.0)
Point read263 ns200 ns150 ns
Point write (fast path)2.6 µs1.5 µs1.0 µs
Batch write (100 rows)1,610 µs400 µs200 µs
SQL SELECT 100 rows51 µs30 µs15 µs
Prefix scan 1000 keys247 µs150 µs80 µs
Mixed 80r/20w17.3 µs8 µs4 µs

v1.0 Criteria

TensorDB v1.0 will be tagged when all of the following are met:

  1. Secondary indexes — Done (B-tree, composite, unique, planner integration)
  2. DECIMAL type — Done (exact arithmetic for financial workloads)
  3. Encryption at rest — Done (AES-256-GCM)
  4. Backup & restore — Done (full + incremental + VERIFY BACKUP)
  5. SQL completeness — Done (multi-value INSERT, subqueries, OFFSET, IF EXISTS, upsert, persistent sessions)
  6. TLS — Done (TLS/mTLS for pgwire)
  7. Encryption key rotation — Done (online rotation with versioned keys)
  8. Stable on-disk format — Forward-compatible SSTable and WAL format with migration tooling
  9. Jepsen testing — Formal verification of consistency under network partitions
  10. TPC-H benchmarks — Published results on standard analytical benchmarks
  11. YCSB benchmarks — Published results on standard OLTP benchmarks
  12. Published packages — Stable releases on crates.io, PyPI, and npm

Version History

VersionMilestone
v0.46+Learned cost model, anomaly detection, graph queries
v0.42–v0.45Raft consensus, object store backend, WAL replication, C FFI
v0.39–v0.41TLS/mTLS, encryption key rotation, column-level encryption, audit tamper detection
v0.36–v0.38Query parallelism, batch writes, external merge sort, expression compilation, Zstd compression
v0.34–v0.35Recursive CTEs, foreign keys, materialized views, triggers, UDFs, date/time, JSON/JSONB
v0.33SQL completeness (multi-value INSERT, subqueries, OFFSET, IF EXISTS, upsert, sessions)
v0.32Structured errors, security & audit (RLS, audit log, GDPR), operational maturity
v0.31Observability & diagnostics (8 SHOW commands, /health endpoint, cache tracking)
v0.30Vector search (HNSW, IVF-PQ, temporal, hybrid), horizontal scaling, Python/Node.js
v0.28Fast write engine (1.9 µs, lock-free path), secondary indexes, DECIMAL type
v0.27Raft consensus, WAL shipping, scatter-gather distributed queries
v0.26Schema evolution with migrations
v0.25Monitoring, metrics, slow query log
v0.24Connection pooling with idle eviction
v0.23Authentication and RBAC
v0.22Event sourcing with aggregate projections
v0.21Change data capture with consumer groups
v0.20Columnar storage, zone maps, dictionary encoding
v0.19Vectorized execution engine (1024-row batches)
v0.18Parquet, CSV, JSON data interchange
v0.17SQL completeness (CASE, CAST, UNION, string/math/date functions)
v0.15PostgreSQL wire protocol (pgwire v3)
v0.14Time-series SQL (TIME_BUCKET, gap-fill, interpolation)
v0.13Full-text search with BM25 ranking
v0.11Temporal SQL:2011 compliance (SYSTEM_TIME, APPLICATION_TIME)
v0.10Cost-based query planner, EXPLAIN ANALYZE
v0.9LZ4 compression, adaptive compression
v0.1.0Initial release: bitemporal ledger, LSM storage, SQL engine

See the full changelog in the GitHub repository.