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. Oracle Berkeley DB vs. Redis vs. Spark SQL vs. TerarkDB

System Properties Comparison Firebase Realtime Database vs. Oracle Berkeley DB vs. Redis vs. Spark SQL vs. TerarkDB

Editorial information provided by DB-Engines
NameFirebase Realtime Database  Xexclude from comparisonOracle Berkeley DB  Xexclude from comparisonRedis  Xexclude from comparisonSpark SQL  Xexclude from comparisonTerarkDB  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.Widely used in-process key-value storePopular 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.Spark SQL is a component on top of 'Spark Core' for structured data processingA key-value store forked from RocksDB with advanced compression algorithms. It can be used standalone or as a storage engine for MySQL and MongoDB
Primary database modelDocument storeKey-value store infosupports sorted and unsorted key sets
Native XML DBMS infoin the Oracle Berkeley DB XML version
Key-value store infoMultiple data types and a rich set of operations, as well as configurable data expiration, eviction and persistenceRelational DBMSKey-value store
Secondary database modelsDocument 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
Score14.29
Rank#39  Overall
#6  Document stores
Score2.21
Rank#117  Overall
#20  Key-value stores
#3  Native XML DBMS
Score157.80
Rank#6  Overall
#1  Key-value stores
Score18.96
Rank#33  Overall
#20  Relational DBMS
Score0.00
Rank#383  Overall
#60  Key-value stores
Websitefirebase.google.com/­products/­realtime-databasewww.oracle.com/­database/­technologies/­related/­berkeleydb.htmlredis.com
redis.io
spark.apache.org/­sqlgithub.com/­bytedance/­terarkdb
Technical documentationfirebase.google.com/­docs/­databasedocs.oracle.com/­cd/­E17076_05/­html/­index.htmldocs.redis.com/­latest/­index.html
redis.io/­docs
spark.apache.org/­docs/­latest/­sql-programming-guide.htmlbytedance.larkoffice.com/­docs/­doccnZmYFqHBm06BbvYgjsHHcKc
DeveloperGoogle infoacquired by Google 2014Oracle infooriginally developed by Sleepycat, which was acquired by OracleRedis project core team, inspired by Salvatore Sanfilippo infoDevelopment sponsored by Redis Inc.Apache Software FoundationByteDance, originally Terark
Initial release20121994200920142016
Current release18.1.40, May 20207.2.4, January 20243.5.0 ( 2.13), September 2023
License infoCommercial or Open SourcecommercialOpen Source infocommercial license availableOpen Source infosource-available extensions (modules), commercial licenses for Redis EnterpriseOpen Source infoApache 2.0commercial inforestricted open source version available
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 languageC, Java, C++ (depending on the Berkeley DB edition)CScalaC++
Server operating systemshostedAIX
Android
FreeBSD
iOS
Linux
OS X
Solaris
VxWorks
Windows
BSD
Linux
OS X
Windows infoported and maintained by Microsoft Open Technologies, Inc.
Linux
OS X
Windows
Data schemeschema-freeschema-freeschema-freeyesschema-free
Typing infopredefined data types such as float or dateyesnopartial infoSupported data types are strings, hashes, lists, sets and sorted sets, bit arrays, hyperloglogs and geospatial indexesyesno
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 infoonly with the Berkeley DB XML editionnonono
Secondary indexesyesyesyes infowith RediSearch modulenono
SQL infoSupport of SQLnoyes infoSQL interfaced based on SQLite is availablewith RediSQL moduleSQL-like DML and DDL statementsno
APIs and other access methodsAndroid
iOS
JavaScript API
RESTful HTTP API
proprietary protocol infoRESP - REdis Serialization ProtocolJDBC
ODBC
C++ API
Java API
Supported programming languagesJava
JavaScript
Objective-C
.Net infoFigaro is a .Net framework assembly that extends Berkeley DB XML into an embeddable database engine for .NET
others infoThird-party libraries to manipulate Berkeley DB files are available for many languages
C
C#
C++
Java
JavaScript (Node.js) info3rd party binding
Perl
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
Java
Python
R
Scala
C++
Java
Server-side scripts infoStored procedureslimited functionality with using 'rules'noLua; Redis Functions coming in Redis 7 (slides and Github)nono
TriggersCallbacks are triggered when data changesyes infoonly for the SQL APIpublish/subscribe channels provide some trigger functionality; RedisGearsnono
Partitioning methods infoMethods for storing different data on different nodesnoneSharding infoAutomatic hash-based sharding with support for hash-tags for manual shardingyes, utilizing Spark Corenone
Replication methods infoMethods for redundantly storing data on multiple nodesSource-replica replicationMulti-source replication infowith Redis Enterprise Pack
Source-replica replication infoChained replication is supported
nonenone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonothrough RedisGearsno
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency infoif the client is offline
Immediate Consistency infoif the client is online
Eventual Consistency
Causal consistency can be enabled in Active-Active databases
Strong consistency with Redis Raft
Strong eventual consistency with Active-Active
Foreign keys infoReferential integritynonononono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayesACIDAtomic execution of command blocks and scripts and optimistic lockingnono
Concurrency infoSupport for concurrent manipulation of datayesyes infoData access is serialized by the serveryesyes
Durability infoSupport for making data persistentyesyesyes 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.yesyesnoyes
User concepts infoAccess controlyes, based on authentication and database rulesnoAccess 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
nono

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 partiesCData: 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

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

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

More resources
Firebase Realtime DatabaseOracle Berkeley DBRedisSpark SQLTerarkDB
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

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

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 Firebase may have exposed 125M records from misconfigurations
19 March 2024, SC Media

provided by Google News

ACM recognizes far-reaching technical achievements with special awards
26 May 2021, EurekAlert

Database Trends Report: SQL Beats NoSQL, MySQL Most Popular -- ADTmag
5 March 2019, ADT Magazine

The importance of bitcoin nodes and how to start one
9 May 2014, The Merkle News

The stable version of AlmaLinux 9.0 has already been released
26 May 2022, Linux Adictos

provided by Google News

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

Boosting throughput for cloud databases
29 April 2024, The Register

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

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

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

provided by Google News

Use Amazon Athena with Spark SQL for your open-source transactional table formats | Amazon Web Services
24 January 2024, AWS Blog

What is Apache Spark? The big data platform that crushed Hadoop
3 April 2024, InfoWorld

Cracking the Apache Spark Interview: 80+ Top Questions and Answers for 2024
1 April 2024, Simplilearn

Feature Engineering for Time-Series Using PySpark on Databricks
8 May 2024, Towards Data Science

18 Top Big Data Tools and Technologies to Know About in 2024
24 January 2024, TechTarget

provided by Google News

A Chinese company is making the cloud 200x faster · TechNode
3 July 2017, TechNode

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

Milvus logo

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

SingleStore logo

Database for your real-time AI and Analytics Apps.
Try it today.

Neo4j logo

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

RaimaDB logo

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

Present your product here