DB-EnginesextremeDB - solve IoT connectivity disruptionsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > H2 vs. PostgreSQL vs. Redis vs. SQLite vs. XTDB

System Properties Comparison H2 vs. PostgreSQL vs. Redis vs. SQLite vs. XTDB

Editorial information provided by DB-Engines
NameH2  Xexclude from comparisonPostgreSQL  Xexclude from comparisonRedis  Xexclude from comparisonSQLite  Xexclude from comparisonXTDB infoformerly named Crux  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 SQLPopular in-memory data platform used as a cache, message broker, and database that can be deployed on-premises, across clouds, and hybrid environments infoRedis focuses on performance so most of its design decisions prioritize high performance and very low latencies.Widely used embeddable, in-process RDBMSA general purpose database with bitemporal SQL and Datalog and graph queries
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.Key-value store infoMultiple data types and a rich set of operations, as well as configurable data expiration, eviction and persistenceRelational DBMSDocument store
Secondary database modelsSpatial DBMSDocument store
Graph DBMS infowith Apache Age
Spatial DBMS
Vector DBMS infowith pgvector extension
Document store infowith RedisJSON
Graph DBMS infowith RedisGraph
Spatial DBMS
Search engine infowith RediSearch
Time Series DBMS infowith RedisTimeSeries
Vector DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score7.57
Rank#47  Overall
#30  Relational DBMS
Score644.36
Rank#4  Overall
#4  Relational DBMS
Score149.43
Rank#6  Overall
#1  Key-value stores
Score103.35
Rank#10  Overall
#7  Relational DBMS
Score0.13
Rank#330  Overall
#45  Document stores
Websitewww.h2database.comwww.postgresql.orgredis.com
redis.io
www.sqlite.orggithub.com/­xtdb/­xtdb
www.xtdb.com
Technical documentationwww.h2database.com/­html/­main.htmlwww.postgresql.org/­docsdocs.redis.com/­latest/­index.html
redis.io/­docs
www.sqlite.org/­docs.htmlwww.xtdb.com/­docs
DeveloperThomas MuellerPostgreSQL Global Development Group infowww.postgresql.org/­developerRedis project core team, inspired by Salvatore Sanfilippo infoDevelopment sponsored by Redis Inc.Dwayne Richard HippJuxt Ltd.
Initial release20051989 info1989: Postgres, 1996: PostgreSQL200920002019
Current release2.2.220, July 202316.4, August 20247.2.5, May 20243.46.1  (13 August 2024), August 20241.19, September 2021
License infoCommercial or Open SourceOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infoBSDOpen Source infosource-available extensions (modules), commercial licenses for Redis EnterpriseOpen Source infoPublic DomainOpen Source infoMIT License
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.
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 languageJavaCCCClojure
Server operating systemsAll OS with a Java VMFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
BSD
Linux
OS X
Windows infoported and maintained by Microsoft Open Technologies, Inc.
server-lessAll OS with a Java 8 (and higher) VM
Linux
Data schemeyesyesschema-freeyes infodynamic column typesschema-free
Typing infopredefined data types such as float or dateyesyespartial infoSupported data types are strings, hashes, lists, sets and sorted sets, bit arrays, hyperloglogs and geospatial indexesyes infonot rigid because of 'dynamic typing' concept.yes, extensible-data-notation format
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.nonono
Secondary indexesyesyesyes infowith RediSearch moduleyesyes
SQL infoSupport of SQLyesyes infostandard with numerous extensionswith RediSQL moduleyes infoSQL-92 is not fully supportedlimited SQL, making use of Apache Calcite
APIs and other access methodsJDBC
ODBC
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
proprietary protocol infoRESP - REdis Serialization ProtocolADO.NET infoinofficial driver
JDBC infoinofficial driver
ODBC infoinofficial driver
HTTP REST
JDBC
Supported programming languagesJava.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
C
C#
C++
Clojure
Crystal
D
Dart
Elixir
Erlang
Fancy
Go
Haskell
Haxe
Java
JavaScript (Node.js)
Lisp
Lua
MatLab
Objective-C
OCaml
Pascal
Perl
PHP
Prolog
Pure Data
Python
R
Rebol
Ruby
Rust
Scala
Scheme
Smalltalk
Swift
Tcl
Visual Basic
Actionscript
Ada
Basic
C
C#
C++
D
Delphi
Forth
Fortran
Haskell
Java
JavaScript
Lisp
Lua
MatLab
Objective-C
OCaml
Perl
PHP
PL/SQL
Python
R
Ruby
Scala
Scheme
Smalltalk
Tcl
Clojure
Java
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.Lua; Redis Functions coming in Redis 7 (slides and Github)nono
Triggersyesyespublish/subscribe channels provide some trigger functionality; RedisGearsyesno
Partitioning methods infoMethods for storing different data on different nodesnonepartitioning by range, list and (since PostgreSQL 11) by hashSharding infoAutomatic hash-based sharding with support for hash-tags for manual shardingnonenone
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 extensionsMulti-source replication infowith Redis Enterprise Pack
Source-replica replication infoChained replication is supported
noneyes, each node contains all data
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonothrough RedisGearsnono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyEventual Consistency
Causal consistency can be enabled in Active-Active databases
Strong consistency with Redis Raft
Strong eventual consistency with Active-Active
Foreign keys infoReferential integrityyesyesnoyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDAtomic execution of command blocks and scripts and optimistic lockingACIDACID
Concurrency infoSupport for concurrent manipulation of datayes, multi-version concurrency control (MVCC)yesyes infoData access is serialized by the serveryes infovia file-system locksyes
Durability infoSupport for making data persistentyesyesyes infoConfigurable mechanisms for persistency via snapshots and/or operations logsyesyes, flexibel persistency by using storage technologies like Apache Kafka, RocksDB or LMDB
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-standardAccess Control Lists (ACLs): redis.io/­docs/­management/­security/­acl
LDAP and Role-Based Access Control (RBAC) for Redis Enterprise
Mutual TLS authentication: redis.io/­docs/­management/­security/­encryption
Password-based authentication
no

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

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
Redisson PRO: The ultra-fast Redis Java Client.
» more

Navicat for Redis: the award-winning Redis management tool with an intuitive and powerful graphical interface.
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» more
Navicat for SQLite is a powerful and comprehensive SQLite GUI that provides a complete set of functions for database management and development.
» more

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

More resources
H2PostgreSQLRedisSQLiteXTDB infoformerly named Crux
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

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

MySQL, PostgreSQL and Redis are the winners of the March ranking
2 March 2016, Paul Andlinger

MongoDB is the DBMS of the year, defending the title from last year
7 January 2015, Paul Andlinger, Matthias Gelbmann

show all

Big gains for Relational Database Management Systems in DB-Engines Ranking
2 February 2016, Matthias Gelbmann

show all

Conferences, events and webinars

PASS Data Community Summit
Seattle, Washington, 4-8 November 2024

Recent citations in the news

YugabyteDB 2.19 gets new PostgreSQL-compatibility features
19 September 2024, InfoWorld

YugabyteDB Evolves PostgreSQL to a Distributed Architecture for Modern, Cloud-Native Applications
19 September 2024, Business Wire

Synopsis of several compelling features in PostgreSQL 16 | Amazon Web Services
12 July 2024, AWS Blog

MongoDB takes a swing at PostgreSQL after claiming wins against rival
30 August 2024, The Register

Intel Demonstrates Up To 48% Improvement For AVX-512 Optimized PostgreSQL
12 September 2024, Phoronix

provided by Google News

Majority of Redis users considering alternatives after less permissive licensing move
20 September 2024, The Register

With Valkey 8.0, the Linux Foundation thumbs its nose at Redis
16 September 2024, Techzine Europe

Redis debuts new data integration and AI features for its database
23 August 2024, SiliconANGLE News

Database dust-up: Are Redis users switching to Valkey?
12 September 2024, Computing

Valkey Emerges as Leading Open Source Alternative to Redis After Relicensing Row
12 September 2024, Business Wire

provided by Google News

Google researchers suggest "fixing" SQL with pipe syntax, SQLite creator unconvinced
30 August 2024, DevClass

How to work with Dapper and SQLite in ASP.NET Core
10 May 2024, InfoWorld

SQLite Vulnerability Could Put Thousands of Apps at Risk
22 March 2024, Dark Reading

Optimizing neuroscience data management by combining REDCap, BIDS and SQLite: a case study in Deep Brain Stimulation
5 September 2024, Frontiers

SQLite Gets Into Vector Search
5 September 2024, iProgrammer

provided by Google News



Share this page

Featured Products

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

Neo4j logo

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

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

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

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

Present your product here