DB-EnginesextremeDB - solve IoT connectivity disruptionsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > Apache Druid vs. CockroachDB vs. Elasticsearch vs. RocksDB vs. SingleStore

System Properties Comparison Apache Druid vs. CockroachDB vs. Elasticsearch vs. RocksDB vs. SingleStore

Editorial information provided by DB-Engines
NameApache Druid  Xexclude from comparisonCockroachDB  Xexclude from comparisonElasticsearch  Xexclude from comparisonRocksDB  Xexclude from comparisonSingleStore infoformer name was MemSQL  Xexclude from comparison
DescriptionOpen-source analytics data store designed for sub-second OLAP queries on high dimensionality and high cardinality dataCockroachDB 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 metricEmbeddable persistent key-value store optimized for fast storage (flash and RAM)MySQL 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 DBMS
Time Series DBMS
Relational DBMSSearch engineKey-value storeRelational DBMS
Secondary database modelsDocument store
Spatial DBMS
Vector DBMS
Document store
Spatial DBMS
Time Series DBMS
Vector DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score2.85
Rank#96  Overall
#50  Relational DBMS
#6  Time Series DBMS
Score4.74
Rank#67  Overall
#36  Relational DBMS
Score128.79
Rank#8  Overall
#1  Search engines
Score2.84
Rank#97  Overall
#16  Key-value stores
Score4.02
Rank#74  Overall
#39  Relational DBMS
Websitedruid.apache.orgwww.cockroachlabs.comwww.elastic.co/­elasticsearchrocksdb.orgwww.singlestore.com
Technical documentationdruid.apache.org/­docs/­latest/­designwww.cockroachlabs.com/­docswww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmlgithub.com/­facebook/­rocksdb/­wikidocs.singlestore.com
DeveloperApache Software Foundation and contributorsCockroach LabsElasticFacebook, Inc.SingleStore Inc.
Initial release20122015201020132013
Current release30.0.0, June 202424.1.0, May 20248.6, January 20239.4.0, June 20248.5, January 2024
License infoCommercial or Open SourceOpen Source infoApache license v2Open Source infoApache 2.0, commercial license availableOpen Source infoElastic LicenseOpen Source infoBSDcommercial infofree developer edition available
Cloud-based only infoOnly available as a cloud servicenonononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageJavaGoJavaC++C++, Go
Server operating systemsLinux
OS X
Unix
Linux
macOS
Windows
All OS with a Java VMLinuxLinux info64 bit version required
Data schemeyes infoschema-less columns are supporteddynamic schemaschema-free infoFlexible type definitions. Once a type is defined, it is persistentschema-freeyes
Typing infopredefined data types such as float or dateyesyesyesnoyes
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 indexesyesyesyes infoAll search fields are automatically indexednoyes
SQL infoSupport of SQLSQL for queryingyes, wire compatible with PostgreSQLSQL-like query languagenoyes infobut no triggers and foreign keys
APIs and other access methodsJDBC
RESTful HTTP/JSON API
JDBCJava API
RESTful HTTP/JSON API
C++ API
Java API
Cluster Management API infoas HTTP Rest and CLI
HTTP API
JDBC
MongoDB API
ODBC
Supported programming languagesClojure
JavaScript
PHP
Python
R
Ruby
Scala
C#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
.Net
Groovy
Community Contributed Clients
Java
JavaScript
Perl
PHP
Python
Ruby
C
C++
Go
Java
Perl
Python
Ruby
Bash
C
C#
Java
JavaScript (Node.js)
Python
Server-side scripts infoStored proceduresnonoyesnoyes
Triggersnonoyes infoby using the 'percolation' featureno
Partitioning methods infoMethods for storing different data on different nodesSharding infomanual/auto, time-basedhorizontal 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 RAFTShardinghorizontal partitioningSharding infohash partitioning
Replication methods infoMethods for redundantly storing data on multiple nodesyes, via HDFS, S3 or other storage enginesMulti-source replication using RAFTyesyesSource-replica replication infostores two copies of each physical data partition on two separate nodes
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoES-Hadoop Connectornono infocan define user-defined aggregate functions for map-reduce-style calculations
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyEventual Consistency infoSynchronous doc based replication. Get by ID may show delays up to 1 sec. Configurable write consistency: one, quorum, allImmediate Consistency
Foreign keys infoReferential integritynoyesnonono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACIDnoyesACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyesyes, multi-version concurrency control (MVCC)
Durability infoSupport for making data persistentyesyesyesyesyes 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.nonoMemcached and Redis integrationyesyes
User concepts infoAccess controlRBAC using LDAP or Druid internals for users and groups for read/write by datasource and systemRole-based access controlnoFine grained access control via users, groups 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
Apache DruidCockroachDBElasticsearchRocksDBSingleStore infoformer name was MemSQL
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

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

Recent citations in the news

Imply Announces the Availability of Imply Polaris, a Database-as-a-Service Built from Apache Druid, on Microsoft Azure
26 June 2024, businesswire.com

'Lucifer' Botnet Turns Up the Heat on Apache Hadoop Servers
21 February 2024, Dark Reading

New DDoS malware Attacking Apache big-data stack, Hadoop, & Druid Servers
26 February 2024, GBHackers

Apache® Druid Wins Best Big Data Product in the 2023 BigDATAwire Readers’ Choice Awards
26 January 2024, businesswire.com

Apache Druid Takes Its Place In The Pantheon Of Databases
16 June 2022, The Next Platform

provided by Google News

Cockroach Labs shakes up its licensing to force bigger companies to pay
15 August 2024, TechCrunch

CockroachDB scuttles away from open source Core offering
19 August 2024, The Register

CockroachDB retires self-hosted Core offering, makes Enterprise version free for companies under $10M in annual revenue
15 August 2024, SDTimes.com

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

provided by Google News

Elasticsearch will be open source again as CTO declares changed landscape
2 September 2024, DevClass

Unsecured Elasticsearch cluster exposes over 3M vehicle records
18 September 2024, SC Media

The Elasticsearch cloud now subject to open-source licence
3 September 2024, TechHQ

Elasticsearch Open Inference API Extends Support for Hugging Face Models with Semantic Text
12 September 2024, Yahoo Finance

Elastic Announces Open Source License for Elasticsearch and Kibana Source Code
29 August 2024, Business Wire

provided by Google News

AMD EPYC vs. Intel Xeon Cascadelake With Facebook's RocksDB Database
17 October 2019, Phoronix

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

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

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

Power your Kafka Streams application with Amazon MSK and AWS Fargate
10 August 2021, AWS Blog

provided by Google News

SingleStore Partners With Snowflake to Help Users Build Faster, More Efficient Real Time AI Applications
19 September 2024, Business Wire

Third time was the charm for SingleStore in the cloud, CEO says
8 July 2024, The Register

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

Achieve near real-time analytics on Amazon DynamoDB with SingleStore
16 September 2024, AWS Blog

Building a Modern Database: Nikita Shamgunov on Postgres and Beyond
18 April 2024, Madrona Venture Group

provided by Google News



Share this page

Featured Products

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.

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

RaimaDB logo

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

Present your product here