DB-EnginesExtremeDB: mitigate connectivity issues in a DBMSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > H2 vs. PostgreSQL vs. Solr vs. Sphinx vs. Vitess

System Properties Comparison H2 vs. PostgreSQL vs. Solr vs. Sphinx vs. Vitess

Editorial information provided by DB-Engines
NameH2  Xexclude from comparisonPostgreSQL  Xexclude from comparisonSolr  Xexclude from comparisonSphinx  Xexclude from comparisonVitess  Xexclude from comparison
DescriptionFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.Widely 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 databasesScalable, distributed, cloud-native DBMS, extending MySQL
Primary database modelRelational DBMSRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.Search engineSearch engineRelational DBMS
Secondary database modelsSpatial DBMSDocument store
Graph DBMS infowith Apache Age
Spatial DBMS
Vector DBMS infowith pgvector extension
Spatial DBMSDocument store
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score8.33
Rank#46  Overall
#30  Relational DBMS
Score636.25
Rank#4  Overall
#4  Relational DBMS
Score41.02
Rank#24  Overall
#3  Search engines
Score5.95
Rank#55  Overall
#5  Search engines
Score0.88
Rank#203  Overall
#95  Relational DBMS
Websitewww.h2database.comwww.postgresql.orgsolr.apache.orgsphinxsearch.comvitess.io
Technical documentationwww.h2database.com/­html/­main.htmlwww.postgresql.org/­docssolr.apache.org/­resources.htmlsphinxsearch.com/­docsvitess.io/­docs
DeveloperThomas MuellerPostgreSQL Global Development Group infowww.postgresql.org/­developerApache Software FoundationSphinx Technologies Inc.The Linux Foundation, PlanetScale
Initial release20051989 info1989: Postgres, 1996: PostgreSQL200620012013
Current release2.2.220, July 202316.3, May 20249.6.1, May 20243.5.1, February 202315.0.2, December 2022
License infoCommercial or Open SourceOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infoBSDOpen Source infoApache Version 2Open Source infoGPL version 2, commercial licence availableOpen Source infoApache Version 2.0, commercial licenses available
Cloud-based only infoOnly available as a cloud servicenonononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
  • Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
  • 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 languageJavaCJavaC++Go
Server operating systemsAll OS with a Java VMFreeBSD
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
Docker
Linux
macOS
Data schemeyesyesyes infoDynamic Fields enables on-the-fly addition of new fieldsyesyes
Typing infopredefined data types such as float or dateyesyesyes infosupports customizable data types and automatic typingnoyes
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.yes
Secondary indexesyesyesyes infoAll search fields are automatically indexedyes infofull-text index on all search fieldsyes
SQL infoSupport of SQLyesyes infostandard with numerous extensionsSolr Parallel SQL InterfaceSQL-like query language (SphinxQL)yes infowith proprietary extensions
APIs and other access methodsJDBC
ODBC
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Java API
RESTful HTTP/JSON API
Proprietary protocolADO.NET
JDBC
MySQL protocol
ODBC
Supported programming languagesJava.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
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
Server-side scripts infoStored proceduresJava Stored Procedures and User-Defined Functionsuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.Java pluginsnoyes infoproprietary syntax
Triggersyesyesyes infoUser configurable commands triggered on index changesnoyes
Partitioning methods infoMethods for storing different data on different nodesnonepartitioning by range, list and (since PostgreSQL 11) by hashShardingSharding infoPartitioning is done manually, search queries against distributed index is supportedSharding
Replication methods infoMethods for redundantly storing data on multiple nodesWith clustering: 2 database servers on different computers operate on identical copies of a databaseSource-replica replication infoother methods possible by using 3rd party extensionsyesnoneMulti-source replication
Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonospark-solr: github.com/­lucidworks/­spark-solr and streaming expressions to reducenono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyEventual ConsistencyEventual Consistency across shards
Immediate Consistency within a shard
Foreign keys infoReferential integrityyesyesnonoyes infonot for MyISAM storage engine
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDoptimistic lockingnoACID at shard level
Concurrency infoSupport for concurrent manipulation of datayes, multi-version concurrency control (MVCC)yesyesyesyes infotable locks or row locks depending on storage engine
Durability infoSupport for making data persistentyesyesyesyes infoThe original contents of fields are not stored in the Sphinx index.yes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesnoyesyes
User concepts infoAccess controlfine grained access rights according to SQL-standardfine grained access rights according to SQL-standardyesnoUsers with fine-grained authorization concept infono user groups or roles

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 partiesRedgate webinars: A series of key topics for new PostgreSQL users.
» more

SharePlex is the reliable and affordable data replication solution for PostgreSQL migrations, high availability and more.
» more

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for PostgreSQL and many other database management systems.
» more

Timescale: Calling all PostgreSQL users – the 2023 State of PostgreSQL survey is now open! Share your favorite extensions, preferred frameworks, community experiences, and more. Take the survey today!
» more

CYBERTEC is your professional partner in PostgreSQL topics for over 20 years. As our main aim is to be your single-source all-in-one IT service provider, we offer a wide range of products and services. Visit our website for more details.
» more

Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
» more

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

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

More resources
H2PostgreSQLSolrSphinxVitess
DB-Engines blog posts

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

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

PostgreSQL is Now Faster than Pinecone, 75% Cheaper, with New Open Source Extensions
11 June 2024, PR Newswire

Timescale unveils high-performance AI vector database extensions for PostgreSQL
11 June 2024, SiliconANGLE News

A New Era AI Databases: PostgreSQL with pgvectorscale Outperforms Pinecone and Cuts Costs by 75% with New Open-Source Extensions
12 June 2024, MarkTechPost

PostgreSQL Tutorial: Definition, Commands, & Features
4 June 2024, Simplilearn

Raise the bar on AI-powered app development with Azure Database for PostgreSQL
5 June 2024, Microsoft

provided by Google News

SOLR-led walkout demands better conditions for Compass workers
27 February 2024, Daily Northwestern

Solr Network Launches Groundbreaking Solana Token Creator
28 May 2024, AccessWire

(SOLR) Proactive Strategies
27 May 2024, news.stocktradersdaily.com

Have Insiders Been Buying Solar Alliance Energy Inc. (CVE:SOLR) Shares?
27 May 2024, Yahoo Movies UK

SOLR hosts teach-in of labor movements at Northwestern
28 January 2024, Daily Northwestern

provided by Google News

Switching From Sphinx to MkDocs Documentation — What Did I Gain and Lose
2 February 2024, Towards Data Science

Manticore is a Faster Alternative to Elasticsearch in C++
25 July 2022, hackernoon.com

Perplexity AI: From Its Use To Operation, Everything You Need To Know About Google's Newest Challenger
11 January 2024, Free Press Journal

The Pirate Bay was recently down for over a week due to a DDoS attack
29 October 2019, The Hacker News

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

provided by Google News

PlanetScale Unveils Distributed MySQL Database Service Based on Vitess
18 May 2021, Datanami

PlanetScale grabs YouTube-developed open-source tech, promises Vitess DBaaS with on-the-fly schema changes
18 May 2021, The Register

They scaled YouTube -- now they’ll shard everyone with PlanetScale
13 December 2018, TechCrunch

With Vitess 4.0, database vendor matures cloud-native platform
13 November 2019, TechTarget

Massively Scaling MySQL Using Vitess
19 February 2019, InfoQ.com

provided by Google News



Share this page

Featured Products

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

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus 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