DB-EnginesExtremeDB: mitigate connectivity issues in a DBMSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > CockroachDB vs. Elasticsearch vs. Google Cloud Spanner vs. Heroic vs. Percona Server for MongoDB

System Properties Comparison CockroachDB vs. Elasticsearch vs. Google Cloud Spanner vs. Heroic vs. Percona Server for MongoDB

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonElasticsearch  Xexclude from comparisonGoogle Cloud Spanner  Xexclude from comparisonHeroic  Xexclude from comparisonPercona Server for MongoDB  Xexclude from comparison
DescriptionCockroachDB 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.A distributed, RESTful modern search and analytics engine based on Apache Lucene infoElasticsearch lets you perform and combine many types of searches such as structured, unstructured, geo, and metricA 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.Time Series DBMS built at Spotify based on Cassandra or Google Cloud Bigtable, and ElasticSearchA drop-in replacement for MongoDB Community Edition with enterprise-grade features.
Primary database modelRelational DBMSSearch engineRelational DBMSTime Series DBMSDocument store
Secondary database modelsDocument store
Spatial DBMS
Vector DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score5.73
Rank#58  Overall
#34  Relational DBMS
Score132.83
Rank#7  Overall
#1  Search engines
Score2.84
Rank#100  Overall
#51  Relational DBMS
Score0.46
Rank#265  Overall
#22  Time Series DBMS
Score0.60
Rank#246  Overall
#39  Document stores
Websitewww.cockroachlabs.comwww.elastic.co/­elasticsearchcloud.google.com/­spannergithub.com/­spotify/­heroicwww.percona.com/­mongodb/­software/­percona-server-for-mongodb
Technical documentationwww.cockroachlabs.com/­docswww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmlcloud.google.com/­spanner/­docsspotify.github.io/­heroicdocs.percona.com/­percona-distribution-for-mongodb
DeveloperCockroach LabsElasticGoogleSpotifyPercona
Initial release20152010201720142015
Current release24.1.0, May 20248.6, January 20233.4.10-2.10, November 2017
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoElastic LicensecommercialOpen Source infoApache 2.0Open Source infoGPL Version 2
Cloud-based only infoOnly available as a cloud servicenonoyesnono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageGoJavaJavaC++
Server operating systemsLinux
macOS
Windows
All OS with a Java VMhostedLinux
Data schemedynamic schemaschema-free infoFlexible type definitions. Once a type is defined, it is persistentyesschema-freeschema-free
Typing infopredefined data types such as float or dateyesyesyesyesyes
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 indexesyesyes infoAll search fields are automatically indexedyesyes infovia Elasticsearchyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLSQL-like query languageyes infoQuery statements complying to ANSI 2011nono
APIs and other access methodsJDBCJava API
RESTful HTTP/JSON API
gRPC (using protocol buffers) API
JDBC infoAt present, JDBC supports read-only queries. No support for DDL or DML statements.
RESTful HTTP API
HQL (Heroic Query Language, a JSON-based language)
HTTP API
proprietary protocol using JSON
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
.Net
Groovy
Community Contributed Clients
Java
JavaScript
Perl
PHP
Python
Ruby
Go
Java
JavaScript (Node.js)
Python
Actionscript
C
C#
C++
Clojure
ColdFusion
D
Dart
Delphi
Erlang
Go
Groovy
Haskell
Java
JavaScript
Lisp
Lua
MatLab
Perl
PHP
PowerShell
Prolog
Python
R
Ruby
Scala
Smalltalk
Server-side scripts infoStored proceduresnoyesnonoJavaScript
Triggersnoyes infoby using the 'percolation' featurenonono
Partitioning methods infoMethods for storing different data on different nodeshorizontal 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 RAFTShardingShardingShardingSharding
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTyesMulti-source replication with 3 replicas for regional instances.yesSource-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoES-Hadoop Connectoryes infousing Google Cloud Dataflownoyes
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency infoSynchronous doc based replication. Get by ID may show delays up to 1 sec. Configurable write consistency: one, quorum, allImmediate ConsistencyEventual Consistency
Immediate Consistency
Eventual Consistency
Immediate Consistency
Foreign keys infoReferential integrityyesnoyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integritynono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDnoACID infoStrict serializable isolationnono
Concurrency infoSupport for concurrent manipulation of datayesyesyesyesyes
Durability infoSupport for making data persistentyesyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noMemcached and Redis integrationnonoyes infovia In-Memory Engine
User concepts infoAccess controlRole-based access controlAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)Access rights for users and roles

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

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

More resources
CockroachDBElasticsearchGoogle Cloud SpannerHeroicPercona Server for MongoDB
DB-Engines blog posts

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

Elasticsearch moved into the top 10 most popular database management systems
3 July 2017, Matthias Gelbmann

MySQL, PostgreSQL and Redis are the winners of the March ranking
2 March 2016, Paul Andlinger

show all

Recent citations in the news

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

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

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

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

provided by Google News

8 Powerful Alternatives to Elasticsearch
25 April 2024, Yahoo Finance

Splunk vs Elasticsearch | A Comparison and How to Choose
12 January 2024, SentinelOne

Elasticsearch Open Inference API Supports Cohere Rerank 3
11 April 2024, businesswire.com

Introducing Elasticsearch Vector Database to Azure OpenAI Service On Your Data (Preview)
26 March 2024, insider.govtech.com

Netflix Uses Elasticsearch Percolate Queries to Implement Reverse Searches Efficiently
29 April 2024, InfoQ.com

provided by Google News

Google's Cloud Spanner Now Spans Continents … Like It's Supposed to Do
31 May 2024, Data Center Knowledge

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

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

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

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

provided by Google News

There are lots of ways to put a database in the cloud – here's what to consider
15 September 2023, The Register

FerretDB goes GA: Gives you MongoDB, without the MongoDB...
15 May 2023, The Stack

The essential guide to MongoDB security
2 February 2017, InfoWorld

The Case Against the Server Side Public License (SSPL)
11 October 2022, The New Stack

Supercharge your Amazon RDS for MySQL deployment with ProxySQL and Percona Monitoring and Management ...
12 October 2018, AWS Blog

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.

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

Present your product here