DB-EnginesExtremeDB Active Replication featuresEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > PostgreSQL vs. Solr vs. Sphinx

System Properties Comparison PostgreSQL vs. Solr vs. Sphinx

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NamePostgreSQL  Xexclude from comparisonSolr  Xexclude from comparisonSphinx  Xexclude from comparison
DescriptionWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLA widely used distributed, scalable search engine based on Apache LuceneOpen source search engine for searching in data from different sources, e.g. relational databases
Primary database modelRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.Search engineSearch engine
Secondary database modelsDocument store
Spatial DBMS
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score553.52
Rank#4  Overall
#4  Relational DBMS
Score50.60
Rank#21  Overall
#3  Search engines
Score7.04
Rank#56  Overall
#6  Search engines
Websitewww.postgresql.orglucene.apache.org/­solrsphinxsearch.com
Technical documentationwww.postgresql.org/­docslucene.apache.org/­solr/­resources.htmlsphinxsearch.com/­docs
DeveloperPostgreSQL Global Development Group infowww.postgresql.org/­developerApache Software FoundationSphinx Technologies Inc.
Initial release1989 info1989: Postgres, 1996: PostgreSQL20062001
Current release13.2 , February 20218.8.1, February 20213.3.1 , July 2020
License infoCommercial or Open SourceOpen Source infoBSDOpen Source infoApache Version 2Open 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.
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 languageCJavaC++
Server operating systemsFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
All OS with a Java VM inforuns as a servlet in servlet container (e.g. Tomcat, Jetty is included)FreeBSD
Linux
NetBSD
OS X
Solaris
Windows
Data schemeyesyes infoDynamic Fields enables on-the-fly addition of new fieldsyes
Typing infopredefined data types such as float or dateyesyes infosupports customizable data types and automatic typingno
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.yes infospecific XML-type available, but no XML query functionality.yes
Secondary indexesyesyes infoAll search fields are automatically indexedyes infofull-text index on all search fields
SQL infoSupport of SQLyes infostandard with numerous extensionsSolr Parallel SQL InterfaceSQL-like query language (SphinxQL)
APIs and other access methodsADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Java API
RESTful HTTP/JSON API
Proprietary protocol
Supported programming languages.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
.Net
Erlang
Java
JavaScript
any language that supports sockets and either XML or JSON
Perl
PHP
Python
Ruby
Scala
C++ infounofficial client library
Java
Perl infounofficial client library
PHP
Python
Ruby infounofficial client library
Server-side scripts infoStored proceduresuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.Java pluginsno
Triggersyesyes infoUser configurable commands triggered on index changesno
Partitioning methods infoMethods for storing different data on different nodespartitioning by range, list and (since PostgreSQL 11) by hashShardingSharding infoPartitioning is done manually, search queries against distributed index is supported
Replication methods infoMethods for redundantly storing data on multiple nodesSource-replica replication infoother methods possible by using 3rd party extensionsyesnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnospark-solr: github.com/­lucidworks/­spark-solr and streaming expressions to reduceno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency
Foreign keys infoReferential integrityyesnono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDoptimistic lockingno
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.noyes
User concepts infoAccess controlfine grained access rights according to SQL-standardyesno

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 partiesClusterControl: the only management system you’ll ever need to take control of your open source database infrastructure.
» more

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

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

pgDash: In-Depth PostgreSQL Monitoring.
» more

EDB: Helping organizations get the most from PostgreSQL, Oracle Migration, High Availability, Security
» 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

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

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

More resources
PostgreSQLSolrSphinx
DB-Engines blog posts

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

Elasticsearch replaced Solr as the most popular search engine
12 January 2016, Paul Andlinger

Enterprise Search Engines almost double their popularity in the last 12 months
2 July 2014, Paul Andlinger

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

show all

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

show all

Recent citations in the news

Guest View: OLAP + OLTP = ...PostgreSQL?
12 April 2021, SDTimes.com

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

How to Connect Your Bastion Server to a PostgreSQL Server with an SSH Tunnel
30 March 2021, hackernoon.com

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

provided by Google News

Solar Alliance Provides Corporate and Project Updates TSX Venture Exchange:SOLR
29 March 2021, GlobeNewswire

PENN FOSTER TAPS SEARCHSTAX TO HELP STUDENTS EASILY FIND THE TRAINING PROGRAMS THEY NEED
9 April 2021, StreetInsider.com

Enterprise Search Software Market Future and Technological Advancement by Key Companies: Swiftype, Algolia, Elasticsearch, Apache Solr, SearchSpring, AddSearch – SoccerNurds
9 April 2021, SoccerNurds

Enterprise Search Software Market 2021 Industry Size, Share, Growth and Top Companies Analysis- Swiftype, Algolia, Elasticsearch, Apache Solr, SearchSpring, etc. – The Bisouv Network
6 April 2021, The Bisouv Network

Enterprise Search Software Market : Swiftype, Algolia, Elasticsearch, Apache Solr, SearchSpring, AddSearch, SLI Systems, Amazon CloudSearch, Coveo, FishEye, Inbenta etc. – Jumbo News
6 April 2021, Jumbo News

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

Live Moth Antenna Helps Drone Sniff Odors
25 January 2021, ENGINEERING.com

PGSync Introduction: Real-time Integration Tool For PostgreSQL And Elasticsearch
16 September 2020, hackernoon.com

provided by Google News

Job opportunities

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

.Net Fullstack Developer
Piper Companies, Remote

.Net/SOLR (#8396)
ACS Group, Lakeland, FL

Software Engineering Intern
Etsy, Ithaca, NY

Hadoop Developer with SOLR expertise
Ivy Tech Solutions inc, Remote

Senior Software Engineer - Search (Solr / Elasticsearch) / Remote OR Raleigh, NC
LexisNexis Legal & Professional, Raleigh, NC

jobs by Indeed




Share this page

Featured Products

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Couchbase logo

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

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..

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.

Present your product here