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

DBMS > CockroachDB vs. Firebase Realtime Database vs. Riak KV vs. STSdb

System Properties Comparison CockroachDB vs. Firebase Realtime Database vs. Riak KV vs. STSdb

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonFirebase Realtime Database  Xexclude from comparisonRiak KV  Xexclude from comparisonSTSdb  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.Distributed, fault tolerant key-value storeKey-Value Store with special method for indexing infooptimized for high performance using a special indexing method
Primary database modelRelational DBMSDocument storeKey-value store infowith links between data sets and object tags for the creation of secondary indexesKey-value store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score5.73
Rank#58  Overall
#34  Relational DBMS
Score13.64
Rank#39  Overall
#6  Document stores
Score4.01
Rank#79  Overall
#9  Key-value stores
Score0.10
Rank#357  Overall
#51  Key-value stores
Websitewww.cockroachlabs.comfirebase.google.com/­products/­realtime-databasegithub.com/­STSSoft/­STSdb4
Technical documentationwww.cockroachlabs.com/­docsfirebase.google.com/­docs/­databasewww.tiot.jp/­riak-docs/­riak/­kv/­latest
DeveloperCockroach LabsGoogle infoacquired by Google 2014OpenSource, formerly Basho TechnologiesSTS Soft SC
Initial release2015201220092011
Current release24.1.0, May 20243.2.0, December 20224.0.8, September 2015
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availablecommercialOpen Source infoApache version 2, commercial enterprise editionOpen Source infoGPLv2, commercial license available
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 languageGoErlangC#
Server operating systemsLinux
macOS
Windows
hostedLinux
OS X
Windows
Data schemedynamic schemaschema-freeschema-freeyes
Typing infopredefined data types such as float or dateyesyesnoyes infoprimitive types and user defined types (classes)
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 indexesyesyesrestrictedno
SQL infoSupport of SQLyes, wire compatible with PostgreSQLnonono
APIs and other access methodsJDBCAndroid
iOS
JavaScript API
RESTful HTTP API
HTTP API
Native Erlang Interface
.NET Client API
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
Java
JavaScript
Objective-C
C infounofficial client library
C#
C++ infounofficial client library
Clojure infounofficial client library
Dart infounofficial client library
Erlang
Go infounofficial client library
Groovy infounofficial client library
Haskell infounofficial client library
Java
JavaScript infounofficial client library
Lisp infounofficial client library
Perl infounofficial client library
PHP
Python
Ruby
Scala infounofficial client library
Smalltalk infounofficial client library
C#
Java
Server-side scripts infoStored proceduresnolimited functionality with using 'rules'Erlangno
TriggersnoCallbacks are triggered when data changesyes infopre-commit hooks and post-commit hooksno
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 infono "single point of failure"none
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTselectable replication factornone
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
Eventual Consistency
Foreign keys infoReferential integrityyesnono infolinks between data sets can be storedno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDyesnono
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
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.no
User concepts infoAccess controlRole-based access controlyes, based on authentication and database rulesyes, using Riak Securityno

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 DatabaseRiak KVSTSdb
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

Cockroach Labs Deepens Partnership with Google Cloud, CockroachDB Selected to Join Google Distributed Cloud
9 April 2024, PR Newswire

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

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

DoorDash Uses CockroachDB to Create Config Management Platform for Microservices
14 February 2024, InfoQ.com

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

provided by Google 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

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

provided by Google News

Basho Revamps Riak Open-Source Database
22 September 2023, InformationWeek

A Critique of Resizable Hash Tables: Riak Core & Random Slicing
26 August 2018, InfoQ.com

Basho to Bolster Riak with DB Plug-Ins
5 May 2014, Datanami

Riak NoSQL snapped up by Bet365
12 September 2017, ComputerWeekly.com

Basho launches complete NoSQL software kit - DCD
28 May 2015, DatacenterDynamics

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

Neo4j logo

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

Milvus logo

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

Present your product here