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

DBMS > Firebase Realtime Database vs. H2 vs. HyperSQL vs. Redis vs. SpaceTime

System Properties Comparison Firebase Realtime Database vs. H2 vs. HyperSQL vs. Redis vs. SpaceTime

Editorial information provided by DB-Engines
NameFirebase Realtime Database  Xexclude from comparisonH2  Xexclude from comparisonHyperSQL infoalso known as HSQLDB  Xexclude from comparisonRedis  Xexclude from comparisonSpaceTime  Xexclude from comparison
DescriptionCloud-hosted realtime document store. iOS, Android, and JavaScript clients share one Realtime Database instance and automatically receive updates with the newest data.Full-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.Multithreaded, transactional RDBMS written in Java infoalso known as HSQLDBPopular 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.SpaceTime is a spatio-temporal DBMS with a focus on performance.
Primary database modelDocument storeRelational DBMSRelational DBMSKey-value store infoMultiple data types and a rich set of operations, as well as configurable data expiration, eviction and persistenceSpatial DBMS
Secondary database modelsSpatial DBMSDocument store infowith RedisJSON
Graph DBMS infowith RedisGraph
Spatial DBMS
Search engine infowith RediSearch
Time Series DBMS infowith RedisTimeSeries
Vector DBMS
Relational DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score13.64
Rank#39  Overall
#6  Document stores
Score8.33
Rank#46  Overall
#30  Relational DBMS
Score3.23
Rank#93  Overall
#48  Relational DBMS
Score155.94
Rank#6  Overall
#1  Key-value stores
Score0.03
Rank#392  Overall
#8  Spatial DBMS
Websitefirebase.google.com/­products/­realtime-databasewww.h2database.comhsqldb.orgredis.com
redis.io
www.mireo.com/­spacetime
Technical documentationfirebase.google.com/­docs/­databasewww.h2database.com/­html/­main.htmlhsqldb.org/­web/­hsqlDocsFrame.htmldocs.redis.com/­latest/­index.html
redis.io/­docs
DeveloperGoogle infoacquired by Google 2014Thomas MuellerRedis project core team, inspired by Salvatore Sanfilippo infoDevelopment sponsored by Redis Inc.Mireo
Initial release20122005200120092020
Current release2.2.220, July 20232.7.2, June 20237.2.5, May 2024
License infoCommercial or Open SourcecommercialOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infobased on BSD licenseOpen Source infosource-available extensions (modules), commercial licenses for Redis Enterprisecommercial
Cloud-based only infoOnly available as a cloud serviceyesnononono
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 languageJavaJavaCC++
Server operating systemshostedAll OS with a Java VMAll OS with a Java VM infoEmbedded (into Java applications) and Client-Server operating modesBSD
Linux
OS X
Windows infoported and maintained by Microsoft Open Technologies, Inc.
Linux
Data schemeschema-freeyesyesschema-freeyes
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 indexesyes
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.nonononono
Secondary indexesyesyesyesyes infowith RediSearch moduleno
SQL infoSupport of SQLnoyesyeswith RediSQL moduleA subset of ANSI SQL is implemented
APIs and other access methodsAndroid
iOS
JavaScript API
RESTful HTTP API
JDBC
ODBC
HTTP API infoJDBC via HTTP
JDBC
ODBC
proprietary protocol infoRESP - REdis Serialization ProtocolRESTful HTTP API
Supported programming languagesJava
JavaScript
Objective-C
JavaAll languages supporting JDBC/ODBC
Java
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#
C++
Python
Server-side scripts infoStored procedureslimited functionality with using 'rules'Java Stored Procedures and User-Defined FunctionsJava, SQLLua; Redis Functions coming in Redis 7 (slides and Github)no
TriggersCallbacks are triggered when data changesyesyespublish/subscribe channels provide some trigger functionality; RedisGearsno
Partitioning methods infoMethods for storing different data on different nodesnonenoneSharding infoAutomatic hash-based sharding with support for hash-tags for manual shardingFixed-grid hypercubes
Replication methods infoMethods for redundantly storing data on multiple nodesWith clustering: 2 database servers on different computers operate on identical copies of a databasenoneMulti-source replication infowith Redis Enterprise Pack
Source-replica replication infoChained replication is supported
Real-time block device replication (DRBD)
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononothrough RedisGearsno
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency infoif the client is offline
Immediate Consistency infoif the client is online
Immediate ConsistencyImmediate ConsistencyEventual Consistency
Causal consistency can be enabled in Active-Active databases
Strong consistency with Redis Raft
Strong eventual consistency with Active-Active
Immediate Consistency
Foreign keys infoReferential integritynoyesyesnono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayesACIDACIDAtomic execution of command blocks and scripts and optimistic lockingno
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)yesyes infoData access is serialized by the serveryes
Durability infoSupport for making data persistentyesyesyesyes infoConfigurable mechanisms for persistency via snapshots and/or operations logsyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyesyesno
User concepts infoAccess controlyes, based on authentication and database rulesfine 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
yes

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 Redis: the award-winning Redis management tool with an intuitive and powerful graphical interface.
» more

Aiven 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

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

More resources
Firebase Realtime DatabaseH2HyperSQL infoalso known as HSQLDBRedisSpaceTime
DB-Engines blog posts

Cloud-based DBMS's popularity grows at high rates
12 December 2019, 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

Realtime vs Cloud Firestore: Which Firebase Database to go?
8 March 2024, Appinventiv

Atos cybersecurity blog: Misconfigured Firebase: A real-time cyber threat
18 January 2024, Atos

Don't be like these 900+ websites and expose millions of passwords via Firebase
18 March 2024, The Register

Google launches Firebase Genkit, a new open source framework for building AI-powered apps
14 May 2024, TechCrunch

Google Firebase may have exposed 125M records from misconfigurations
19 March 2024, SC Media

provided by Google News

HyperSQL DataBase flaw leaves library vulnerable to RCE
24 October 2022, The Daily Swig

Introduction to JDBC with HSQLDB tutorial
14 November 2022, TheServerSide.com

provided by Google News

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

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

Redis expands data management capabilities with Speedb acquisition – Blocks and Files
22 March 2024, Blocks and Files

In-memory database Redis wants to dabble in disk
19 October 2023, The Register

Linux Foundation Backs 'Valkey' Open-Source Fork of Redis
29 March 2024, Datanami

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

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

Neo4j logo

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

Present your product here