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

DBMS > Elasticsearch vs. PostgreSQL vs. SAP HANA

System Properties Comparison Elasticsearch vs. PostgreSQL vs. SAP HANA

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameElasticsearch  Xexclude from comparisonPostgreSQL  Xexclude from comparisonSAP HANA  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 SQLIn-memory, column based data store. Available as appliance or cloud service
Primary database modelSearch engine
Vector DBMS
Relational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.Relational DBMS
Secondary database modelsDocument store
Spatial DBMS
Document store
Graph DBMS infowith Apache Age
Spatial DBMS
Vector DBMS infowith pgvector extension
Document store
Graph DBMS infowith SAP Hana, Enterprise Edition
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score134.63
Rank#8  Overall
#1  Search engines
#1  Vector DBMS
Score659.62
Rank#4  Overall
#4  Relational DBMS
Score35.22
Rank#22  Overall
#15  Relational DBMS
Websitewww.elastic.co/­elasticsearchwww.postgresql.orgwww.sap.com/­products/­hana.html
Technical documentationwww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmlwww.postgresql.org/­docshelp.sap.com/­hana
DeveloperElasticPostgreSQL Global Development Group infowww.postgresql.org/­developerSAP
Initial release20101989 info1989: Postgres, 1996: PostgreSQL2010
Current release8.6, January 202316.4, August 20242.0 SPS07 (April 4, 2023), April 2023
License infoCommercial or Open SourceOpen Source infoElastic LicenseOpen Source infoBSDcommercial
Cloud-based only infoOnly available as a cloud servicenonono infoalso available as a cloud based service
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 languageJavaC
Server operating systemsAll OS with a Java VMFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Appliance or cloud-service
Data schemeschema-free infoFlexible type definitions. Once a type is defined, it is persistentyesyes
Typing infopredefined data types such as float or dateyesyesyes
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.no
Secondary indexesyes infoAll search fields are automatically indexedyesyes
SQL infoSupport of SQLSQL-like query languageyes infostandard with numerous extensionsyes
APIs and other access methodsJava API
RESTful HTTP/JSON API
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
JDBC
ODBC
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
Server-side scripts infoStored proceduresyesuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.SQLScript, R
Triggersyes infoby using the 'percolation' featureyesyes
Partitioning methods infoMethods for storing different data on different nodesShardingpartitioning by range, list and (since PostgreSQL 11) by hashyes
Replication methods infoMethods for redundantly storing data on multiple nodesyesSource-replica replication infoother methods possible by using 3rd party extensionsyes
MapReduce infoOffers an API for user-defined Map/Reduce methodsES-Hadoop Connectornono
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 ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyesyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.Memcached and Redis integrationnoyes
User concepts infoAccess controlfine grained access rights according to SQL-standardyes

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 parties
» more


» more


» more


» more

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

More resources
ElasticsearchPostgreSQLSAP HANA
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

Amazon OpenSearch Service announces Standard and Extended Support dates for Elasticsearch and OpenSearch versions
7 November 2024, AWS Blog

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

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

Elastic Introduces Better Binary Quantization Technique in Elasticsearch
11 November 2024, Business Wire

Elasticsearch Was Great, But Vector Databases Are the Future
18 November 2024, The New Stack

provided by Google News

PostgreSQL Vulnerability Exploited Alongside BeyondTrust Zero-Day in Targeted Attacks
14 February 2025, The Hacker News

PostgreSQL patches SQLi vulnerability likely exploited in BeyondTrust attacks
14 February 2025, CSO Online

Rapid7 Flags New PostgreSQL Zero-Day Connected to BeyondTrust Exploitation
13 February 2025, SecurityWeek

Microsoft open sources PostgreSQL extensions to muscle in on NoSQL
11 February 2025, The Register

Experts discovered PostgreSQL flaw chained with BeyondTrust zeroday in targeted attacks
14 February 2025, Security Affairs

provided by Google News

SAP threatened by its own legacy software
14 February 2025, Computing

Rise with SAP will extend support deadline -- for some
5 February 2025, TechTarget

New Offering to Help Navigate Complex RISE with SAP Transformations
4 February 2025, SAP News

SAP throws a lifeline to large organizations with new ECC offering
4 February 2025, CIO

SAPwned: SAP AI vulnerabilities expose customers’ cloud environments and private AI artifacts
17 July 2024, Wiz

provided by Google News



Share this page

Featured Products

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.

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.

Present your product here