DB-EnginesextremeDB - Data management wherever you need itEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > PostgreSQL vs. Redis vs. Riak TS vs. SurrealDB

System Properties Comparison PostgreSQL vs. Redis vs. Riak TS vs. SurrealDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NamePostgreSQL  Xexclude from comparisonRedis  Xexclude from comparisonRiak TS  Xexclude from comparisonSurrealDB  Xexclude from comparison
DescriptionWidely 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.Riak TS is a distributed NoSQL database optimized for time series data and based on Riak KVA fully ACID transactional, developer-friendly, multi-model DBMS
Primary database modelRelational 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 persistenceTime Series DBMSDocument store
Graph DBMS
Secondary database modelsDocument 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
Score644.36
Rank#4  Overall
#4  Relational DBMS
Score149.43
Rank#6  Overall
#1  Key-value stores
Score0.17
Rank#318  Overall
#27  Time Series DBMS
Score1.11
Rank#174  Overall
#30  Document stores
#17  Graph DBMS
Websitewww.postgresql.orgredis.com
redis.io
surrealdb.com
Technical documentationwww.postgresql.org/­docsdocs.redis.com/­latest/­index.html
redis.io/­docs
www.tiot.jp/­riak-docs/­riak/­ts/­latestsurrealdb.com/­docs
DeveloperPostgreSQL Global Development Group infowww.postgresql.org/­developerRedis project core team, inspired by Salvatore Sanfilippo infoDevelopment sponsored by Redis Inc.Open Source, formerly Basho TechnologiesSurrealDB Ltd
Initial release1989 info1989: Postgres, 1996: PostgreSQL200920152022
Current release16.4, August 20247.2.5, May 20243.0.0, September 2022v1.5.0, May 2024
License infoCommercial or Open SourceOpen Source infoBSDOpen Source infosource-available extensions (modules), commercial licenses for Redis EnterpriseOpen SourceOpen Source
Cloud-based only infoOnly available as a cloud servicenononono
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 languageCCErlangRust
Server operating systemsFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
BSD
Linux
OS X
Windows infoported and maintained by Microsoft Open Technologies, Inc.
Linux
OS X
Linux
macOS
Windows
Data schemeyesschema-freeschema-freeschema-free
Typing infopredefined data types such as float or dateyespartial infoSupported data types are strings, hashes, lists, sets and sorted sets, bit arrays, hyperloglogs and geospatial indexesnoyes
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.nono
Secondary indexesyesyes infowith RediSearch modulerestricted
SQL infoSupport of SQLyes infostandard with numerous extensionswith RediSQL moduleyes, limitedSQL-like query language
APIs and other access methodsADO.NET
JDBC
native C library
ODBC
streaming API for large objects
proprietary protocol infoRESP - REdis Serialization ProtocolHTTP API
Native Erlang Interface
GraphQL
RESTful HTTP API
WebSocket
Supported programming languages.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
C infounofficial client library
C#
C++ infounofficial client library
Clojure infounofficial client library
Dart infounofficial client library
Erlang
Go infounofficial client library
Groovy infounofficial client library
Haskell infounofficial client library
Java
JavaScript infounofficial client library
Lisp infounofficial client library
Perl infounofficial client library
PHP
Python
Ruby
Scala infounofficial client library
Smalltalk infounofficial client library
Deno
Go
JavaScript (Node.js)
Rust
Server-side scripts infoStored proceduresuser 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)Erlang
Triggersyespublish/subscribe channels provide some trigger functionality; RedisGearsyes infopre-commit hooks and post-commit hooks
Partitioning methods infoMethods for storing different data on different nodespartitioning by range, list and (since PostgreSQL 11) by hashSharding infoAutomatic hash-based sharding with support for hash-tags for manual shardingSharding
Replication methods infoMethods for redundantly storing data on multiple nodesSource-replica replication infoother methods possible by using 3rd party extensionsMulti-source replication infowith Redis Enterprise Pack
Source-replica replication infoChained replication is supported
selectable replication factor
MapReduce infoOffers an API for user-defined Map/Reduce methodsnothrough RedisGearsyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency
Causal consistency can be enabled in Active-Active databases
Strong consistency with Redis Raft
Strong eventual consistency with Active-Active
Eventual Consistency
Foreign keys infoReferential integrityyesnono infolinks between datasets can be stored
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDAtomic execution of command blocks and scripts and optimistic lockingnoACID
Concurrency infoSupport for concurrent manipulation of datayesyes infoData access is serialized by the serveryesyes
Durability infoSupport for making data persistentyesyes infoConfigurable mechanisms for persistency via snapshots and/or operations logsyesyes
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-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
noyes, based on authentication and database rules

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

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

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

pgDash: In-Depth PostgreSQL Monitoring.
» more

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

Instaclustr: Fully Hosted & Managed PostgreSQL
» more
Redisson PRO: The ultra-fast Redis Java Client.
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» more

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

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

More resources
PostgreSQLRedisRiak TSSurrealDB
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

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 into a distributed PostgreSQL database for apps that need resilience and scale
19 September 2024, SiliconANGLE News

Top 50+ Most Asked PostgreSQL Interview Questions 2024
18 September 2024, Simplilearn

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

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

provided by Google News

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

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

Flight to Valkey appears to be response to removal of Redis’ open source license
12 September 2024, Techzine Europe

Valkey Emerges as Leading Open Source Alternative to Redis After Relicensing Row
12 September 2024, businesswire.com

After changing its license, Redis drops its biggest release yet
23 August 2024, TechCrunch

provided by Google News

Is Riak A Good NoSQL Database Option For Enterprises?
1 July 2019, AIM

Best open source databases for IoT applications
26 May 2017, Open Source For You

provided by Google News

SurrealDB Delivers Future-Ready Database Technology for Developers and Enterprises with Release of SurrealDB 2.0
17 September 2024, Business Wire

SurrealDB is helping developers consolidate their databases
18 June 2024, TechCrunch

Multi-model database startup SurrealDB raises $20M and announces cloud beta access
18 June 2024, SiliconANGLE News

SurrealDB Raises $20M To Disrupt Big Data Industry
20 June 2024, Datanami

SurrealDB Raises $20 Million to Disrupt Database Tech; Introduces New Cloud Beta Access
18 June 2024, PR Newswire

provided by Google News



Share this page

Featured Products

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.

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.

RaimaDB logo

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

Present your product here