Skip to main content
All comparisons/ScramDB vs OceanBase

ScramDB vs OceanBase

OceanBase is a serious distributed database with an LSM engine, Paxos replication and MySQL or Oracle compatibility modes. It also requires at least three servers for production, fixes each tenant’s compatibility mode at creation time, and keeps its enterprise features commercial. ScramDB answered the same analytical workload 75 times faster from a single process, and clusters on the same binary when you want it to.

Faster
75x
ScramDB 31.6s against OceanBase (row store) 2,378s. Both answered every query.
Faster from cold
13x
ScramDB 189s against OceanBase (row store) 2,405s. First touch, nothing cached.
Smaller on disk
1.8x
ScramDB 16.1 GiB against OceanBase (row store) 28.7 GiB. Same data, after load.
At a glance

Side by side

ScramDBOceanBase
Minimum production deploymentOne processAt least three servers; a single node is for learning and development
StorageOne columnar storeLSM tree with an in-memory write buffer, plus a columnar engine for analytics
Wire protocolPostgreSQL wire protocol, every standard driverMySQL protocol, or an Oracle compatible mode, fixed per tenant at creation
Analytics on live dataSame copy, same engineOne engine, with compaction between the write buffer and the baseline data
BranchingFork the database instantly, or open it as it was at any past timestampBackup and restore
AI and agentsA semantic layer inside the engine that agents connect to directly, bound by the caller’s own permissionsVector type with several index types
EditionsCommunity free up to 64 GiB stored, Enterprise for clusteringCommunity edition Apache 2.0; enterprise and cloud are commercial
Getting startedOne command, one binaryA cluster, its tenants and their compatibility modes

Three servers is a decision, not a default

A production floor of three machines means the smallest useful deployment is a cluster, with the operational surface that implies. ScramDB runs in production on one process and joins the cluster when you turn clustering on, using the same binary and the same configuration file.

When OceanBase is the right answer

Very large distributed OLTP with strong consistency requirements, particularly where MySQL or Oracle compatibility and multi-tenancy are hard requirements.

The measurement, as of 5 September 2026. A full analytical workload over 100 million rows of real web analytics data, run on a 16 vCPU AWS instance. Ours is a single ScramDB node in its stock configuration, with the GPU off and nothing tuned for the test. Rival figures are those systems’ own published results for the same instance type. These are the numbers as of that date, not a permanent scoreboard: the engine is tuned continuously and it has got faster through every round of this work, so a later run should read better than this one.

Run it yourself in one line

One static binary, no dependencies. It picks its own config, listens on the postgres port 5432 and runs in the background.

$curl -fsSL https://scramdb.com/install | bash

Quick start · How the engine works · Talk to us

A full analytical workload over 100 million rows of real web analytics data, run on a 16 vCPU AWS instance, measured 5 September 2026. Ours is a single ScramDB node in its stock configuration, with the GPU off and nothing tuned for the test. Rival figures are those systems’ own published results for the same instance type. These are the numbers as of that date, not a permanent scoreboard: the engine is tuned continuously and it has got faster through every round of this work, so a later run should read better than this one.