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. StarRocks

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

Editorial information provided by DB-Engines
NameApache Druid  Xexclude from comparisonCockroachDB  Xexclude from comparisonElasticsearch  Xexclude from comparisonRocksDB  Xexclude from comparisonStarRocks  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)An open source, high-performance columnar analytical database that enables real-time, multi-dimensional, and highly concurrent data analytics infoForked from Apache Doris
Primary database modelRelational DBMS
Time Series DBMS
Relational DBMSSearch engineKey-value storeRelational DBMS
Secondary database modelsDocument store
Spatial 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
Score0.95
Rank#193  Overall
#89  Relational DBMS
Websitedruid.apache.orgwww.cockroachlabs.comwww.elastic.co/­elasticsearchrocksdb.orgwww.starrocks.io
Technical documentationdruid.apache.org/­docs/­latest/­designwww.cockroachlabs.com/­docswww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmlgithub.com/­facebook/­rocksdb/­wikidocs.starrocks.io/­en-us/­latest/­introduction/­StarRocks_intro
DeveloperApache Software Foundation and contributorsCockroach LabsElasticFacebook, Inc.The Linux Foundation infosince Feb 2023
Initial release20122015201020132020
Current release30.0.0, June 202424.1.0, May 20248.6, January 20239.4.0, June 20243.3, June 2024
License infoCommercial or Open SourceOpen Source infoApache license v2Open Source infoApache 2.0, commercial license availableOpen Source infoElastic LicenseOpen Source infoBSDOpen Source infoApache Version 2.0
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++, Java
Server operating systemsLinux
OS X
Unix
Linux
macOS
Windows
All OS with a Java VMLinuxLinux
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
APIs and other access methodsJDBC
RESTful HTTP/JSON API
JDBCJava API
RESTful HTTP/JSON API
C++ API
Java API
JDBC
MySQL protocol
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
Java
Server-side scripts infoStored proceduresnonoyesnouser defined functions
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 partitioninghorizontal partitioning (by range and hash)
Replication methods infoMethods for redundantly storing data on multiple nodesyes, via HDFS, S3 or other storage enginesMulti-source replication using RAFTyesyes
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoES-Hadoop Connectornono
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 datanoACIDnoyesno
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.nonoMemcached and Redis integrationyesno
User concepts infoAccess controlRBAC using LDAP or Druid internals for users and groups for read/write by datasource and systemRole-based access controlnoRole based access control and fine grained access rights

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 DruidCockroachDBElasticsearchRocksDBStarRocks
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

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

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

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

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

StarRocks analytical DB heads to Linux Foundation
14 February 2023, VentureBeat

StarRocks Announces Incorporation of CelerData
1 September 2022, Datanami

StarRocks launches managed DBaaS for real-time analytics
14 July 2022, InfoWorld

StarRocks’ real-time analytics engine moves to the cloud
14 July 2022, SiliconANGLE News

StarRocks Launches the Industry's Fastest, Cloud Native, Real-time Analytics Engine
14 July 2022, 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.

Milvus logo

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

RaimaDB logo

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

SingleStore logo

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

Present your product here