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 > H2 vs. PostgreSQL vs. Solr

System Properties Comparison H2 vs. PostgreSQL vs. Solr

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameH2  Xexclude from comparisonPostgreSQL  Xexclude from comparisonSolr  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 Lucene
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 engine
Secondary database modelsSpatial DBMSDocument store
Spatial DBMS
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score9.69
Rank#48  Overall
#30  Relational DBMS
Score577.50
Rank#4  Overall
#4  Relational DBMS
Score49.81
Rank#22  Overall
#3  Search engines
Websitewww.h2database.comwww.postgresql.orglucene.apache.org/­solr
Technical documentationwww.h2database.com/­html/­main.htmlwww.postgresql.org/­docslucene.apache.org/­solr/­resources.html
DeveloperThomas MuellerPostgreSQL Global Development Group infowww.postgresql.org/­developerApache Software Foundation
Initial release20051989 info1989: Postgres, 1996: PostgreSQL2006
Current release1.4.200, October 201913.4, August 20218.9.0, June 2021
License infoCommercial or Open SourceOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infoBSDOpen Source infoApache Version 2
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 languageJavaCJava
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)
Data schemeyesyesyes infoDynamic Fields enables on-the-fly addition of new fields
Typing infopredefined data types such as float or dateyesyesyes infosupports customizable data types and automatic typing
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 indexed
SQL infoSupport of SQLyesyes infostandard with numerous extensionsSolr Parallel SQL Interface
APIs and other access methodsJDBC
ODBC
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Java API
RESTful HTTP/JSON API
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
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 plugins
Triggersyesyesyes infoUser configurable commands triggered on index changes
Partitioning methods infoMethods for storing different data on different nodesnonepartitioning by range, list and (since PostgreSQL 11) by hashSharding
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 extensionsyes
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonospark-solr: github.com/­lucidworks/­spark-solr and streaming expressions to reduce
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyEventual Consistency
Foreign keys infoReferential integrityyesyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDoptimistic locking
Concurrency infoSupport for concurrent manipulation of datayes, multi-version concurrency control (MVCC)yesyes
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.yesnoyes
User concepts infoAccess controlfine grained access rights according to SQL-standardfine grained access rights according to SQL-standardyes

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 partiespgDash: In-Depth PostgreSQL Monitoring.
» 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

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

ClusterControl: 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

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

EDB: Helping organizations get the most from PostgreSQL, Oracle Migration, High Availability, Security
» more

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

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

Recent citations in the news

Crunchy Data Delivers Trusted PostgreSQL Containers In Collaboration With The US Department Of Defense
20 September 2021, PRNewswire

Crunchy Data provides trusted PostgreSQL containers in partnership with DoD
21 September 2021, Geospatial World

Instaclustr Adds PostgreSQL to Managed Platform in Public Preview
14 September 2021, Yahoo Finance

Instaclustr Including PostgreSQL in Managed Data Platform - Now in Public Preview
19 September 2021, insideBIGDATA

Amazon Aurora Supports PostgreSQL 13
5 September 2021, InfoQ.com

provided by Google News

Testing times for the "Supplier of Last Resort" regime as UK gas prices continue to rise
22 September 2021, JD Supra

10 Reasons to Rethink Solr for Ecommerce
13 September 2021, Network World

Solana’s SolRazr launchpad going live, native token aims to raise $250K
15 September 2021, Invezz

Why are gas prices rising and what happens if my energy supplier goes bust?
21 September 2021, goodtoknow

More info
22 September 2021, KGNU

provided by Google News

Job opportunities

Software Tester
Miva, Remote

Support Engineer - MySQL/PostgreSQL/MariaDB
Microsoft, Charlotte, NC

IT Specialist (Database Administrator)
US Social Security Administration, Wilkes-Barre, PA

PostgreSQL DBA
Luxoft, Remote

PostgreSQL Senior DBA
M&T Bank, Buffalo, NY

Senior Java SOLR Developer
Global Alliant Inc, Washington, DC

Solr
Global PharmaTek, New York, NY

Java Solr Developer
Techspace Solutions, New York, NY

Sr. Data Engineer (ETL)
Intone Networks, Remote

Solr Administrator / Engineer
Emonics LLC, Piscataway, NJ

jobs by Indeed



Share this page

Featured Products

AllegroGraph logo

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

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

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

Couchbase logo

The modern database for enterprise applications. Build fast. Scale Big. Save more.
Get started today.

Neo4j logo

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

Present your product here