SkyDB

discontinued

by Ben Johnson (Skyland Labs) · since 2012 · also known as Sky

Ben Johnson's 2012-2013 open-source database for behavioral (clickstream and event) analytics.

time-serieskey-valuedatabase engineopen source (permissive)legacy

discontinued. Development stopped after v0.3.0 (April 2013); the original skydb/sky repo and skydb.io site are gone. Use ClickHouse, Apache Pinot or Druid for event analytics.

Overview

Sky stored per-object timelines of events, where each object (typically a user) carried permanent properties such as country and transient ones such as the action taken at a moment. Its query engine walked each timeline in order, which made funnels, session splitting and next-action analysis a fast sequential scan instead of the self-joins they need in SQL. Version 0.3.0 (April 2013) rewrote about 95% of the code in Go, stored MessagePack-encoded data in LevelDB, compiled queries with LuaJIT and exposed a JSON-over-HTTP API. Development stopped soon after; the author went on to write BoltDB. Today it is only a design reference, and event analytics belongs in a columnar engine.

Strengths & trade-offs

Strengths

  • +Per-object event timelines turn funnel and next-step queries into a single ordered scan
  • +Permanent vs transient property model is a clean way to describe behavioral data
  • +Reported millions of events per core per second on commodity hardware

Trade-offs

  • −Abandoned in 2013 and never reached 1.0
  • −Single node only, no clustering or replication
  • −No SQL, joins or secondary indexes
  • −Original repository deleted; only forks remain

Great for

  • +Historical reference for behavioral database design
  • +Studying timeline-oriented storage for clickstreams

Think twice for

  • −Any new production analytics workload

Capabilities

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

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

Scale & consistency

Comfortable data size
Small · ≤ 100 GB
Horizontal scaling
None
Multi-region
No
Transactions
Limited ACID
Consistency
Strong
Schema
Flexible
Architecture
Single node, Client server
Query languages
Sky JSON query language

Single server; distributed execution was planned for a later release that never shipped publicly.

Deployment

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

Ecosystem

apis & protocolsREST (JSON over HTTP)

Alternatives to SkyDB

Compare all→
ClickHouseColumnar / OLAP69.8

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

skydb vs clickhouse →
Apache PinotColumnar / OLAP29.9

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

skydb vs apache-pinot →
Apache DruidColumnar / OLAP35.0

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

skydb vs apache-druid →
DuckDBColumnar / OLAP63.7

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

skydb vs duckdb →
InMemory.NetColumnar / OLAP0.2

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

skydb vs inmemory-net →
ScubaColumnar / OLAP0.5

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

skydb vs scuba →

SkyDB FAQ

What is SkyDB?

SkyDB is a time-series database by Ben Johnson (Skyland Labs), first released in 2012. Sky stored per-object timelines of events, where each object (typically a user) carried permanent properties such as country and transient ones such as the action taken at a moment. Its query engine walked each timeline in order, which made funnels, session splitting and next-action analysis a fast sequential scan instead of the self-joins they need in SQL. Version 0.3.0 (April 2013) rewrote about 95% of the code in Go, stored MessagePack-encoded data in LevelDB, compiled queries with LuaJIT and exposed a JSON-over-HTTP API. Development stopped soon after; the author went on to write BoltDB. Today it is only a design reference, and event analytics belongs in a columnar engine.

Is SkyDB open source?

Yes. SkyDB is open source. License: MIT License.

Does SkyDB support ACID transactions?

Partly. SkyDB offers limited ACID guarantees (for example, single-record or single-partition transactions), with strong consistency.

Does SkyDB scale horizontally?

SkyDB does not scale horizontally; it runs on a single node, so you scale it up rather than out. It is comfortable at small scale (≤ 100 GB).

How can I run SkyDB?

You can self-host it.

What is SkyDB best for?

SkyDB is a strong fit for historical reference for behavioral database design and studying timeline-oriented storage for clickstreams. Think twice for any new production analytics workload.

What are the best alternatives to SkyDB?

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

Is SkyDB still maintained?

SkyDB is discontinued. Development stopped after v0.3.0 (April 2013); the original skydb/sky repo and skydb.io site are gone. Use ClickHouse, Apache Pinot or Druid for event analytics.

How popular is SkyDB?

SkyDB has little measurable public adoption today, so it ranks near the bottom of the WhichDB Score.