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

DBMS > CockroachDB vs. Firebase Realtime Database

System Properties Comparison CockroachDB vs. Firebase Realtime Database

Please select another system to include it in the comparison.

Our visitors often compare CockroachDB and Firebase Realtime Database with PostgreSQL, MySQL and MongoDB.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonFirebase Realtime Database  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.
Primary database modelRelational DBMSDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score4.85
Rank#64  Overall
#36  Relational DBMS
Score13.59
Rank#39  Overall
#6  Document stores
Websitewww.cockroachlabs.comfirebase.google.com/­products/­realtime-database
Technical documentationwww.cockroachlabs.com/­docsfirebase.google.com/­docs/­database
DeveloperCockroach LabsGoogle infoacquired by Google 2014
Initial release20152012
Current release24.1.0, May 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availablecommercial
Cloud-based only infoOnly available as a cloud servicenoyes
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageGo
Server operating systemsLinux
macOS
Windows
hosted
Data schemedynamic schemaschema-free
Typing infopredefined data types such as float or dateyesyes
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.nono
Secondary indexesyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLno
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
Server-side scripts infoStored proceduresnolimited functionality with using 'rules'
TriggersnoCallbacks are triggered when data changes
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 RAFT
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFT
MapReduce infoOffers an API for user-defined Map/Reduce methodsnono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency infoif the client is offline
Immediate Consistency infoif the client is online
Foreign keys infoReferential integrityyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDyes
Concurrency infoSupport for concurrent manipulation of datayesyes
Durability infoSupport for making data persistentyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.no
User concepts infoAccess controlRole-based access controlyes, based on authentication and database rules

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 Database
DB-Engines blog posts

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

show all

Recent citations in the news

AI Meets Resilience: Cockroach Labs Intros CockroachDB 24.2
2 October 2024, Channel Insider

Cockroach Labs shakes up its licensing to force bigger companies to pay
15 August 2024, TechCrunch

CockroachDB scuttles away from open source Core offering
19 August 2024, The Register

CockroachDB retires self-hosted Core offering, makes Enterprise version free for companies under $10M in annual revenue
15 August 2024, SDTimes.com

Now CockroachDB Ditches Open-Source License
20 August 2024, It's FOSS News

provided by Google News

Instant harkens back to a pre-Google Firebase
2 October 2024, TechCrunch

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

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

Misconfigured Firebase instances leaked 19 million plaintext passwords
19 March 2024, BleepingComputer

Researcher reveals ‘catastrophic’ security flaw in the Arc browser
20 September 2024, The Verge

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

The data platform to build your intelligent applications.
Try it 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