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. MongoDB vs. Oracle Berkeley DB vs. Riak KV vs. TiDB

System Properties Comparison ClickHouse vs. MongoDB vs. Oracle Berkeley DB vs. Riak KV vs. TiDB

Editorial information provided by DB-Engines
NameClickHouse  Xexclude from comparisonMongoDB  Xexclude from comparisonOracle Berkeley DB  Xexclude from comparisonRiak KV  Xexclude from comparisonTiDB  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.One of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructureWidely used in-process key-value storeDistributed, fault tolerant key-value storeTiDB is an open source distributed SQL database that supports Hybrid Transactional/Analytical Processing (HTAP) workloads. It is MySQL compatible and features horizontal scalability, strong consistency, and high availability.
Primary database modelRelational DBMSDocument storeKey-value store infosupports sorted and unsorted key sets
Native XML DBMS infoin the Oracle Berkeley DB XML version
Key-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
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score16.20
Rank#37  Overall
#23  Relational DBMS
Score423.96
Rank#5  Overall
#1  Document stores
Score2.52
Rank#114  Overall
#20  Key-value stores
#3  Native XML DBMS
Score4.44
Rank#80  Overall
#9  Key-value stores
Score4.94
Rank#72  Overall
#40  Relational DBMS
Websiteclickhouse.comwww.mongodb.comwww.oracle.com/­database/­technologies/­related/­berkeleydb.htmlpingcap.com
Technical documentationclickhouse.com/­docswww.mongodb.com/­docs/­manualdocs.oracle.com/­cd/­E17076_05/­html/­index.htmlwww.tiot.jp/­riak-docs/­riak/­kv/­latestdocs.pingcap.com/­tidb/­stable
DeveloperClickhouse Inc.MongoDB, IncOracle infooriginally developed by Sleepycat, which was acquired by OracleOpenSource, formerly Basho TechnologiesPingCAP, Inc.
Initial release20162009199420092016
Current releasev23.12.1.1368-stable, December 20236.0.7, June 202318.1.40, May 20203.2.0, December 20227.6.0, January 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0Open 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 infocommercial license availableOpen Source infoApache version 2, commercial enterprise editionOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenono infoMongoDB available as DBaaS (MongoDB Atlas)nonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
  • DoubleCloud: Fully managed ClickHouse alongside best-in-class managed open-source services to build analytics at scale.
  • 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.
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.TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageC++C++C, Java, C++ (depending on the Berkeley DB edition)ErlangGo, Rust
Server operating systemsFreeBSD
Linux
macOS
Linux
OS X
Solaris
Windows
AIX
Android
FreeBSD
iOS
Linux
OS X
Solaris
VxWorks
Windows
Linux
OS X
Linux
Data schemeyesschema-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-freeschema-freeyes
Typing infopredefined data types such as float or dateyesyes infostring, integer, double, decimal, boolean, date, object_id, geospatialnonoyes
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.noyes infoonly with the Berkeley DB XML editionnono
Secondary indexesyesyesyesrestrictedyes
SQL infoSupport of SQLClose to ANSI SQL (SQL/JSON + extensions)Read-only SQL queries via the MongoDB Atlas SQL Interfaceyes infoSQL interfaced based on SQLite is availablenoyes
APIs and other access methodsgRPC
HTTP REST
JDBC
MySQL wire protocol
ODBC
PostgreSQL wire protocol
Proprietary protocol
GraphQL
HTTP REST
Prisma
proprietary protocol using JSON
HTTP API
Native Erlang Interface
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
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
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
.Net infoFigaro is a .Net framework assembly that extends Berkeley DB XML into an embeddable database engine for .NET
others infoThird-party libraries to manipulate Berkeley DB files are available for many languages
C
C#
C++
Java
JavaScript (Node.js) info3rd party binding
Perl
Python
Tcl
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
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
Server-side scripts infoStored proceduresyesJavaScriptnoErlangno
Triggersnoyes infoin MongoDB Atlas onlyyes infoonly for the SQL APIyes infopre-commit hooks and post-commit hooksno
Partitioning methods infoMethods for storing different data on different nodeskey based and customSharding infoPartitioned by hashed, ranged, or zoned sharding keys. Live resharding allows users to change their shard keys as an online operation with zero downtime.noneSharding infono "single point of failure"horizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesAsynchronous and synchronous physical replication; geographically distributed replicas; support for object storages.Multi-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
Source-replica replicationselectable replication factorUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyesnoyesyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency infocan be individually decided for each read operation
Immediate Consistency infodefault behaviour
Eventual ConsistencyImmediate Consistency
Foreign keys infoReferential integritynono infotypically not used, however similar functionality with DBRef possiblenono infolinks between data sets can be storedyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoMulti-document ACID Transactions with snapshot isolationACIDnoACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyes infooptional, enabled by defaultyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyes infoIn-memory storage engine introduced with MongoDB version 3.2yesno
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 and rolesnoyes, using Riak SecurityFine grained access rights according to SQL-standard
More information provided by the system vendor
ClickHouseMongoDBOracle Berkeley DBRiak KVTiDB
Specific characteristicsMongoDB provides an integrated suite of cloud database and data services to accelerate...
» more
TiDB is an advanced open-source, distributed SQL database for modern application...
» more
Competitive advantagesBuilt around the flexible document data model and unified API, MongoDB is a developer...
» more
- HORIZONTAL SCALING : TiDB grants total transparency into your data workloads without...
» more
Typical application scenariosAI-enriched intelligent apps (Continental, Telefonica, Iron Mountain) Internet of...
» more
TiDB is ideal for transactional applications that require extreme scalability and...
» more
Key customersADP, Adobe, Amadeus, AstraZeneca, Auto Trader, Barclays, BBVA, Bosch, Cisco, CERN,...
» more
Block, Pinterest, Catalyst, Bolt, Flipkart, Capcom, Shopee (E-commerce), JD Cloud...
» more
Market metricsHundreds of millions downloads, over 150,000+ Atlas clusters provisioned every month...
» more
34K+ GitHub stars 5K+ members in TiDB Community Slack 1K+ community contributors...
» more
Licensing and pricing modelsMongoDB database server: Server-Side Public License (SSPL) . Commercial licenses...
» more
TiDB Community : Free open source software (Apache 2.0) TiDB Self-Hosted : Enterprise...
» 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 partiesDoubleCloud: Fully managed ClickHouse alongside best-in-class managed open-source services to build analytics at scale.
» more

Aiven for Clickhouse: Managed cloud data warehousing with high-speed analytics.
» 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
ClickHouseMongoDBOracle Berkeley DBRiak KVTiDB
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

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

MongoDB, Inc. to Host Investor Session at MongoDB.local NYC 2024
18 April 2024, StreetInsider.com

MongoDB (NASDAQ:MDB) shareholders have earned a 23% CAGR over the last five years
14 April 2024, Yahoo Finance

MongoDB (NASDAQ:MDB) Price Target Cut to $440.00 by Analysts at KeyCorp
18 April 2024, MarketBeat

'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, Oracle

provided by Google News

ACM recognizes far-reaching technical achievements with special awards
26 May 2021, EurekAlert

Database Trends Report: SQL Beats NoSQL, MySQL Most Popular -- ADTmag
5 March 2019, ADT Magazine

A Quick Look at Open Source Databases for Mobile App Development
29 April 2018, Open Source For You

Motorola A780 Linux based smartphone to have mobile database
14 September 2004, Geekzone

Squid 5.1 arrives after three years of development and these are its novelties
14 October 2021, Desde Linux

provided by Google News

Basho Revamps Riak Open-Source Database
22 September 2023, InformationWeek

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

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

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

NoSQL pioneer Basho stamps its mark on time stamp data with Riak TS
6 October 2015, The Register

provided by Google News

How a new database architecture supports scale and reliability in TiDB
11 March 2024, InfoWorld

How PingCAP transformed TiDB into a serverless DBaaS using Amazon S3 and Amazon EBS | Amazon Web Services
14 November 2023, AWS Blog

Google Cloud's C3D Instances Provide Strong Performance Value For PingCAP's TiDB
28 March 2024, Phoronix

PingCAP Launches TiDB 7.5, Enhancing Distributed SQL Database Tech
19 December 2023, Datanami

PingCAP Wins 2024 Data Breakthrough Awards
12 April 2024, GlobeNewswire

provided by Google News



Share this page

Featured Products

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.

AllegroGraph logo

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

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.

Milvus logo

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

Present your product here