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. etcd vs. Google Cloud Firestore vs. TiDB

System Properties Comparison CockroachDB vs. etcd vs. Google Cloud Firestore vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonetcd  Xexclude from comparisonGoogle Cloud Firestore  Xexclude from comparisonTiDB  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.A distributed reliable key-value storeCloud Firestore is an auto-scaling document database for storing, syncing, and querying data for mobile and web apps. It offers seamless integration with other Firebase and Google Cloud Platform products.TiDB is an open source distributed Hybrid Transactional/Analytical Processing (HTAP) database that supports MySQL and Spark SQL syntaxes.
Primary database modelRelational DBMSKey-value storeDocument storeRelational DBMS
Secondary database modelsDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.73
Rank#59  Overall
#32  Relational DBMS
Score10.32
Rank#46  Overall
#5  Key-value stores
Score8.10
Rank#54  Overall
#9  Document stores
Score2.66
Rank#106  Overall
#53  Relational DBMS
Websitewww.cockroachlabs.cometcd.io
github.com/­etcd-io/­etcd
firebase.google.com/­products/­firestorepingcap.com
Technical documentationwww.cockroachlabs.com/­docsetcd.io/­docs
github.com/­etcd-io/­etcd/­tree/­master/­Documentation
firebase.google.com/­docs/­firestoredocs.pingcap.com/­tidb/­stable
DeveloperCockroach LabsGooglePingCAP, Inc.
Initial release201520172016
Current release21.1.2, June 20213.4, August 20195.0.1, April 2021
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoApache Version 2.0commercialOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenonoyesno
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
CockroachCloud: Get your applications to market faster with a fully managed CockroachDB instance. Leave the daily maintenance, security, and operations of your database to us, and spend more time building apps and running your business.TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageGoGoGo, Rust
Server operating systemsLinux
macOS
Windows
FreeBSD
Linux
Windows infoexperimental
hostedLinux
Data schemedynamic schemaschema-freeschema-freeyes
Typing infopredefined data types such as float or dateyesnoyesyes
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 indexesyesnoyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLnonoyes
APIs and other access methodsJDBCgRPC
JSON over HTTP
Android
gRPC (using protocol buffers) API
iOS
JavaScript API
RESTful HTTP API
JDBC
ODBC
Proprietary protocol
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
.Net
C
C++
Clojure
Erlang
Go
Haskell
Java
JavaScript (Node.js)
Perl
PHP
Python
R
Ruby
Rust
Scala
Tcl
Go
Java
JavaScript
JavaScript (Node.js)
Objective-C
Python
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
Server-side scripts infoStored proceduresnonoyes, Firebase Rules & Cloud Functionsno
Triggersnoyes, watching key changesyes, with Cloud Functionsno
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 RAFTShardinghorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.Multi-source replicationUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoUsing Cloud Dataflowyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesnonono infocurrently only supported in syntax
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDnoyesACID
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.nonono
User concepts infoAccess controlRole-based access controlnoAccess rights for users, groups and roles based on Google Cloud Identity and Access Management. Security Rules for 3rd party authentication using Firebase Auth.Users with fine-grained authorization concept. No user groups or roles.
More information provided by the system vendor
CockroachDBetcdGoogle Cloud FirestoreTiDB
Specific characteristicsCockroachDB is a cloud-native, distributed SQL database architected for modern applications....
» more
TiDB is an open-source NewSQL database built by PingCAP. TiDB supports Hybrid Transactional...
» more
Competitive advantages- EFFORTLESS SCALE: Scale your applications, not operational complexity. CockroachDB...
» more
In the current database landscape, infrastructure engineers often have to use one...
» more
Typical application scenariosSystem of record (financial ledger, inventory management, transaction record), identity...
» more
TiDB is designed to support both OLTP and OLAP scenarios. You can use TiDB , the...
» more
Key customersComcast, eBay, DoorDash, Mythical Games, Norfolk Southern, LUSH, Bose, Shipt, MyDoc,...
» more
Shopee (E-commerce) BookMyShow.com (E-commerce) Yiguo.com (E-commerce) JD Cloud &...
» more
Market metrics8K+ long-running clusters 1.2K+ CockroachDB Enterprise clusters 4K+ CockroachCloud...
» more
25K+ GitHub Stars for TiDB, and 8K+ GitHub Stars for TiKV 1.6K+ members in TiDB Community...
» more
Licensing and pricing models- Apache 2.0 for core features released up to and including the 19.1 release - Time-limited...
» more
Open Source Apache 2.0 with either commercial licensing or fully-hosted DB-as-a-service...
» more
News

PingCAP Announces Collaboration with the Advanced Software Technologies Lab at ETH Zürich to Explore DBMS Testing
20 September 2021

Getting Started with JuiceFS Using TiKV
17 September 2021

How to Run Chaos Experiments on Your Physical Machine
14 September 2021

Easy Local Development with TiDB
7 September 2021

TiDB 5.2 - Translytical Processing Made Easier and Faster
1 September 2021

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
CockroachDBetcdGoogle Cloud FirestoreTiDB
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

Yugabyte's double-decker DBaaS follows Cochroach in distributed RDBMS
24 September 2021, The Register

The CockroachDB EC-1
15 July 2021, TechCrunch

Scaling CockroachDB in the red ocean of relational databases
15 July 2021, TechCrunch

The DL on CockroachDB
24 July 2021, TechCrunch

Netflix Builds a Reliable, Scalable Platform with Event Sourcing, MQTT and Alpakka-Kafka
31 August 2021, InfoQ.com

provided by Google News

Dynatrace : Keeping an eye on your control plane is critical to ensuring the high availability and health of your self-managed OpenShift Container Platform
22 September 2021, marketscreener.com

All about performance: etcd 3.5 looks to make Kubernetes users happy • DEVCLASS
17 June 2021, DevClass

Distributed Key-Value Store etcd Graduates at CNCF
29 November 2020, InfoQ.com

A Kubernetes Operator for etcd
13 October 2020, InfoQ.com

Prioritizing Backup as Container Use Rises
20 September 2021, Container Journal

provided by Google News

An easier way to Flutter? Custom functions improve visual code builder but devs may still be frustrated
22 September 2021, The Register

How to build a chat application with firebase in flutter?
31 August 2021, Appinventiv

Google Launches New Data Protection Offerings
21 September 2021, Data & Storage Asean

Bigtable vs Bigquery - A Quick Overview
9 September 2021, Analytics India Magazine

IBM Cloud's Serverless Roadmap goes from soup to nuts
8 September 2021, ZDNet

provided by Google News

PingCAP announces Public Preview of TiDB Cloud USA - English
10 May 2021, PRNewswire

PingCAP, the open-source developer behind TiDB, closes $270 million Series D
17 November 2020, TechCrunch

PingCAP Announces TiDB Cloud, Bringing Fully-Managed TiDB Service to AWS and GCP
23 June 2020, PRNewswire

TiDB developer PingCAP wants to expand in North America after raising $50M Series C
11 September 2018, TechCrunch

How TiDB combines OLTP and OLAP in a distributed database
17 October 2018, InfoWorld

provided by Google News

Job opportunities

Senior Software Engineer
Netflix, Remote

Marketing Campaign Analyst
Cockroach Labs, United States

HR Business Partner, Revenue & Marketing
Cockroach Labs, Atlanta, NY

Database SRE
Hudson River Trading, Boulder, CO

Compliance Analyst
Cockroach Labs, United States

Infrastructure Admin
TCS, Irving, TX

Software Engineer, Data Streaming-Remote
TigerGraph, California

Software Engineer, Infrastructure (K8S)-Remote
TigerGraph, California

Cloud Infrastructure Engineer
Stonewall Defense, LLC, Troy, NY

Sr Cloud Infrastrucutre Engineer
Vacasa, Texas

Data Engineer I
AbleTo, New York State

Backend Node JS Engineer
FloSports, Austin, TX

TaaS - Full Stack Software Engineer
Ford Motor Company, Detroit, MI

Full Stack Software Engineer
Bicycle Health, California

Data Engineer
Monster Worldwide, Inc., Weston, MA

Software Engineer
PingCAP, Remote

Recruiter
PingCAP, San Mateo, CA

Field Marketing Specialist——Remote
PingCAP, San Mateo, CA

Business Pricing Strategy Manager- Remote
PingCAP, San Mateo, CA

Software Engineer, Storage and Caching
Pinterest, San Francisco, CA

jobs by Indeed



Share this page

Featured Products

Neo4j logo

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

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Couchbase logo

The modern database for enterprise applications. Build fast. Scale Big. Save more.
Get started today.

Datastax Astra logo

Build cloud-native apps fast with Astra, the open-source, multi-cloud stack for
modern data apps.
Get started with 5 GB free..

Present your product here