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

DBMS > Elasticsearch vs. PostgreSQL vs. RavenDB vs. SurrealDB

System Properties Comparison Elasticsearch vs. PostgreSQL vs. RavenDB vs. SurrealDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameElasticsearch  Xexclude from comparisonPostgreSQL  Xexclude from comparisonRavenDB  Xexclude from comparisonSurrealDB  Xexclude from comparison
DescriptionA 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 metricWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLOpen Source Operational and Transactional Enterprise NoSQL Document DatabaseA fully ACID transactional, developer-friendly, multi-model DBMS
Primary database modelSearch engineRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.Document storeDocument store
Graph DBMS
Secondary database modelsDocument store
Spatial DBMS
Vector DBMS
Document store
Graph DBMS infowith Apache Age
Spatial DBMS
Vector DBMS infowith pgvector extension
Graph DBMS
Spatial DBMS
Time Series DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score128.79
Rank#8  Overall
#1  Search engines
Score644.36
Rank#4  Overall
#4  Relational DBMS
Score2.68
Rank#102  Overall
#19  Document stores
Score1.11
Rank#174  Overall
#30  Document stores
#17  Graph DBMS
Websitewww.elastic.co/­elasticsearchwww.postgresql.orgravendb.netsurrealdb.com
Technical documentationwww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmlwww.postgresql.org/­docsravendb.net/­docssurrealdb.com/­docs
DeveloperElasticPostgreSQL Global Development Group infowww.postgresql.org/­developerHibernating RhinosSurrealDB Ltd
Initial release20101989 info1989: Postgres, 1996: PostgreSQL20102022
Current release8.6, January 202316.4, August 20245.4, July 2022v1.5.0, May 2024
License infoCommercial or Open SourceOpen Source infoElastic LicenseOpen Source infoBSDOpen Source infoAGPL version 3, commercial license availableOpen Source
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.
Implementation languageJavaCC#Rust
Server operating systemsAll OS with a Java VMFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux
macOS
Raspberry Pi
Windows
Linux
macOS
Windows
Data schemeschema-free infoFlexible type definitions. Once a type is defined, it is persistentyesschema-freeschema-free
Typing infopredefined data types such as float or dateyesyesnoyes
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.noyes infospecific XML-type available, but no XML query functionality.
Secondary indexesyes infoAll search fields are automatically indexedyesyes
SQL infoSupport of SQLSQL-like query languageyes infostandard with numerous extensionsSQL-like query language (RQL)SQL-like query language
APIs and other access methodsJava API
RESTful HTTP/JSON API
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
.NET Client API
F# Client API
Go Client API
Java Client API
NodeJS Client API
PHP Client API
Python Client API
RESTful HTTP API
GraphQL
RESTful HTTP API
WebSocket
Supported programming languages.Net
Groovy
Community Contributed Clients
Java
JavaScript
Perl
PHP
Python
Ruby
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
.Net
C#
F#
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Deno
Go
JavaScript (Node.js)
Rust
Server-side scripts infoStored proceduresyesuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.yes
Triggersyes infoby using the 'percolation' featureyesyes
Partitioning methods infoMethods for storing different data on different nodesShardingpartitioning by range, list and (since PostgreSQL 11) by hashSharding
Replication methods infoMethods for redundantly storing data on multiple nodesyesSource-replica replication infoother methods possible by using 3rd party extensionsMulti-source replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsES-Hadoop Connectornoyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency infoSynchronous doc based replication. Get by ID may show delays up to 1 sec. Configurable write consistency: one, quorum, allImmediate ConsistencyDefault ACID transactions on the local node (eventually consistent across the cluster). Atomic operations with cluster-wide ACID transactions. Eventual consistency for indexes and full-text search indexes.
Foreign keys infoReferential integritynoyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACIDACID, Cluster-wide transaction availableACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
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.Memcached and Redis integrationno
User concepts infoAccess controlfine grained access rights according to SQL-standardAuthorization levels configured per client per databaseyes, based on authentication and database rules

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
3rd partiespgDash: In-Depth PostgreSQL Monitoring.
» more

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

CYBERTEC 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

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

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

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

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

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

Conferences, events and webinars

PASS Data Community Summit
Seattle, Washington, 4-8 November 2024

Recent citations in the news

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

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

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

provided by Google News

YugabyteDB 2.19 gets new PostgreSQL-compatibility features
19 September 2024, InfoWorld

YugabyteDB evolves into a distributed PostgreSQL database for apps that need resilience and scale
19 September 2024, SiliconANGLE News

YugabyteDB Evolves PostgreSQL to a Distributed Architecture for Modern, Cloud-Native Applications
19 September 2024, Business Wire

Latest YugabyteDB update enables distributed PostgreSQL
19 September 2024, SDTimes.com

Synopsis of several compelling features in PostgreSQL 16 | Amazon Web Services
12 July 2024, AWS Blog

provided by Google News

RavenDB Launches Version 6.0 Lightning Fast Queries, Data Integrations, Corax Indexing Engine, and Sharding
3 October 2023, PR Newswire

Install the NoSQL RavenDB Data System
14 May 2021, The New Stack

RavenDB Welcomes David Baruc as Chief Revenue Officer: Seasoned Tech Leader to Drive Global Sales and Accelerate Growth
13 June 2023, PR Newswire

Get To Know: Oren Eini, CEO, RavenDB
22 October 2019, Intelligent CIO

RavenDB Adds Graph Queries
15 May 2019, Datanami

provided by Google News

SurrealDB Delivers Future-Ready Database Technology for Developers and Enterprises with Release of SurrealDB 2.0
17 September 2024, Business Wire

SurrealDB is helping developers consolidate their databases
18 June 2024, TechCrunch

Multi-model database startup SurrealDB raises $20M and announces cloud beta access
18 June 2024, SiliconANGLE News

SurrealDB Raises $20M To Disrupt Big Data Industry
20 June 2024, Datanami

SurrealDB Raises $20 Million to Disrupt Database Tech; Introduces New Cloud Beta Access
18 June 2024, PR Newswire

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

SingleStore logo

The data platform to build your intelligent applications.
Try it 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

RaimaDB logo

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

Present your product here