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. Elasticsearch vs. eXtremeDB vs. PostgreSQL

System Properties Comparison CockroachDB vs. Elasticsearch vs. eXtremeDB vs. PostgreSQL

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonElasticsearch  Xexclude from comparisoneXtremeDB  Xexclude from comparisonPostgreSQL  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 metricNatively in-memory DBMS with options for persistency, high-availability and clusteringWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQL
Primary database modelRelational DBMSSearch engineRelational DBMS
Time Series DBMS
Relational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.
Secondary database modelsDocument store
Spatial DBMS
Vector DBMS
Document store
Graph DBMS infowith Apache Age
Spatial DBMS
Vector DBMS infowith pgvector extension
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
Score0.80
Rank#214  Overall
#99  Relational DBMS
#18  Time Series DBMS
Score636.25
Rank#4  Overall
#4  Relational DBMS
Websitewww.cockroachlabs.comwww.elastic.co/­elasticsearchwww.mcobject.comwww.postgresql.org
Technical documentationwww.cockroachlabs.com/­docswww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmlwww.mcobject.com/­docs/­extremedb.htmwww.postgresql.org/­docs
DeveloperCockroach LabsElasticMcObjectPostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release2015201020011989 info1989: Postgres, 1996: PostgreSQL
Current release24.1.0, May 20248.6, January 20238.2, 202116.3, May 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoElastic LicensecommercialOpen Source infoBSD
Cloud-based only infoOnly available as a cloud servicenononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
  • PostgreSQL Flex @ STACKIT offers managed PostgreSQL Instances with adjustable CPU, RAM, storage amount and speed and several extensions available, in enterprise grade to perfectly match all application requirements. All 100% GDPR-compliant.
  • Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
Implementation languageGoJavaC and C++C
Server operating systemsLinux
macOS
Windows
All OS with a Java VMAIX
HP-UX
Linux
macOS
Solaris
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemedynamic schemaschema-free infoFlexible type definitions. Once a type is defined, it is persistentyesyes
Typing infopredefined data types such as float or dateyesyesyesyes
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.nonono infosupport of XML interfaces availableyes infospecific XML-type available, but no XML query functionality.
Secondary indexesyesyes infoAll search fields are automatically indexedyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLSQL-like query languageyes infowith the option: eXtremeSQLyes infostandard with numerous extensions
APIs and other access methodsJDBCJava API
RESTful HTTP/JSON API
.NET Client API
JDBC
JNI
ODBC
Proprietary protocol
RESTful HTTP API
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
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
.Net
C
C#
C++
Java
Lua
Python
Scala
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Server-side scripts infoStored proceduresnoyesyesuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.
Triggersnoyes infoby using the 'percolation' featureyes infoby defining eventsyes
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 RAFTShardinghorizontal partitioning / shardingpartitioning by range, list and (since PostgreSQL 11) by hash
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTyesActive Replication Fabric™ for IoT
Multi-source replication infoby means of eXtremeDB Cluster option
Source-replica replication infoby means of eXtremeDB High Availability option
Source-replica replication infoother methods possible by using 3rd party extensions
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoES-Hadoop Connectornono
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 ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesnoyesyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDnoACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes infoOptimistic (MVCC) and pessimistic (locking) strategies availableyes
Durability infoSupport for making data persistentyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noMemcached and Redis integrationyesno
User concepts infoAccess controlRole-based access controlfine grained access rights according to SQL-standard
More information provided by the system vendor
CockroachDBElasticsearcheXtremeDBPostgreSQL
Specific characteristicseXtremeDB is an in-memory and/or persistent database system that offers an ultra-small...
» more
Competitive advantageseXtremeDB databases can be modeled relationally or as objects and can utilize SQL...
» more
Typical application scenariosIoT application across all markets: Industrial Control, Netcom, Telecom, Defense,...
» more
Key customersSchneider Electronics, F5 Networks, TNS, Boeing, Northrop Grumman, GoPro, ViaSat,...
» more
Market metricsWith hundreds of customers and over 30 million devices/applications using the product...
» more
Licensing and pricing modelsFor server use cases, there is a simple per-server license irrespective of the number...
» 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 partiesCYBERTEC is your professional partner in PostgreSQL topics for over 20 years. As our main aim is to be your single-source all-in-one IT service provider, we offer a wide range of products and services. Visit our website for more details.
» more

Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
» more

Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» more

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for PostgreSQL and many other database management systems.
» more

Redgate webinars: A series of key topics for new PostgreSQL users.
» more

SharePlex is the reliable and affordable data replication solution for PostgreSQL migrations, high availability and more.
» more

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

Fujitsu Enterprise Postgres: An Enterprise Grade PostgreSQL with the flexibility of a hybrid cloud solution combined with industry leading security, availability and performance.
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

Timescale: Calling all PostgreSQL users – the 2023 State of PostgreSQL survey is now open! Share your favorite extensions, preferred frameworks, community experiences, and more. Take the survey today!
» more

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

More resources
CockroachDBElasticsearcheXtremeDBPostgreSQL
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

PostgreSQL is the DBMS of the Year 2023
2 January 2024, Matthias Gelbmann, Paul Andlinger

Snowflake is the DBMS of the Year 2022, defending the title from last year
3 January 2023, Matthias Gelbmann, Paul Andlinger

Snowflake is the DBMS of the Year 2021
3 January 2022, Paul Andlinger, Matthias Gelbmann

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

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

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

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

provided by Google News

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

Elasticsearch Delivers Performance Increase for Users Running the Elastic Search AI Platform on Arm-based ...
21 May 2024, Business Wire

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

ElasticSearch Goes Deep on OpenTelemetry with eBPF Donation
13 March 2024, The New Stack

provided by Google News

McObject Delivers eXtremeDB 8.4 Improving Performance, Security, and Developer Productivity
13 May 2024, Embedded Computing Design

Latest embedded DBMS supports asymmetric multiprocessing systems
24 May 2023, Embedded

McObject & IBM Set New Records for Speed & Stability in STAC-M3 Benchmark for Capital Markets
3 November 2015, Yahoo Lifestyle UK

The Data in Hard Real-time SCADA Systems Lets Companies Do More with Less
11 August 2023, Automation.com

McObject’s new eXtremeDB Cluster provides distributed database solution for real-time apps
20 July 2011, Embedded

provided by Google News

How to implement a better like, views, comment counters in PostgreSQL?
28 May 2024, SitePoint

Automatically Generate Types for Your PostgreSQL Database
1 May 2024, The New Stack

First Principles: Optimizing PostgreSQL for the cloud
14 November 2023, blogs.oracle.com

Oracle Introduces PostgreSQL Running Native on OCI
17 December 2023, IDC

General availability: Microsoft Entra ID integration with Azure Cosmos DB for PostgreSQL | Azure updates
13 March 2024, Microsoft

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

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online 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