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

DBMS > H2 vs. MySQL vs. OceanBase vs. Redis

System Properties Comparison H2 vs. MySQL vs. OceanBase vs. Redis

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameH2  Xexclude from comparisonMySQL  Xexclude from comparisonOceanBase  Xexclude from comparisonRedis  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 RDBMSA distributed, high available RDBMS compatible with Oracle and MySQLPopular 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 modelRelational DBMSRelational DBMS infoKey/Value like access via memcached APIRelational DBMSKey-value store infoMultiple data types and a rich set of operations, as well as configurable data expiration, eviction and persistence
Secondary database modelsSpatial DBMSDocument store
Spatial DBMS
Document store
Wide column store
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
Score1029.49
Rank#2  Overall
#2  Relational DBMS
Score1.97
Rank#119  Overall
#58  Relational DBMS
Score149.43
Rank#6  Overall
#1  Key-value stores
Websitewww.h2database.comwww.mysql.comen.oceanbase.comredis.com
redis.io
Technical documentationwww.h2database.com/­html/­main.htmldev.mysql.com/­docen.oceanbase.com/­docs/­oceanbase-databasedocs.redis.com/­latest/­index.html
redis.io/­docs
DeveloperThomas MuellerOracle infosince 2010, originally MySQL AB, then SunOceanBase infopreviously Alibaba and Ant GroupRedis project core team, inspired by Salvatore Sanfilippo infoDevelopment sponsored by Redis Inc.
Initial release2005199520102009
Current release2.2.220, July 20239.0.0, July 20244.3.0, April 20247.2.5, May 2024
License infoCommercial or Open SourceOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infoGPL version 2. Commercial licenses with extended functionallity are availableOpen Source infoCommercial license availableOpen Source infosource-available extensions (modules), commercial licenses for Redis Enterprise
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.
Implementation languageJavaC and C++C++C
Server operating systemsAll OS with a Java VMFreeBSD
Linux
OS X
Solaris
Windows
LinuxBSD
Linux
OS X
Windows infoported and maintained by Microsoft Open Technologies, Inc.
Data schemeyesyesyesschema-free
Typing infopredefined data types such as float or dateyesyesyespartial 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.noyesyesno
Secondary indexesyesyesyesyes infowith RediSearch module
SQL infoSupport of SQLyesyes infowith proprietary extensionsyeswith RediSQL module
APIs and other access methodsJDBC
ODBC
ADO.NET
JDBC
ODBC
Proprietary native API
JDBC
ODBC
ODP.NET
Oracle Call Interface (OCI)
Proprietary native API
Table API
proprietary protocol infoRESP - REdis Serialization Protocol
Supported programming languagesJavaAda
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
Ada infoin MySQL-compatible model
C infoin Oracle- and MySQL- compatible models
C++ infoin Oracle- and MySQL- compatible models
D infoin MySQL-compatible model
Delphi infoin MySQL-compatible model
Eiffel infoin MySQL-compatible model
Erlang infoin MySQL-compatible model
Haskell infoin MySQL-compatible model
Java infoin Oracle- and MySQL- compatible models
JavaScript (Node.js) infoin MySQL-compatible model
Objective-C infoin MySQL-compatible model
OCaml infoin MySQL-compatible model
Perl infoin MySQL-compatible model
PHP infoin MySQL-compatible model
Python infoin MySQL-compatible model
Ruby infoin MySQL-compatible model
Scheme infoin MySQL-compatible model
Tcl infoin MySQL-compatible model
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 proceduresJava Stored Procedures and User-Defined Functionsyes infoproprietary syntaxPL/SQL in oracle-compatible mode, MySQL Stored Procedure in mysql-compatible modeLua; Redis Functions coming in Redis 7 (slides and Github)
Triggersyesyesyespublish/subscribe channels provide some trigger functionality; RedisGears
Partitioning methods infoMethods for storing different data on different nodesnonehorizontal partitioning, sharding with MySQL Cluster or MySQL Fabrichorizontal partitioning (by hash, key, range, range columns, list, and list columns)Sharding infoAutomatic hash-based sharding with support for hash-tags for manual sharding
Replication methods infoMethods for redundantly storing data on multiple nodesWith clustering: 2 database servers on different computers operate on identical copies of a databaseMulti-source replication
Source-replica replication
Multi-source replication using PaxosMulti-source replication infowith Redis Enterprise Pack
Source-replica replication infoChained replication is supported
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononothrough RedisGears
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate 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 integrityyesyes infonot for MyISAM storage engineyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACID infonot for MyISAM storage engineACIDAtomic execution of command blocks and scripts and optimistic locking
Concurrency infoSupport for concurrent manipulation of datayes, multi-version concurrency control (MVCC)yes infotable locks or row locks depending on storage engineyesyes infoData access is serialized by the server
Durability infoSupport for making data persistentyesyesyesyes 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.yesyesyes
User concepts infoAccess controlfine grained access rights according to SQL-standardUsers with fine-grained authorization concept infono user groups or rolesAccess rights for users, groups and roles 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 partiesNavicat Monitor is a safe, simple and agentless remote server monitoring tool for MySQL and many other database management systems.
» more

Navicat for MySQL is the ideal solution for MySQL/MariaDB administration and development.
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» more
CData: Connect to Big Data & NoSQL through standard Drivers.
» 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

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

More resources
H2MySQLOceanBaseRedis
DB-Engines blog posts

MySQL is the DBMS of the Year 2019
3 January 2020, Matthias Gelbmann, Paul Andlinger

MariaDB strengthens its position in the open source RDBMS market
5 April 2018, Matthias Gelbmann

The struggle for the hegemony in Oracle's database empire
2 May 2017, Paul Andlinger

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

Recent citations in the news

Learn how Presence migrated off a monolithic Amazon RDS for MySQL instance, with near-zero downtime, using replication filters
17 September 2024, AWS Blog

HeatWave MySQL – New Capabilities for OLTP Workloads
10 September 2024, blogs.oracle.com

Older PHP & MySQL no longer working in Later Versions
15 May 2024, SitePoint

How to get started with MySQL
31 July 2024, InfoWorld

Proposal Seeks To Replace MySQL With MariaDB By Default For Ubuntu 25.04
20 September 2024, Phoronix

provided by Google News

Fintech giant Ant Group spins off database firm as Alibaba affiliates take stake
3 July 2024, South China Morning Post

Meet the Database Built for Modern-Day Pressures (And Your AI Dreams Too)
24 June 2024, CDOTrends

OceanBase Inks Agreement with NTU Singapore in Database Optimization and Green Computing Advancements
31 January 2024, PR Newswire

OceanBase Cloud Database Will Be Available on Google Cloud Marketplace
27 June 2024, Fintech News Singapore

OceanBase announces its listing on Google Cloud Marketplace, expanding cloud database services to 80 availability zones worldwide
27 June 2024, PR Newswire

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, Business Wire

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

provided by Google News



Share this page

Featured Products

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

RaimaDB logo

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

Milvus logo

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

SingleStore logo

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

Neo4j logo

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

Present your product here