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 > CockroachDB vs. Dgraph vs. Elasticsearch vs. GeoSpock vs. TerarkDB

System Properties Comparison CockroachDB vs. Dgraph vs. Elasticsearch vs. GeoSpock vs. TerarkDB

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonDgraph  Xexclude from comparisonElasticsearch  Xexclude from comparisonGeoSpock  Xexclude from comparisonTerarkDB  Xexclude from comparison
GeoSpock seems to be discontinued. Therefore it will be excluded from the DB-Engines ranking.
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.Distributed and scalable native Graph DBMSA 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 metricSpatial and temporal data processing engine for extreme data scaleA key-value store forked from RocksDB with advanced compression algorithms. It can be used standalone or as a storage engine for MySQL and MongoDB
Primary database modelRelational DBMSGraph DBMSSearch engineRelational DBMSKey-value store
Secondary database modelsDocument store
Spatial DBMS
Vector DBMS
Time Series DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score5.73
Rank#58  Overall
#34  Relational DBMS
Score1.53
Rank#152  Overall
#15  Graph DBMS
Score132.83
Rank#7  Overall
#1  Search engines
Score0.08
Rank#367  Overall
#56  Key-value stores
Websitewww.cockroachlabs.comdgraph.iowww.elastic.co/­elasticsearchgeospock.comgithub.com/­bytedance/­terarkdb
Technical documentationwww.cockroachlabs.com/­docsdgraph.io/­docswww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmlbytedance.larkoffice.com/­docs/­doccnZmYFqHBm06BbvYgjsHHcKc
DeveloperCockroach LabsDgraph Labs, Inc.ElasticGeoSpockByteDance, originally Terark
Initial release2015201620102016
Current release24.1.0, May 20248.6, January 20232.0, September 2019
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoApache 2.0Open Source infoElastic Licensecommercialcommercial inforestricted open source version available
Cloud-based only infoOnly available as a cloud servicenononoyesno
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageGoGoJavaJava, JavascriptC++
Server operating systemsLinux
macOS
Windows
Linux
OS X
Windows
All OS with a Java VMhosted
Data schemedynamic schemaschema-freeschema-free infoFlexible type definitions. Once a type is defined, it is persistentyesschema-free
Typing infopredefined data types such as float or dateyesyesyesyesno
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 indexedtemporal, categoricalno
SQL infoSupport of SQLyes, wire compatible with PostgreSQLnoSQL-like query languageANSI SQL for query only (using Presto)no
APIs and other access methodsJDBCGraphQL query language
gRPC (using protocol buffers) API
HTTP API
Java API
RESTful HTTP/JSON API
JDBCC++ API
Java API
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
C#
C++
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
.Net
Groovy
Community Contributed Clients
Java
JavaScript
Perl
PHP
Python
Ruby
C++
Java
Server-side scripts infoStored proceduresnonoyesnono
Triggersnonoyes infoby using the 'percolation' featurenono
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 RAFTyesShardingAutomatic shardingnone
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTSynchronous replication via Raftyesnone
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 integrityyesnononono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDnonono
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 integrationnoyes
User concepts infoAccess controlRole-based access controlno infoPlanned for future releasesAccess rights for users can be defined per tableno

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

How DoorDash Migrated from Aurora Postgres to CockroachDB
5 December 2023, The New Stack

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

CockroachDB tempts legacy databases to crawl into the cloud age
29 January 2024, The Register

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

provided by Google News

Dgraph on AWS: Setting up a horizontally scalable graph database | Amazon Web Services
1 September 2020, AWS Blog

Popular Open Source GraphQL Company Dgraph Secures $6M in Seed Round with New Leadership
20 July 2022, PR Newswire

Dgraph launches Slash GraphQL, a GraphQL-native database Backend-as-a-Service
10 September 2020, TechCrunch

Dgraph Raises $6M in Seed Funding
20 July 2022, FinSMEs

Dgraph raises $11.5 million for scalable graph database solutions
31 July 2019, VentureBeat

provided by Google News

Apache Doris for Log and Time Series Data Analysis in NetEase: Why Not Elasticsearch and InfluxDB?
5 June 2024, hackernoon.com

8 Powerful Alternatives to Elasticsearch
25 April 2024, Yahoo Finance

AI security challenges in generative AI adoption
4 June 2024, SiliconANGLE News

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

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

provided by Google News

How GeoSpock is supercharging geospatial analytics
23 February 2021, ComputerWeekly.com

nChain leads investment round in extreme-scale data firm GeoSpock
2 October 2020, CoinGeek

Smart Cities, Autonomous Vehicles, Artificial General Intelligence Robotics: Q&A with Steve Marsh, GeoSpock
16 May 2018, ExchangeWire

GeoSpock’s extreme-scale data mission in $5.4m funding boost
8 October 2020, Cambridge Independent

UK-based database GeoSpock bags $5.4m, to expand into
6 October 2020, Tech in Asia

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

Present your product here