DBMS > H2 vs. PostgreSQL vs. Typesense
System Properties Comparison H2 vs. PostgreSQL vs. Typesense
Please select another system to include it in the comparison.
|Editorial information provided by DB-Engines|
|Name||H2 Xexclude from comparison||PostgreSQL Xexclude from comparison||Typesense Xexclude from comparison|
|Description||Full-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.||Widely used open source RDBMS Developed as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQL||A typo-tolerant, in-memory search engine optimized for instant search-as-you-type experiences and developer productivity|
|Primary database model||Relational DBMS||Relational DBMS with object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.||Search engine|
|Secondary database models||Spatial DBMS||Document store|
Graph DBMS with Apache Age
Vector DBMS with pgvector extension
|Developer||Thomas Mueller||PostgreSQL Global Development Group www.postgresql.org/developer|
|Initial release||2005||1989 1989: Postgres, 1996: PostgreSQL||2015|
|Current release||2.2.220, July 2023||16.1, November 2023|
|License Commercial or Open Source||Open Source dual-licence (Mozilla public license, Eclipse public license)||Open Source BSD||Open Source GPL V3|
|Cloud-based only Only available as a cloud service||no||no||no|
|DBaaS offerings (sponsored links) Database 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.|
|Server operating systems||All OS with a Java VM||FreeBSD|
|Data scheme||yes||yes||schema-free pre-defined schema optional|
|Typing predefined data types such as float or date||yes||yes||yes|
|XML support Some form of processing data in XML format, e.g. support for XML data structures, and/or support for XPath, XQuery or XSLT.||no||yes specific XML-type available, but no XML query functionality.|
|SQL Support of SQL||yes||yes standard with numerous extensions||no|
|APIs and other access methods||JDBC|
native C library
streaming API for large objects
|RESTful HTTP API|
|Supported programming languages||Java||.Net|
|.Net community maintained|
Clojure community maintained
Dart community maintained
Go community maintained
Java community maintained
Perl community maintained
Rust community maintained
Swift community maintained
|Server-side scripts Stored procedures||Java Stored Procedures and User-Defined Functions||user defined functions realized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.||no|
|Partitioning methods Methods for storing different data on different nodes||none||partitioning by range, list and (since PostgreSQL 11) by hash|
|Replication methods Methods for redundantly storing data on multiple nodes||With clustering: 2 database servers on different computers operate on identical copies of a database||Source-replica replication other methods possible by using 3rd party extensions||Multi-source replication using RAFT|
|MapReduce Offers an API for user-defined Map/Reduce methods||no||no||no|
|Consistency concepts Methods to ensure consistency in a distributed system||Immediate Consistency||Immediate Consistency|
|Foreign keys Referential integrity||yes||yes||no|
|Transaction concepts Support to ensure data integrity after non-atomic manipulations of data||ACID||ACID||no|
|Concurrency Support for concurrent manipulation of data||yes, multi-version concurrency control (MVCC)||yes||yes|
|Durability Support for making data persistent||yes||yes||yes|
|In-memory capabilities Is there an option to define some or all structures to be held in-memory only.||yes||no||yes|
|User concepts Access control||fine grained access rights according to SQL-standard||fine grained access rights according to SQL-standard|
More information provided by the system vendor
We invite representatives of system vendors to contact us for updating and extending the system information,
|Related products and services|
|3rd parties||Datasentinel: Platform for Monitoring and Analyzing the performance problems of your PostgreSQL Clusters|
Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
Navicat Monitor is a safe, simple and agentless remote server monitoring tool for PostgreSQL and many other database management systems.
Fujitsu Enterprise Postgres: An Enterprise Grade PostgreSQL with the flexibility of a hybrid cloud solution combined with industry leading security, availability and performance.
Redgate webinars: A series of key topics for new PostgreSQL users.
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!
pgDash: In-Depth PostgreSQL Monitoring.
Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
Instaclustr: Fully Hosted & Managed PostgreSQL
We invite representatives of vendors of related products to contact us for presenting information about their offerings here.
|DB-Engines blog posts|
Snowflake is the DBMS of the Year 2022, defending the title from last year
|Conferences, events and webinars|
PostgreSQL 101: Database monitoring and optimization
|Recent citations in the news|
Git-for-Data, Version-Controlled Database Dolt Gets PostgreSQL ...
Timescale Introduces Dynamic PostgreSQL, an Alternative to ...
Google AlloyDB Omni: PostgreSQL-Compatible Database for On ...
PostgreSQL Takes a New Turn
Timescale's Dynamic PostgreSQL Makes Data Provisioning Elastic
provided by Google News
Quantum Error review - playing with fire
5 Recipe Search Engines to Cook Based on Time, Budget ... - MUO
Evolution of termination codons of proteins and the TAG-TGA ...
Vikings' seasoned safety Smith happy to be back and help out
provided by Google News
Sr PostgreSQL DBA
Full Stack Developer
Senior Portal Software Engineer
Share this page