DB-EnginesExtremeDB: the embedded DBMS for embedded systemsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Elasticsearch vs. PostgreSQL vs. Sphinx

System Properties Comparison Elasticsearch vs. PostgreSQL vs. Sphinx

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameElasticsearch  Xexclude from comparisonPostgreSQL  Xexclude from comparisonSphinx  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 search engine for searching in data from different sources, e.g. relational databases
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.Search engine
Secondary database modelsDocument store
Spatial DBMS
Document store
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score152.18
Rank#8  Overall
#1  Search engines
Score553.52
Rank#4  Overall
#4  Relational DBMS
Score7.04
Rank#56  Overall
#6  Search engines
Websitewww.elastic.co/­elasticsearchwww.postgresql.orgsphinxsearch.com
Technical documentationwww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmlwww.postgresql.org/­docssphinxsearch.com/­docs
DeveloperElasticPostgreSQL Global Development Group infowww.postgresql.org/­developerSphinx Technologies Inc.
Initial release20101989 info1989: Postgres, 1996: PostgreSQL2001
Current release7.8.0, June 202013.2 , February 20213.3.1 , July 2020
License infoCommercial or Open SourceOpen Source infoApache Version 2; Elastic LicenseOpen Source infoBSDOpen Source infoGPL version 2, commercial licence available
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.
Elasticsearch Service on Elastic Cloud: Try out the official hosted Elasticsearch and Kibana offering available on Amazon Web Services, Google Cloud and Microsoft Azure that's powered by the creators of Elasticsearch.ScaleGrid for PostgreSQL: Fully managed PostgreSQL hosting on AWS, Azure and DigitalOcean with high availability and SSH access on the #1 multi-cloud DBaaS.
Implementation languageJavaCC++
Server operating systemsAll OS with a Java VMFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
FreeBSD
Linux
NetBSD
OS X
Solaris
Windows
Data schemeschema-free infoFlexible type definitions. Once a type is defined, it is persistentyesyes
Typing infopredefined data types such as float or dateyesyesno
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 infofull-text index on all search fields
SQL infoSupport of SQLSQL-like query languageyes infostandard with numerous extensionsSQL-like query language (SphinxQL)
APIs and other access methodsJava API
RESTful HTTP/JSON API
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Proprietary protocol
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
C++ infounofficial client library
Java
Perl infounofficial client library
PHP
Python
Ruby infounofficial client library
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 hashSharding infoPartitioning is done manually, search queries against distributed index is supported
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 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 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 infoThe original contents of fields are not stored in the Sphinx index.
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-standardno
More information provided by the system vendor
ElasticsearchPostgreSQLSphinx
Specific characteristicsElasticsearch is an open source search and analytics engine. As the heart of the...
» more
Competitive advantagesOpen source Real-time indexsearch, and analysis Horizontally scalable Distributed...
» more
Typical application scenariosEnterprise search (search experiences for your workplace, apps, and websites), observability...
» more
Key customersThousands of organizations worldwide, including Cisco, eBay, Goldman Sachs, Microsoft,...
» more
Market metricsPublic as of October 2018 Distributed workforce with 1900+ employees around the globe​...
» more
Licensing and pricing modelsThe Elastic Stack (Elasticsearch, Kibana, Beats, and Logstash) is free and open source...
» 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 partiesElastic Cloud: Try the official managed Elasticsearch.
» more
EDB: Helping organizations get the most from PostgreSQL, Oracle Migration, High Availability, Security
» more

General SQL Parser: Instantly adding parsing, decoding, analysis and rewrite SQL processing capability to your products.
» more

CYBERTEC is your professional partner for PostgreSQL services and Data Science since 2000. With offices in Austria, Uruguay, Estonia, Poland, South Africa and Switzerland, CYBERTEC operates worldwide and is here for you 24/7!
» more

ClusterControl: the only management system you’ll ever need to take control of your open source database infrastructure.
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

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

Fivetran: Quickly and easily centralize your on-premise and cloud databases.
» more

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

More resources
ElasticsearchPostgreSQLSphinx
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 2020
4 January 2021, Paul Andlinger, Matthias Gelbmann

PostgreSQL is the DBMS of the Year 2018
2 January 2019, Paul Andlinger, Matthias Gelbmann

PostgreSQL is the DBMS of the Year 2017
2 January 2018, Paul Andlinger, Matthias Gelbmann

show all

The DB-Engines ranking includes now search engines
4 February 2013, Paul Andlinger

show all

Recent citations in the news

Amazon Elasticsearch Service Introduces Auto-Tune
1 April 2021, InfoQ.com

Elastic and Confluent Partner to Develop Enhanced Experience for Kafka and Elasticsearch Users
8 April 2021, Business Wire

Elastic Announces Enhanced Access to Nearly Unlimited Data to Help Customers Gain Deeper Business Insights
24 March 2021, Business Wire

Not bad in the grand schema of things: Elastic pushes out 7.12 with direct object storage search • DEVCLASS
24 March 2021, DevClass

Office Depot Configuration Error Exposes One Million Records
7 April 2021, Infosecurity Magazine

provided by Google News

How PostgreSQL has popularized open source enterprise databases [Q&A]
7 April 2021, BetaNews

Crunchy Certified PostgreSQL 12 Achieves Common Criteria Evaluation Assurance Level (EAL) 2+ Certification
29 March 2021, PRNewswire

Swarm64 and EDB Partner to Extend EDB Postgres Advanced With Faster Query Performance
8 April 2021, Business Wire

Catalyst Cloud is wooing Oracle DB users with PostgreSQL offer
25 March 2021, Reseller News

Security best practices for PostgreSQL
22 March 2021, IT PRO

provided by Google News

How to Build 600+ Links in One Month
4 September 2020, Search Engine Journal

6 Top & Best Open source Search Engine Software for Enterprises
17 June 2019, H2S Media

Weaviate Is A Search Engine For Vector Embeddings
11 May 2020, hackernoon.com

eCommerce Search & Personalization
6 May 2018, SitePoint

[Product Roadmap] How Matrimony.com has become the go-to platform for Indian matchmaking
27 January 2021, YourStory

provided by Google News

Job opportunities

Junior Software Engineer
Industrial ML, Cambridge, MA

Software Engineer (ElasticSearch)
ZAGENO Inc, Cambridge, MA

2021 Software Engineer Summer Internship
Lazard Ltd., New York, NY

Front End Developer
Concentrix, Remote

Software Development Engineer - API
Amazon.com Services LLC, Boulder, CO

Software Engineer Intern
Vouch Insurance, Remote

Product Analyst
Game Insight, Remote

JUNIOR SOFTWARE ENGINEER
DEPARTMENT OF CITY PLANNING, Manhattan, NY

PostgreSQL DBA
Percona, Remote

Data Analyst
Upwork, Remote

jobs by Indeed




Share this page

Featured Products

Couchbase logo

SQL + JSON + NoSQL.
Power, flexibility & scale.
All open source.
Get started now.

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Neo4j logo

Get your free copy of the new O'Reilly book Graph Algorithms with 20+ examples for
machine learning, graph analytics and more.

Vertica logo

The fastest unified analytical warehouse at extreme scale with in-database Machine Learning. Try Vertica for free with no time limit.

Datastax Astra logo

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

Present your product here