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

System Properties Comparison Elasticsearch vs. PostgreSQL vs. Spark SQL

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameElasticsearch  Xexclude from comparisonPostgreSQL  Xexclude from comparisonSpark SQL  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 SQLSpark SQL is a component on top of 'Spark Core' for structured data processing
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.Relational DBMS
Secondary database modelsDocument store
Spatial DBMS
Document store
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score144.93
Rank#8  Overall
#1  Search engines
Score617.97
Rank#4  Overall
#4  Relational DBMS
Score20.62
Rank#36  Overall
#22  Relational DBMS
Websitewww.elastic.co/­elasticsearchwww.postgresql.orgspark.apache.org/­sql
Technical documentationwww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmlwww.postgresql.org/­docsspark.apache.org/­docs/­latest/­sql-programming-guide.html
DeveloperElasticPostgreSQL Global Development Group infowww.postgresql.org/­developerApache Software Foundation
Initial release20101989 info1989: Postgres, 1996: PostgreSQL2014
Current release7.8.0, June 202015.1, November 20223.3.0 ( 2.13), June 2022
License infoCommercial or Open SourceOpen Source infoElastic LicenseOpen Source infoBSDOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
  • Aiven for PostgreSQL: Fully managed and hosted PostgreSQL® with 70+ extensions and orchestration tooling included.
  • 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.
Implementation languageJavaCScala
Server operating systemsAll OS with a Java VMFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux
OS X
Windows
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 indexedyesno
SQL infoSupport of SQLSQL-like query languageyes infostandard with numerous extensionsSQL-like DML and DDL statements
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
Java
Python
R
Scala
Server-side scripts infoStored proceduresyesuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.no
Triggersyes infoby using the 'percolation' featureyesno
Partitioning methods infoMethods for storing different data on different nodesShardingpartitioning by range, list and (since PostgreSQL 11) by hashyes, utilizing Spark Core
Replication methods infoMethods for redundantly storing data on multiple nodesyesSource-replica replication infoother methods possible by using 3rd party extensionsnone
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 integritynoyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACIDno
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 integrationnono
User concepts infoAccess controlfine grained access rights according to SQL-standardno

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 partiesEDB: BigAnimal is fully-managed PostgreSQL in the cloud from the database fanatics at EDB.
» more

Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» 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

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

Datasentinel: Platform for Monitoring and Analyzing the performance problems of your PostgreSQL Clusters
» 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

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

Percona: Database problems? Not on your watch.
Databases run better with Percona.
» more

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

More resources
ElasticsearchPostgreSQLSpark SQL
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 2021
3 January 2022, Paul Andlinger, Matthias Gelbmann

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

The Inexorable Rise of PostgreSQL
24 September 2021,  Matt Yonkovit, Percona (sponsor) 

show all

Recent citations in the news

Elastic Reports Second Quarter Fiscal 2023 Financial Results
30 November 2022, Business Wire

Searching for search: UK Gov wants to dump GOV.UK Elasticsearch
17 November 2022, The Stack

Elastic Named a Major Player in the 2022 IDC MarketScape Worldwide SIEM
6 December 2022, Business Wire

Will Elastic N.V. (ESTC) be Able to Sustain Recession?
29 November 2022, Yahoo Finance

Log4Shell Anniversary: One Year Later, What Has Changed?
6 December 2022, Security Boulevard

provided by Google News

10 common PostgreSQL mistakes and how to avoid them
6 December 2022, InfoWorld

CockroachDB 22.2 update extends PostgreSQL compatibility and eases legacy database migrations
6 December 2022, SiliconANGLE News

EDB brings new tools to open source PostgreSQL database
2 December 2022, TechTarget

Researchers Disclose Supply-Chain Flaw Affecting IBM Cloud Databases for PostgreSQL
2 December 2022, The Hacker News

Why We Built Cloud Native Object Storage for PostgreSQL with Amazon S3
29 November 2022, thenewstack.io

provided by Google News

Mobilize.Net Announces PySpark (Spark Python) to Snowpark Code Conversion Tool
16 November 2022, PR Newswire

Senior Big Data Engineer - Remote in Weehawken, NJ, USA - Apply Today!
2 December 2022, EPAM

Department for International Trade to develop global supply chain map
6 December 2022, UKAuthority.com

Tellius Announces Latest Version of Its Decision Intelligence Platform
9 November 2022, Datanami

A Deep Dive into Custom Spark Transformers for ML Pipelines
27 July 2022, CrowdStrike

provided by Google News

Job opportunities

Backend Engineer
Sporty Group, Remote

Mid-Level Java / Elasticsearch Developer (Remote)
cloudteam, Jacksonville, FL

Software Engineer III (Remote Option*)
Nike, San Francisco, CA

Site Reliability Engineer
Conservice, River Heights, UT

Data Engineer
PeakMetrics, Los Angeles, CA

PostgreSQL DB
Cognizant, Atlanta, GA

PostgreSQL DBA
Career Soft Solutions, Jersey City, NJ

PHP Developers
10Types, Wilmington, DE

Full Stack Developer
Shtudy, Remote

PostgreSQL Apps DBA
Career Soft Solutions, Jersey City, NJ

Data Scientist
Saatchi & Saatchi Wellness, New York, NY

GIS Specialist
Huntington, Columbus, OH

Machine Learning Scientist
PayPal, Delaware

Senior Hadoop Spark Developer (Remote)
cloudteam, Jacksonville, FL

Data Scientist
DevCare Solutions, Richmond, VA

jobs by Indeed



Share this page

Featured Products

Neo4j logo

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

Redis logo

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

AllegroGraph logo

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

Datastax Astra logo

Build cloud-native apps fast with Astra, the open-source, multi-cloud stack for
modern data apps.
Get started with 80GB free.

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Present your product here