DB-EnginesExtremeDB for everyone with an RTOSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > BaseX vs. IBM Db2 vs. Redis

System Properties Comparison BaseX vs. IBM Db2 vs. Redis

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameBaseX  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonRedis  Xexclude from comparison
DescriptionLight-weight Native XML DBMS with support for XQuery 3.0 and interactive GUI.Common in IBM host environments, 2 different versions for host and Windows/LinuxPopular 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.
Primary database modelNative XML DBMSRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBKey-value store infoMultiple data types and a rich set of operations, as well as configurable data expiration, eviction and persistence
Secondary database modelsDocument store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
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
Score1.73
Rank#142  Overall
#4  Native XML DBMS
Score128.46
Rank#8  Overall
#5  Relational DBMS
Score157.80
Rank#6  Overall
#1  Key-value stores
Websitebasex.orgwww.ibm.com/­products/­db2redis.com
redis.io
Technical documentationdocs.basex.orgwww.ibm.com/­docs/­en/­db2docs.redis.com/­latest/­index.html
redis.io/­docs
DeveloperBaseX GmbHIBMRedis project core team, inspired by Salvatore Sanfilippo infoDevelopment sponsored by Redis Inc.
Initial release20071983 infohost version2009
Current release10.7, August 202312.1, October 20167.2.4, January 2024
License infoCommercial or Open SourceOpen Source infoBSD licensecommercial infofree version is availableOpen Source infosource-available extensions (modules), commercial licenses for Redis Enterprise
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.
Aiven for Redis: Fully managed in-memory key-value store for all your caching and speedy lookup needs.
Implementation languageJavaC and C++C
Server operating systemsLinux
OS X
Windows
AIX
HP-UX
Linux
Solaris
Windows
z/OS
BSD
Linux
OS X
Windows infoported and maintained by Microsoft Open Technologies, Inc.
Data schemeschema-freeyesschema-free
Typing infopredefined data types such as float or dateno infoXQuery supports typesyespartial infoSupported data types are strings, hashes, lists, sets and sorted sets, bit arrays, hyperloglogs and geospatial indexes
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.no
Secondary indexesyesyesyes infowith RediSearch module
SQL infoSupport of SQLnoyeswith RediSQL module
APIs and other access methodsJava API
RESTful HTTP API
RESTXQ
WebDAV
XML:DB
XQJ
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
proprietary protocol infoRESP - REdis Serialization Protocol
Supported programming languagesActionscript
C
C#
Haskell
Java
JavaScript infoNode.js
Lisp
Perl
PHP
Python
Qt
Rebol
Ruby
Scala
Visual Basic
C
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
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
Server-side scripts infoStored proceduresyesyesLua; Redis Functions coming in Redis 7 (slides and Github)
Triggersyes infovia eventsyespublish/subscribe channels provide some trigger functionality; RedisGears
Partitioning methods infoMethods for storing different data on different nodesnoneSharding infoonly with Windows/Unix/Linux VersionSharding infoAutomatic hash-based sharding with support for hash-tags for manual sharding
Replication methods infoMethods for redundantly storing data on multiple nodesnoneyes infowith separate tools (MQ, InfoSphere)Multi-source replication infowith Redis Enterprise Pack
Source-replica replication infoChained replication is supported
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonothrough RedisGears
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Causal consistency can be enabled in Active-Active databases
Strong consistency with Redis Raft
Strong eventual consistency with Active-Active
Foreign keys infoReferential integritynoyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datamultiple readers, single writerACIDAtomic execution of command blocks and scripts and optimistic locking
Concurrency infoSupport for concurrent manipulation of datayesyesyes infoData access is serialized by the server
Durability infoSupport for making data persistentyesyesyes infoConfigurable mechanisms for persistency via snapshots and/or operations logs
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yes
User concepts infoAccess controlUsers with fine-grained authorization concept on 4 levelsfine 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

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 partiesAiven for Redis: Fully managed in-memory key-value store for all your caching and speedy lookup needs.
» 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
BaseXIBM Db2 infoformerly named DB2 or IBM Database 2Redis
DB-Engines blog posts

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

Recent citations in the news

XML Injection Attacks: What to Know About XPath, XQuery, XXE & More
18 May 2022, Hashed Out by The SSL Store™

9 Skills You Need to Become a Data Engineer
2 November 2022, KDnuggets

provided by Google News

IBM's vintage Db2 database jumps on AWS's cloud bandwagon
29 November 2023, The Register

Performance optimization of full load and ongoing replication tasks from self-managed Db2 to Amazon RDS for Db2 ...
24 April 2024, AWS Blog

IBM Collaborates with AWS to Launch a New Cloud Database Offering, Enabling Customers to Optimize Data ...
27 November 2023, IBM Newsroom

Precisely says it's smoothing migration of Db2 analytics data to AWS cloud – Blocks and Files
5 April 2024, Blocks & Files

How Amazon RDS for IBM Db2 Showcases the Power of Co-Creation
21 December 2023, Acceleration Economy

provided by Google News

Linux Foundation marshals support for open source alternative to Redis
3 April 2024, The Register

Redis switches licenses, acquires Speedb to go beyond its core in-memory database
21 March 2024, TechCrunch

Redis acquires storage engine startup Speedb to enhance its open-source database
21 March 2024, SiliconANGLE News

Valkey: A Redis Fork With a Future
2 May 2024, The New Stack

Redis moves to source-available licenses
25 March 2024, InfoWorld

provided by Google News



Share this page

Featured Products

SingleStore logo

Build AI apps with Vectors on SQL and JSON with milliseconds response times.
Try it today.

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

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.

Present your product here