SharedDB

discontinued

by ETH Zurich Systems Group · since 2012 · also known as Shared DB (ETH Zurich)

ETH Zurich prototype (VLDB 2012) that runs batches of concurrent queries through one shared, always-on plan.

relationalresearch prototypeproprietarylegacy

discontinued. Research prototype from ETH Zurich (about 2012-2014); never released as a product. Its shared-execution ideas inform work on batch and multi-query processing.

Overview

SharedDB, by Georgios Giannikis, Gustavo Alonso and Donald Kossmann at ETH Zurich's Systems Group, inverted the query-at-a-time model. Instead of optimising each statement separately, it compiles the whole workload into one global plan of shared operators, queues incoming queries and updates into batches, and pushes each batch through that plan so a single join or scan serves hundreds of queries, with results routed back by query ID. That caps the work per batch regardless of load, which gives predictable response times at high throughput, at the cost of extra work when the system is lightly loaded. Built on the Crescando shared-scan storage manager, it reported about twice the TPC-W throughput of a leading commercial database and nearly eight times MySQL's. It remained a research prototype.

Strengths & trade-offs

Strengths

  • +One global plan shares scans and joins across hundreds of concurrent queries
  • +Bounded work per batch gives predictable latency under heavy load
  • +Handles OLTP, OLAP and mixed workloads with the same mechanism
  • +Reported roughly 2x a commercial RDBMS and 8x MySQL on TPC-W

Trade-offs

  • −Does extra, wasted work at low load compared with query-at-a-time engines
  • −Workload must be known in advance to build the global plan
  • −No public code or release

Great for

  • +Research on shared and batch query execution
  • +Background for designing systems with strict latency SLAs under high concurrency

Think twice for

  • −Any practical deployment: no software is available

Capabilities

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

✓Transactions
✓Joins
✓Secondary indexes
✓In-memory
–Full-text search
–Vector search
–Geospatial
–JSON
–Change data capture
–Triggers
–Stored procedures
–Materialized views
–TTL / expiry
–Pub/Sub
–Columnar storage
–Durable persistence
–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
Full ACID
Consistency
Strong
Schema
Strict
Architecture
Single node, In memory
Query languages
SQL

Optimised for throughput and latency guarantees under heavy concurrent load rather than data volume.

Deployment

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

Alternatives to SharedDB

Compare all→
SingleStoreRelational29.0

Distributed SQL running transactions, analytics, vector and full-text search in one engine on live data.

shareddb vs singlestore →
Volt Active Data (VoltDB)Relational20.7

In-memory, partitioned SQL engine running Java stored procedures serially for millisecond decisioning.

shareddb vs volt-active-data →
PostgreSQLRelational93.2

The extensible, standards-first open-source relational database.

shareddb vs postgresql →
Google F1Relational0.0

Google's internal distributed SQL database on Spanner that replaced sharded MySQL for AdWords.

shareddb vs google-f1 →
Actian IngresRelational16.8

One of the original relational databases, still sold by Actian for long-lived enterprise systems.

shareddb vs ingres →
Progress OpenEdgeRelational20.4

Integrated RDBMS plus ABL 4GL application platform behind thousands of ERP and vertical business apps.

shareddb vs progress-openedge →

SharedDB FAQ

What is SharedDB?

SharedDB is a relational database by ETH Zurich Systems Group, first released in 2012. SharedDB, by Georgios Giannikis, Gustavo Alonso and Donald Kossmann at ETH Zurich's Systems Group, inverted the query-at-a-time model. Instead of optimising each statement separately, it compiles the whole workload into one global plan of shared operators, queues incoming queries and updates into batches, and pushes each batch through that plan so a single join or scan serves hundreds of queries, with results routed back by query ID. That caps the work per batch regardless of load, which gives predictable response times at high throughput, at the cost of extra work when the system is lightly loaded. Built on the Crescando shared-scan storage manager, it reported about twice the TPC-W throughput of a leading commercial database and nearly eight times MySQL's. It remained a research prototype.

Is SharedDB open source?

No. SharedDB is proprietary, closed-source software. License: Not publicly released (research prototype).

Does SharedDB support ACID transactions?

Yes. SharedDB supports full ACID transactions, with strong consistency.

Does SharedDB scale horizontally?

SharedDB 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).

What is SharedDB best for?

SharedDB is a strong fit for research on shared and batch query execution; and background for designing systems with strict latency SLAs under high concurrency. Think twice for any practical deployment: no software is available.

What are the best alternatives to SharedDB?

Common alternatives to SharedDB include SingleStore, Volt Active Data (VoltDB), PostgreSQL, Google F1 and Actian Ingres. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

Is SharedDB still maintained?

SharedDB is discontinued. Research prototype from ETH Zurich (about 2012-2014); never released as a product. Its shared-execution ideas inform work on batch and multi-query processing.

How popular is SharedDB?

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