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. Google Cloud Spanner vs. MongoDB vs. Riak KV vs. SingleStore

System Properties Comparison ClickHouse vs. Google Cloud Spanner vs. MongoDB vs. Riak KV vs. SingleStore

Editorial information provided by DB-Engines
NameClickHouse  Xexclude from comparisonGoogle Cloud Spanner  Xexclude from comparisonMongoDB  Xexclude from comparisonRiak KV  Xexclude from comparisonSingleStore infoformer name was MemSQL  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.A 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.One of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructureDistributed, fault tolerant key-value storeMySQL wire-compliant distributed RDBMS that combines an in-memory row-oriented and a disc-based column-oriented storage with patented universal storage to handle transactional and analytical workloads in one single table type
Primary database modelRelational DBMSRelational DBMSDocument storeKey-value store infowith links between data sets and object tags for the creation of secondary indexesRelational DBMS
Secondary database modelsTime Series DBMSSpatial DBMS
Search engine infointegrated Lucene index, currently in MongoDB Atlas only.
Time Series DBMS infoTime Series Collections introduced in Release 5.0
Vector DBMS infocurrently available in the MongoDB Atlas cloud service only
Document store
Spatial DBMS
Time Series DBMS
Vector DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score16.20
Rank#37  Overall
#23  Relational DBMS
Score2.89
Rank#105  Overall
#53  Relational DBMS
Score423.96
Rank#5  Overall
#1  Document stores
Score4.44
Rank#80  Overall
#9  Key-value stores
Score5.91
Rank#61  Overall
#34  Relational DBMS
Websiteclickhouse.comcloud.google.com/­spannerwww.mongodb.comwww.singlestore.com
Technical documentationclickhouse.com/­docscloud.google.com/­spanner/­docswww.mongodb.com/­docs/­manualwww.tiot.jp/­riak-docs/­riak/­kv/­latestdocs.singlestore.com
DeveloperClickhouse Inc.GoogleMongoDB, IncOpenSource, formerly Basho TechnologiesSingleStore Inc.
Initial release20162017200920092013
Current releasev23.12.1.1368-stable, December 20236.0.7, June 20233.2.0, December 20228.5, January 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0commercialOpen Source infoMongoDB Inc.'s Server Side Public License v1. Prior versions were published under GNU AGPL v3.0. Commercial licenses are also available.Open Source infoApache version 2, commercial enterprise editioncommercial infofree developer edition available
Cloud-based only infoOnly available as a cloud servicenoyesno infoMongoDB available as DBaaS (MongoDB Atlas)nono
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.
  • DoubleCloud: Fully managed ClickHouse alongside best-in-class managed open-source services to build analytics at scale.
  • Aiven for Clickhouse: Managed cloud data warehousing with high-speed analytics.
MongoDB Atlas: Global multi-cloud database with unmatched data distribution and mobility across AWS, Azure, and Google Cloud, built-in automation for resource and workload optimization, and so much more.SingleStoreDB Cloud: The world's fastest, modern cloud database for both operational (OLTP) and analytical (OLAP) workloads. Available instantly with multi-cloud and hybrid-cloud capabilities
Implementation languageC++C++ErlangC++, Go
Server operating systemsFreeBSD
Linux
macOS
hostedLinux
OS X
Solaris
Windows
Linux
OS X
Linux info64 bit version required
Data schemeyesyesschema-free infoAlthough schema-free, documents of the same collection often follow the same structure. Optionally impose all or part of a schema by defining a JSON schema.schema-freeyes
Typing infopredefined data types such as float or dateyesyesyes infostring, integer, double, decimal, boolean, date, object_id, geospatialnoyes
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.nononono
Secondary indexesyesyesyesrestrictedyes
SQL infoSupport of SQLClose to ANSI SQL (SQL/JSON + extensions)yes infoQuery statements complying to ANSI 2011Read-only SQL queries via the MongoDB Atlas SQL Interfacenoyes infobut no triggers and foreign keys
APIs and other access methodsgRPC
HTTP REST
JDBC
MySQL wire protocol
ODBC
PostgreSQL wire protocol
Proprietary protocol
gRPC (using protocol buffers) API
JDBC infoAt present, JDBC supports read-only queries. No support for DDL or DML statements.
RESTful HTTP API
GraphQL
HTTP REST
Prisma
proprietary protocol using JSON
HTTP API
Native Erlang Interface
Cluster Management API infoas HTTP Rest and CLI
HTTP API
JDBC
MongoDB API
ODBC
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
Go
Java
JavaScript (Node.js)
Python
Actionscript infounofficial driver
C
C#
C++
Clojure infounofficial driver
ColdFusion infounofficial driver
D infounofficial driver
Dart infounofficial driver
Delphi infounofficial driver
Erlang
Go
Groovy infounofficial driver
Haskell
Java
JavaScript
Kotlin
Lisp infounofficial driver
Lua infounofficial driver
MatLab infounofficial driver
Perl
PHP
PowerShell infounofficial driver
Prolog infounofficial driver
Python
R infounofficial driver
Ruby
Rust
Scala
Smalltalk infounofficial driver
Swift
C infounofficial client library
C#
C++ infounofficial client library
Clojure infounofficial client library
Dart infounofficial client library
Erlang
Go infounofficial client library
Groovy infounofficial client library
Haskell infounofficial client library
Java
JavaScript infounofficial client library
Lisp infounofficial client library
Perl infounofficial client library
PHP
Python
Ruby
Scala infounofficial client library
Smalltalk infounofficial client library
Bash
C
C#
Java
JavaScript (Node.js)
Python
Server-side scripts infoStored proceduresyesnoJavaScriptErlangyes
Triggersnonoyes infoin MongoDB Atlas onlyyes infopre-commit hooks and post-commit hooksno
Partitioning methods infoMethods for storing different data on different nodeskey based and customShardingSharding infoPartitioned by hashed, ranged, or zoned sharding keys. Live resharding allows users to change their shard keys as an online operation with zero downtime.Sharding infono "single point of failure"Sharding infohash 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 with 3 replicas for regional instances.Multi-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
selectable replication factorSource-replica replication infostores two copies of each physical data partition on two separate nodes
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyes infousing Google Cloud Dataflowyesyesno infocan define user-defined aggregate functions for map-reduce-style calculations
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyEventual Consistency infocan be individually decided for each read operation
Immediate Consistency infodefault behaviour
Eventual ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityno infotypically not used, however similar functionality with DBRef possibleno infolinks between data sets can be storedno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACID infoStrict serializable isolationMulti-document ACID Transactions with snapshot isolationnoACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyesyes, multi-version concurrency control (MVCC)
Durability infoSupport for making data persistentyesyesyes infooptional, enabled by defaultyesyes infoAll updates are persistent, including those to disk-based columnstores and memory-based row stores. Transaction commits are supported via write-ahead log.
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesnoyes infoIn-memory storage engine introduced with MongoDB version 3.2yes
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.Access rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)Access rights for users and rolesyes, using Riak SecurityFine grained access control via users, groups and roles
More information provided by the system vendor
ClickHouseGoogle Cloud SpannerMongoDBRiak KVSingleStore infoformer name was MemSQL
Specific characteristicsMongoDB provides an integrated suite of cloud database and data services to accelerate...
» more
SingleStore offers a fully-managed , distributed, highly-scalable SQL database designed...
» more
Competitive advantagesBuilt around the flexible document data model and unified API, MongoDB is a developer...
» more
SingleStore’s competitive advantages include: Easy and Simplified Architecture with...
» more
Typical application scenariosAI-enriched intelligent apps (Continental, Telefonica, Iron Mountain) Internet of...
» more
Driving Fast Analytics: SingleStore delivers the fastest and most scalable reporting...
» more
Key customersADP, Adobe, Amadeus, AstraZeneca, Auto Trader, Barclays, BBVA, Bosch, Cisco, CERN,...
» more
IEX Cloud : Improves Financial Data Distribution Speed 15x with Singlestore DB Comcast,...
» more
Market metricsHundreds of millions downloads, over 150,000+ Atlas clusters provisioned every month...
» more
Customers in various industries worldwide including US and International Industry...
» more
Licensing and pricing modelsMongoDB database server: Server-Side Public License (SSPL) . Commercial licenses...
» more
F ree Tier and Enterprise Edition
» more

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
Navicat for MongoDB gives you a highly effective GUI interface for MongoDB database management, administration and development.
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» more

Studio 3T: The world's favorite IDE for working with MongoDB
» more

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

More resources
ClickHouseGoogle Cloud SpannerMongoDBRiak KVSingleStore infoformer name was MemSQL
DB-Engines blog posts

Snowflake is the DBMS of the Year 2021
3 January 2022, Paul Andlinger, Matthias Gelbmann

PostgreSQL is the DBMS of the Year 2020
4 January 2021, Paul Andlinger, Matthias Gelbmann

PostgreSQL is the DBMS of the Year 2018
2 January 2019, Paul Andlinger, Matthias Gelbmann

show all

Turbocharge Your Application Development Using WebAssembly With SingleStoreDB
17 October 2022,  Akmal Chaudhri, SingleStore (sponsor) 

Cloud-Based Analytics With SingleStoreDB
9 June 2022,  Akmal Chaudhri, SingleStore (sponsor) 

SingleStore: The Increasing Momentum of Multi-Model Database Systems
14 February 2022,  Akmal Chaudhri, SingleStore (sponsor) 

show all

Conferences, events and webinars

Intro to MongoDB
Webinar, 11am ET, 1 May 2024

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

TikTok Parent Open Sources Real-Time Data Warehouse
5 July 2023, Datanami

Can LLMs Replace Data Analysts? Getting Answers Using SQL
22 December 2023, Towards Data Science

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

Google Cloud Spanner competes directly with Amazon DynamoDB
12 October 2023, Techzine Europe

provided by Google News

$100 Invested In MongoDB 5 Years Ago Would Be Worth This Much Today
17 April 2024, Investing.com UK

'Initial Wave Of AI Software Growth' To Spur Microsoft, Salesforce, Palantir, MongoDB, Oracle, Snowflake,
15 April 2024, Benzinga

Proper SQL comes to MongoDB applications .. with the Oracle Database!
2 April 2024, blogs.oracle.com

MongoDB, Inc. (NASDAQ:MDB) Stake Raised by Bleakley Financial Group LLC
15 April 2024, Defense World

Why MongoDB Stock Tumbled 19.9% in March
4 April 2024, The Motley Fool

provided by Google News

Basho, Maker of Riak NoSQL Database, Raises $25M
13 January 2015, Data Center Knowledge

Riak NoSQL Database: Use Cases and Best Practices
23 December 2011, InfoQ.com

Basho Revamps Riak Open-Source Database
17 September 2014, InformationWeek

Riak NoSQL snapped up by Bet365
12 September 2017, ComputerWeekly.com

Riak Taps Mesos for 'Push Button' NoSQL Scalability
20 August 2015, Datanami

provided by Google News

SingleStore CEO sees little future for purpose-built vector databases
24 January 2024, VentureBeat

SingleStore adds indexed vector search to Pro Max release for faster AI work – Blocks and Files
29 January 2024, Blocks & Files

SingleStore Accelerates Go-to-Market Strategy with AWS
5 March 2024, Business Wire

New AI features for developers in SingleStoreDB
29 January 2024, InfoWorld

Announcing watsonx.ai and SingleStore for generative AI applications
15 November 2023, ibm.com

provided by Google News



Share this page

Featured Products

AllegroGraph logo

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

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus 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

Neo4j logo

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

Ontotext logo

GraphDB allows you to link diverse data, index it for semantic search and enrich it via text analysis to build big knowledge graphs. Get it free.

Present your product here