ViyaDB

discontinued

by Michael Spector · since 2017 · also known as viyadb

In-memory columnar analytics store for unordered event data with JIT-compiled queries; dormant since 2019.

columnar / olaptime-seriesdatabase engineopen source (permissive)legacy

discontinued. Stuck at 1.0.0-beta (Feb 2018) with no commits since Oct 2019; effectively abandoned. ClickHouse, Druid or Pinot cover the use case.

Overview

ViyaDB is an open-source in-memory columnar data store in C++ aimed at customer-facing ad-hoc aggregations over event data that arrives in no particular order, such as mobile attribution events. It supports random-access updates, compiles queries to machine code at runtime, rolls up older data by configurable time periods and protects itself against high-cardinality dimensions. Queries go through a REST API with a JSON query language plus basic SQL, and a documented cluster mode coordinates workers and controllers through Consul. Created by Michael Spector in 2017, it never left 1.0.0-beta (2018) and commits stopped in October 2019.

Strengths & trade-offs

Strengths

  • +Handles out-of-order inserts and updates without re-sorting data
  • +Runtime query compilation to native code for fast aggregations
  • +Built-in cardinality protection and time-based rollups

Trade-offs

  • −Never reached a stable 1.0
  • −Memory-bound with limited persistence
  • −No maintenance since 2019

Great for

  • +Studying JIT-compiled in-memory aggregation
  • +Prototype real-time dashboards over event streams

Think twice for

  • −Production analytics
  • −Datasets larger than cluster RAM

Capabilities

Native or official first-party support · 4 of 25 tracked

✓Columnar storage
✓In-memory
✓Compression
✓Streaming ingest
–Transactions
–Joins
–Secondary indexes
–Full-text search
–Vector search
–Geospatial
–JSON
–Change data capture
–Triggers
–Stored procedures
–Materialized views
–TTL / expiry
–Pub/Sub
–Durable persistence
–Encryption at rest
–Role-based access
–Time travel
–Branching
–Online schema changes
–Offline sync
–Runs in WebAssembly

Scale & consistency

Comfortable data size
Small · ≤ 100 GB
Horizontal scaling
Native
Multi-region
No
Transactions
None
Consistency
Eventual
Schema
Strict
Architecture
In memory, Distributed
Query languages
JSON query language, SQL (basic)

Data must fit in cluster memory; clustering was documented but never battle-tested publicly.

Deployment

Self-hosted Vendor-managed cloud Serverless Embedded Edge Kubernetes operator

Ecosystem

apis & protocolsREST/JSON
client languagesAny HTTP client

Alternatives to ViyaDB

Compare all→
ClickHouseColumnar / OLAP69.8

Open-source columnar OLAP database known for very fast aggregations over billions of rows.

viyadb vs clickhouse →
Apache DruidColumnar / OLAP35.0

Real-time analytics database for sub-second slice-and-dice over streaming event data.

viyadb vs apache-druid →
Apache PinotColumnar / OLAP29.9

Real-time OLAP store from LinkedIn for user-facing analytics at very high query rates.

viyadb vs apache-pinot →
DuckDBColumnar / OLAP63.7

In-process columnar SQL database: the SQLite of analytics, running inside your app or notebook.

viyadb vs duckdb →
ScubaColumnar / OLAP0.5

Meta's internal in-memory store for real-time event analytics; described at VLDB 2013, rebuilt as Kraken.

viyadb vs scuba →
InMemory.NetColumnar / OLAP0.2

Commercial in-memory columnar SQL engine for .NET that speeds up reporting over hundreds of millions of rows.

viyadb vs inmemory-net →

ViyaDB FAQ

What is ViyaDB?

ViyaDB is a columnar / OLAP database by Michael Spector, first released in 2017. ViyaDB is an open-source in-memory columnar data store in C++ aimed at customer-facing ad-hoc aggregations over event data that arrives in no particular order, such as mobile attribution events. It supports random-access updates, compiles queries to machine code at runtime, rolls up older data by configurable time periods and protects itself against high-cardinality dimensions. Queries go through a REST API with a JSON query language plus basic SQL, and a documented cluster mode coordinates workers and controllers through Consul. Created by Michael Spector in 2017, it never left 1.0.0-beta (2018) and commits stopped in October 2019.

Is ViyaDB open source?

Yes. ViyaDB is open source. License: Apache License 2.0.

Does ViyaDB support ACID transactions?

No. ViyaDB does not provide ACID transactions; its consistency model is eventual.

Does ViyaDB scale horizontally?

ViyaDB scales horizontally out of the box, with built-in sharding or partitioning. It is comfortable at small scale (≤ 100 GB).

How can I run ViyaDB?

You can self-host it.

What is ViyaDB best for?

ViyaDB is a strong fit for studying JIT-compiled in-memory aggregation and prototype real-time dashboards over event streams. Think twice for production analytics.

What are the best alternatives to ViyaDB?

Common alternatives to ViyaDB include ClickHouse, Apache Druid, Apache Pinot, DuckDB and Scuba. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

Is ViyaDB still maintained?

ViyaDB is discontinued. Stuck at 1.0.0-beta (Feb 2018) with no commits since Oct 2019; effectively abandoned. ClickHouse, Druid or Pinot cover the use case.

How popular is ViyaDB?

ViyaDB ranks #615 of 844 databases on the WhichDB Score (0.8/100), and #52 among columnar / OLAP databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.