DB-EnginesEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > CockroachDB vs. DuckDB vs. Firebase Realtime Database

System Properties Comparison CockroachDB vs. DuckDB vs. Firebase Realtime Database

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonDuckDB  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.An embeddable, in-process, column-oriented SQL OLAP RDBMSCloud-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 DBMSRelational DBMSDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score4.19
Rank#67  Overall
#36  Relational DBMS
Score6.17
Rank#55  Overall
#33  Relational DBMS
Score13.06
Rank#39  Overall
#6  Document stores
Websitewww.cockroachlabs.comduckdb.orgfirebase.google.com/­products/­realtime-database
Technical documentationwww.cockroachlabs.com/­docsduckdb.org/­docsfirebase.google.com/­docs/­database
DeveloperCockroach LabsGoogle infoacquired by Google 2014
Initial release201520182012
Current release24.1.0, May 20241.0.0, June 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoMIT Licensecommercial
Cloud-based only infoOnly available as a cloud servicenonoyes
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageGoC++
Server operating systemsLinux
macOS
Windows
server-lesshosted
Data schemedynamic schemayesschema-free
Typing infopredefined data types such as float or dateyesyesyes
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.nonono
Secondary indexesyesyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLyesno
APIs and other access methodsJDBCArrow Database Connectivity (ADBC)
CLI Client
JDBC
ODBC
Android
iOS
JavaScript API
RESTful HTTP API
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
C
C# info3rd party driver
C++
Crystal info3rd party driver
Go info3rd party driver
Java
Lisp info3rd party driver
Python
R
Ruby info3rd party driver
Rust
Swift
Zig info3rd party driver
Java
JavaScript
Objective-C
Server-side scripts infoStored proceduresnonolimited functionality with using 'rules'
TriggersnonoCallbacks 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 RAFTnone
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyEventual Consistency infoif the client is offline
Immediate Consistency infoif the client is online
Foreign keys infoReferential integrityyesnono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDyes
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)yes
Durability infoSupport for making data persistentyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes
User concepts infoAccess controlRole-based access controlnoyes, 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
CockroachDBDuckDBFirebase 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 scurries off to proprietary software land
23 August 2024, The Register

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

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

provided by Google News

My First Billion (of Rows) in DuckDB
1 May 2024, Towards Data Science

A Guide to Data Analysis in Python with DuckDB
18 November 2024, KDnuggets

MotherDuck Announces Beta Release of pg_duckdb; Brings DuckDB's Analytics Power to PostgreSQL Users
24 October 2024, PR Newswire

Unleashing Postgres for Analytics With DuckDB Integration
24 July 2024, The New Stack

What's new in ArcGIS Data Interoperability at Pro 3.4
4 November 2024, Esri

provided by Google News

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

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

Supabase vs. Firebase: Which BaaS is Best for Your App?
14 August 2024, Netguru

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

provided by Google News



Share this page

Featured Products

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

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.

SingleStore logo

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

Present your product here