DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > ClickHouse vs. CockroachDB vs. Datomic vs. Google Cloud Spanner vs. RocksDB

System Properties Comparison ClickHouse vs. CockroachDB vs. Datomic vs. Google Cloud Spanner vs. RocksDB

Editorial information provided by DB-Engines
NameClickHouse  Xexclude from comparisonCockroachDB  Xexclude from comparisonDatomic  Xexclude from comparisonGoogle Cloud Spanner  Xexclude from comparisonRocksDB  Xexclude from comparison
DescriptionA high-performance, column-oriented SQL DBMS for online analytical processing (OLAP) that uses all available system resources to their full potential to process each analytical query as fast as possible. It is available as both an open-source software and a cloud offering.CockroachDB is a distributed database architected for modern cloud applications. It is wire compatible with PostgreSQL and backed by a Key-Value Store, which is either RocksDB or a purpose-built derivative, called Pebble.Datomic builds on immutable values, supports point-in-time queries and uses 3rd party systems for durabilityA horizontally scalable, globally consistent, relational database service. It is the externalization of the core Google database that runs the biggest aspects of Google, like Ads and Google Play.Embeddable persistent key-value store optimized for fast storage (flash and RAM)
Primary database modelRelational DBMSRelational DBMSRelational DBMSRelational DBMSKey-value store
Secondary database modelsTime Series DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score16.34
Rank#38  Overall
#23  Relational DBMS
Score6.15
Rank#55  Overall
#33  Relational DBMS
Score1.59
Rank#150  Overall
#69  Relational DBMS
Score2.89
Rank#103  Overall
#52  Relational DBMS
Score3.65
Rank#85  Overall
#11  Key-value stores
Websiteclickhouse.comwww.cockroachlabs.comwww.datomic.comcloud.google.com/­spannerrocksdb.org
Technical documentationclickhouse.com/­docswww.cockroachlabs.com/­docsdocs.datomic.comcloud.google.com/­spanner/­docsgithub.com/­facebook/­rocksdb/­wiki
DeveloperClickhouse Inc.Cockroach LabsCognitectGoogleFacebook, Inc.
Initial release20162015201220172013
Current releasev24.4.1.2088-stable, May 202423.1.1, May 20231.0.6735, June 20238.11.4, April 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0Open Source infoApache 2.0, commercial license availablecommercial infolimited edition freecommercialOpen Source infoBSD
Cloud-based only infoOnly available as a cloud servicenononoyesno
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
  • ClickHouse Cloud: Get the performance you love from open source ClickHouse in a serverless offering that takes care of the details so you can spend more time getting insight out of the fastest database on earth.
  • Aiven for Clickhouse: Managed cloud data warehousing with high-speed analytics.
  • DoubleCloud: Fully managed ClickHouse alongside best-in-class managed open-source services to build analytics at scale.
Implementation languageC++GoJava, ClojureC++
Server operating systemsFreeBSD
Linux
macOS
Linux
macOS
Windows
All OS with a Java VMhostedLinux
Data schemeyesdynamic schemayesyesschema-free
Typing infopredefined data types such as float or dateyesyesyesyesno
XML support infoSome form of processing data in XML format, e.g. support for XML data structures, and/or support for XPath, XQuery or XSLT.nonononono
Secondary indexesyesyesyesyesno
SQL infoSupport of SQLClose to ANSI SQL (SQL/JSON + extensions)yes, wire compatible with PostgreSQLnoyes infoQuery statements complying to ANSI 2011no
APIs and other access methodsgRPC
HTTP REST
JDBC
MySQL wire protocol
ODBC
PostgreSQL wire protocol
Proprietary protocol
JDBCRESTful HTTP APIgRPC (using protocol buffers) API
JDBC infoAt present, JDBC supports read-only queries. No support for DDL or DML statements.
RESTful HTTP API
C++ API
Java API
Supported programming languagesC# info3rd party library
C++
Elixir info3rd party library
Go info3rd party library
Java info3rd party library
JavaScript (Node.js) info3rd party library
Kotlin info3rd party library
Nim info3rd party library
Perl info3rd party library
PHP info3rd party library
Python info3rd party library
R info3rd party library
Ruby info3rd party library
Rust
Scala info3rd party library
C#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
Clojure
Java
Go
Java
JavaScript (Node.js)
Python
C
C++
Go
Java
Perl
Python
Ruby
Server-side scripts infoStored proceduresyesnoyes infoTransaction Functionsnono
TriggersnonoBy using transaction functionsno
Partitioning methods infoMethods for storing different data on different nodeskey based and customhorizontal partitioning (by key range) infoall tables are translated to an ordered KV store and then broken down into 64MB ranges, which are then used as replicas in RAFTnone infoBut extensive use of caching in the application peersShardinghorizontal partitioning
Replication methods infoMethods for redundantly storing data on multiple nodesAsynchronous and synchronous physical replication; geographically distributed replicas; support for object storages.Multi-source replication using RAFTnone infoBut extensive use of caching in the application peersMulti-source replication with 3 replicas for regional instances.yes
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononoyes infousing Google Cloud Dataflowno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyesnoyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACIDACIDACID infoStrict serializable isolationyes
Concurrency infoSupport for concurrent manipulation of datayesyesyesyesyes
Durability infoSupport for making data persistentyesyesyes infousing external storage systems (e.g. Cassandra, DynamoDB, PostgreSQL, Couchbase and others)yesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesnoyes inforecommended only for testing and developmentnoyes
User concepts infoAccess controlAccess rights for users and roles. Column and row based policies. Quotas and resource limits. Pluggable authentication with LDAP and Kerberos. Password based, X.509 certificate, and SSH key authentication.Role-based access controlnoAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)no

More information provided by the system vendor

We invite representatives of system vendors to contact us for updating and extending the system information,
and for displaying vendor-provided information such as key customers, competitive advantages and market metrics.

Related products and services
3rd partiesAiven for Clickhouse: Managed cloud data warehousing with high-speed analytics.
» more

DoubleCloud: Fully managed ClickHouse alongside best-in-class managed open-source services to build analytics at scale.
» more
Speedb: A high performance RocksDB-compliant key-value store optimized for write-intensive workloads.
» more

We invite representatives of vendors of related products to contact us for presenting information about their offerings here.

More resources
ClickHouseCockroachDBDatomicGoogle Cloud SpannerRocksDB
Recent citations in the news

Why Clickhouse Should Be Your Next Database
6 July 2023, The New Stack

ClickHouse Cloud & Amazon S3 Express One Zone: Making a blazing fast analytical database even faster | Amazon ...
28 November 2023, AWS Blog

A 1000x Faster Database Solution: ClickHouse’s Aaron Katz
1 November 2023, GrowthCap

ClickHouse Announces Launch of ClickPipes
26 September 2023, Datanami

From Open Source to SaaS: the Journey of ClickHouse
16 January 2024, InfoQ.com

provided by Google News

Cockroach Labs Deepens Partnership with Google Cloud, CockroachDB Selected to Join Google Distributed Cloud
9 April 2024, PR Newswire

DoorDash Uses CockroachDB to Create Config Management Platform for Microservices
14 February 2024, InfoQ.com

How to Unlock Real-Time Data Streams with CockroachDB and Amazon MSK | Amazon Web Services
6 November 2023, AWS Blog

CockroachDB tempts legacy databases to crawl into the cloud age
29 January 2024, The Register

How DoorDash Migrated from Aurora Postgres to CockroachDB
5 December 2023, The New Stack

provided by Google News

Stanchion Turns SQLite Into A Column Store
15 February 2024, iProgrammer

Nubank buys firm behind Clojure programming language
28 July 2020, Finextra

Zoona Case Study
16 December 2017, AWS Blog

Architecting Software for Leverage
13 November 2021, InfoQ.com

TerminusDB Takes on Data Collaboration with a git-Like Approach
1 December 2020, The New Stack

provided by Google News

Google Improves Cloud Spanner: More Compute and Storage without Price Increase
14 October 2023, InfoQ.com

Google makes its Cloud Spanner database service faster and more cost-efficient
11 October 2023, SiliconANGLE News

Google turns up the heat on AWS, claims Cloud Spanner is half the cost of DynamoDB
11 October 2023, TechCrunch

Google Spanner: When Do You Need to Move to It?
11 September 2023, hackernoon.com

More AI Added to Google Cloud's Databases
28 February 2024, Datanami

provided by Google News

Did Rockset Just Solve Real-Time Analytics?
25 August 2021, Datanami

Meta’s Velox Means Database Performance Is Not Subject To Interpretation
31 August 2022, The Next Platform

Linux 6.9 Drives AMD 4th Gen EPYC Performance Even Higher For Some Workloads
29 March 2024, Phoronix

Facebook's MyRocks Truly Rocks!
21 September 2020, Open Source For You

The Journey to a Million Ops / Sec / Node in Venice
16 March 2024, InfoQ.com

provided by Google News



Share this page

Featured Products

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

Datastax Astra logo

Bring all your data to Generative AI applications with vector search enabled by the most scalable
vector database available.
Try for Free

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

Present your product here