DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > CockroachDB vs. Firebase Realtime Database vs. RethinkDB vs. SwayDB

System Properties Comparison CockroachDB vs. Firebase Realtime Database vs. RethinkDB vs. SwayDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonFirebase Realtime Database  Xexclude from comparisonRethinkDB  Xexclude from comparisonSwayDB  Xexclude from comparison
DescriptionCockroachDB is a distributed database architected for modern cloud applications. It is wire compatible with PostgreSQL and backed by a Key-Value Store, which is either RocksDB or a purpose-built derivative, called Pebble.Cloud-hosted realtime document store. iOS, Android, and JavaScript clients share one Realtime Database instance and automatically receive updates with the newest data.DBMS for the Web with a mechanism to push updated query results to applications in realtime.An embeddable, non-blocking, type-safe key-value store for single or multiple disks and in-memory storage
Primary database modelRelational DBMSDocument storeDocument storeKey-value store
Secondary database modelsSpatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.15
Rank#55  Overall
#33  Relational DBMS
Score14.29
Rank#39  Overall
#6  Document stores
Score2.74
Rank#105  Overall
#19  Document stores
Score0.00
Rank#382  Overall
#59  Key-value stores
Websitewww.cockroachlabs.comfirebase.google.com/­products/­realtime-databaserethinkdb.comswaydb.simer.au
Technical documentationwww.cockroachlabs.com/­docsfirebase.google.com/­docs/­databaserethinkdb.com/­docs
DeveloperCockroach LabsGoogle infoacquired by Google 2014The Linux Foundation infosince July 2017Simer Plaha
Initial release2015201220092018
Current release23.1.1, May 20232.4.1, August 2020
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availablecommercialOpen Source infoApache Version 2Open Source infoGNU Affero GPL V3.0
Cloud-based only infoOnly available as a cloud servicenoyesnono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageGoC++Scala
Server operating systemsLinux
macOS
Windows
hostedLinux
OS X
Windows
Data schemedynamic schemaschema-freeschema-freeschema-free
Typing infopredefined data types such as float or dateyesyesyes infostring, binary, float, bool, date, geometryno
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.nononono
Secondary indexesyesyesyesno
SQL infoSupport of SQLyes, wire compatible with PostgreSQLnonono
APIs and other access methodsJDBCAndroid
iOS
JavaScript API
RESTful HTTP API
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
Java
JavaScript
Objective-C
C infocommunity-supported driver
C# infocommunity-supported driver
C++ infocommunity-supported driver
Clojure infocommunity-supported driver
Dart infocommunity-supported driver
Erlang infocommunity-supported driver
Go infocommunity-supported driver
Haskell infocommunity-supported driver
Java infoofficial driver
JavaScript (Node.js) infoofficial driver
Lisp infocommunity-supported driver
Lua infocommunity-supported driver
Objective-C infocommunity-supported driver
Perl infocommunity-supported driver
PHP infocommunity-supported driver
Python infoofficial driver
Ruby infoofficial driver
Scala infocommunity-supported driver
Java
Kotlin
Scala
Server-side scripts infoStored proceduresnolimited functionality with using 'rules'no
TriggersnoCallbacks are triggered when data changesClient-side triggers through changefeedsno
Partitioning methods infoMethods for storing different data on different nodeshorizontal partitioning (by key range) infoall tables are translated to an ordered KV store and then broken down into 64MB ranges, which are then used as replicas in RAFTSharding inforange basednone
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTSource-replica replicationnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency infoif the client is offline
Immediate Consistency infoif the client is online
Immediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesnonono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDyesAtomic single-document operationsAtomic execution of operations
Concurrency infoSupport for concurrent manipulation of datayesyesyes infoMVCC basedyes
Durability infoSupport for making data persistentyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nonoyes
User concepts infoAccess controlRole-based access controlyes, based on authentication and database rulesyes infousers and table-level permissionsno

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

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

More resources
CockroachDBFirebase Realtime DatabaseRethinkDBSwayDB
DB-Engines blog posts

Cloud-based DBMS's popularity grows at high rates
12 December 2019, Paul Andlinger

show all

Meet some database management systems you are likely to hear more about in the future
4 August 2014, Paul Andlinger

show all

Recent citations in the news

CockroachDB 23.2 Enhances Enterprise Architectures with Improved Postgres Compatibility and Built-in Resilience
18 January 2024, PR Newswire

CockroachDB tempts legacy databases to crawl into the cloud age
29 January 2024, The Register

How to Unlock Real-Time Data Streams with CockroachDB and Amazon MSK | Amazon Web Services
6 November 2023, AWS Blog

How DoorDash Migrated from Aurora Postgres to CockroachDB
5 December 2023, The New Stack

CockroachDB's Latest Enhancements Focus on Resilience
18 January 2024, Database Trends and Applications

provided by Google News

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

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

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

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

Hundreds of Google Firebase websites might have leaked data online
19 March 2024, TechRadar

provided by Google News

How to Use RethinkDB with Node.js Applications — SitePoint
16 December 2015, SitePoint

Stripe acquires team behind NoSQL database startup RethinkDB
5 October 2016, VentureBeat

MongoDB: The Popular Database for IoT
15 August 2023, Open Source For You

RethinkDB is dead, and MongoDB isn't what killed it
24 January 2017, TechRepublic

Review: RethinkDB rethinks real-time Web apps
23 September 2015, InfoWorld

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

SingleStore logo

The database to transact, analyze and contextualize your data in real time.
Try it today.

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.

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

Present your product here