DB-EnginesExtremeDB: the mission critical dbmsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Elasticsearch vs. PostgreSQL

System Properties Comparison Elasticsearch vs. PostgreSQL

Please select another system to include it in the comparison.

Our visitors often compare Elasticsearch and PostgreSQL with MongoDB, Milvus and Redis.

Editorial information provided by DB-Engines
NameElasticsearch  Xexclude from comparisonPostgreSQL  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 SQL
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.
Secondary database modelsDocument store
Spatial DBMS
Vector DBMS
Document store
Graph DBMS infowith Apache Age
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score143.75
Rank#8  Overall
#1  Search engines
Score612.82
Rank#4  Overall
#4  Relational DBMS
Websitewww.elastic.co/­elasticsearchwww.postgresql.org
Technical documentationwww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmlwww.postgresql.org/­docs
DeveloperElasticPostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release20101989 info1989: Postgres, 1996: PostgreSQL
Current release8.6, January 202315.3, May 2023
License infoCommercial or Open SourceOpen Source infoElastic LicenseOpen Source infoBSD
Cloud-based only infoOnly available as a cloud servicenono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
  • ScaleGrid for PostgreSQL: Fully managed PostgreSQL DBaaS hosting On-Premises and on clouds such as AWS, Azure, GCP and DigitalOcean with no vendor lock-in. Leverage any extension and get SSH access.
  • Aiven for PostgreSQL: Fully managed and hosted PostgreSQL® with 70+ extensions and orchestration tooling included.
Implementation languageJavaC
Server operating systemsAll OS with a Java VMFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemeschema-free infoFlexible type definitions. Once a type is defined, it is persistentyes
Typing infopredefined data types such as float or dateyesyes
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 indexedyes
SQL infoSupport of SQLSQL-like query languageyes infostandard with numerous extensions
APIs and other access methodsJava API
RESTful HTTP/JSON API
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
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.
Triggersyes infoby using the 'percolation' featureyes
Partitioning methods infoMethods for storing different data on different nodesShardingpartitioning by range, list and (since PostgreSQL 11) by hash
Replication methods infoMethods for redundantly storing data on multiple nodesyesSource-replica replication infoother methods possible by using 3rd party extensions
MapReduce infoOffers an API for user-defined Map/Reduce methodsES-Hadoop Connectorno
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 Consistency
Foreign keys infoReferential integritynoyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACID
Concurrency infoSupport for concurrent manipulation of datayesyes
Durability infoSupport for making data persistentyesyes
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-standard

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 partiesInstaclustr: Fully Hosted & Managed PostgreSQL
» more

The State of PostgreSQL 2022 survey is now open!
» 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

DbVisualizer is equipping database professionals with the tools they need to build, manage and maintain state-of-the-art database technologies. It has sky-high user satisfaction and is the preferred tool for database professionals around the world. Customers include Tesla, Apple, Facebook, Deutsche Bank, NASA, and 25,000 others in 145 countries.
» more

SQLFlow: Provides a visual representation of the overall flow of data. Automated SQL data lineage analysis across Databases, ETL, Business Intelligence, Cloud and Hadoop environments by parsing SQL Script and stored procedure.
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

Aiven for PostgreSQL: The familiar open source PostgreSQL® that you know and love, with no proprietary features or add-ons that will lock you in.
» more

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

Datasentinel: Platform for Monitoring and Analyzing the performance problems of your PostgreSQL Clusters
» more

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

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

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

Driving the Future of PostgreSQL Adoption
15 November 2021,  Umair Shahid, Percona (sponsor) 

show all

Recent citations in the news

Total Economic Impact™ Study Reveals 293% Three-Year ROI for Organizations Using Elasticsearch for Search Applications
6 June 2023, Yahoo Finance

Elastic Unveils the Elasticsearch Relevance Engine for Artificial ...
23 May 2023, Business Wire

Building A Log Analytics Solution 10 Times More Cost-Effective ...
15 May 2023, hackernoon.com

Somehow Amazon's Open Source Fork of ElasticSearch Has ...
14 May 2023, Slashdot

Roll Over Rollups! The Big Future of Ophan’s Historical Data
7 June 2023, The Guardian

provided by Google News

Serverless is the future of PostgreSQL
5 June 2023, InfoWorld

PostgreSQL 16 advances query parallelism
26 May 2023, InfoWorld

MongoDB vs. PostgreSQL vs. ScyllaDB: Tractian's Experience
31 May 2023, The New Stack

How to Migrate from Oracle to PostgreSQL
10 May 2023, hackernoon.com

MariaDB's Xpand offers PostgreSQL compatibility without the forking drama
10 May 2023, The Register

provided by Google News

Job opportunities

Elasticsearch Consultant
Organized Crime and Corruption Reporting Project (OCCRP), Remote

Europe and Russia SME
Two Six Technologies, Arlington, VA

AI Prompt Engineer
Booz Allen Hamilton, Bethesda, MD

Elasticsearch Engineer
Emonics, Remote

Elasticsearch Engineer
Teknoviq Solutions, Remote

PostgreSQL Developer
Sydata Inc, Remote

Mid-level PostgreSQL Infrastructure Engineer Community Edition
Diaconia LLC, Remote

Senior PostgreSQL DBA
Alkami Technology, Plano, TX

Junior PostgreSQL Infrastructure Engineer
Intone Networks, Remote

Senior PostgreSQL DBA
Medallia, United States

jobs by Indeed



Share this page

Featured Products

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

Cassandra Forward online event

Want to level up your Cassandra game?
If you missed the event or would like to re-watch a session, replays are available now. Watch now!

Redis logo

The world’s most loved real‑time data platform.
Try free

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

Present your product here