DB-EnginesExtremeDB: the mission critical dbmsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > CockroachDB vs. SingleStore vs. TiDB

System Properties Comparison CockroachDB vs. SingleStore vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonSingleStore infoformer name was MemSQL  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.MySQL wire-compliant distributed RDBMS that combines an in-memory row-oriented and a disc-based column-oriented storage with patented universal storage to handle transactional and analytical workloads in one single table typeTiDB is an open source distributed Hybrid Transactional/Analytical Processing (HTAP) database that supports MySQL and Spark SQL syntaxes.
Primary database modelRelational DBMSRelational DBMSRelational DBMS
Secondary database modelsDocument store
Spatial DBMS
Time Series DBMS
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score7.85
Rank#57  Overall
#33  Relational DBMS
Score7.04
Rank#61  Overall
#36  Relational DBMS
Score3.54
Rank#93  Overall
#49  Relational DBMS
Websitewww.cockroachlabs.comwww.singlestore.compingcap.com
Technical documentationwww.cockroachlabs.com/­docsdocs.singlestore.comdocs.pingcap.com/­tidb/­stable
DeveloperCockroach LabsSingleStore Inc.PingCAP, Inc.
Initial release201520132016
Current release21.1.2, June 20217.6, November 20215.0.1, April 2021
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availablecommercial infofree developer edition availableOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
CockroachDB: A cloud-native, distributed SQL database designed for speed, scale, and survival. Get started for free today with a fully-managed CockroachDB cluster -- leave operations behind and get your app to market faster.SingleStore Managed Service: The world's fastest, modern cloud database for both operational (OLTP) and analytical (OLAP) workloads. Available instantly with multi-cloud and hybrid-cloud capabilitiesTiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageGoC++, GoGo, Rust
Server operating systemsLinux
macOS
Windows
Linux info64 bit version requiredLinux
Data schemedynamic schemayesyes
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 PostgreSQLyes infobut no triggers and foreign keysyes
APIs and other access methodsJDBCCluster Management API infoas HTTP Rest and CLI
HTTP API
JDBC
ODBC
JDBC
ODBC
Proprietary protocol
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
Bash
C
C#
Java
JavaScript (Node.js)
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 proceduresnoyesno
Triggersnonono
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 infohash partitioninghorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTSource-replica replication infostores two copies of each physical data partition on two separate nodesUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnono infocan define user-defined aggregate functions for map-reduce-style calculationsyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesnono infocurrently only supported in syntax
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)yes
Durability infoSupport for making data persistentyesyes infoAll updates are persistent, including those to disk-based columnstores and memory-based row stores. Transaction commits are supported via write-ahead log.yes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesno
User concepts infoAccess controlRole-based access controlFine grained access control via users, groups and rolesUsers with fine-grained authorization concept. No user groups or roles.
More information provided by the system vendor
CockroachDBSingleStore infoformer name was MemSQLTiDB
Specific characteristicsCockroachDB is a cloud-native, distributed SQL database architected for modern applications....
» more
SingleStore offers a fully-managed , distributed, highly-scalable SQL database designed...
» 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
SingleStore’s competitive advantages include: Easy and Simplified Architecture with...
» 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
Driving Fast Analytics: SingleStore delivers the fastest and most scalable reporting...
» more
TiDB is designed to support both OLTP and OLAP scenarios. You can use TiDB , the...
» more
Key customersComcast, DoorDash, Mythical Games, Norfolk Southern, LUSH, Bose, Shipt, MyDoc, Bitski,...
» more
IEX Cloud : Improves Financial Data Distribution Speed 15x with Singlestore DB Comcast,...
» more
Shopee (E-commerce) BookMyShow.com (E-commerce) Yiguo.com (E-commerce) JD Cloud &...
» more
Market metrics8K+ long-running clusters 2.5K+ CockroachDB Self-Hosted clusters 15K+ CockroachDB...
» more
Customers in various industries worldwide including US and International Industry...
» 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
F ree Tier and Enterprise Edition
» more
Open Source Apache 2.0 with either commercial licensing or fully-hosted DB-as-a-service...
» more
News

TiDB Operator Source Code Reading (V): Backup and Restore
14 December 2021

Implementing Chaos Engineering in K8s: Chaos Mesh Principle Analysis and Control Plane Development
9 December 2021

TiDB 5.3: Delivering Enhancements for Data Intensive Applications
7 December 2021

Believe in the Multiplicative Power of Openness
30 November 2021

How to Connect TiDB Cloud to Metabase
24 November 2021

Related products and services

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

More resources
CockroachDBSingleStore infoformer name was MemSQLTiDB
DB-Engines blog posts

SingleStore: The Increasing Momentum of Multi-Model Database Systems
14 February 2022,  Akmal Chaudhri, SingleStore (sponsor) 

show all

Recent citations in the news

CockroachDB boosts automation in distributed SQL database
25 May 2022, TechTarget

O'Reilly Launches New Book: CockroachDB the Definitive Guide
10 May 2022, PR Newswire

How to deploy a CockroachDB cluster in secure mode
27 April 2022, TechRepublic

Cockroach Labs Named on Inc. Magazine's Annual List of Best Workplaces for 2022
11 May 2022, PR Newswire

CockroachDB database creator Cockroach Labs raises $278M
16 December 2021, VentureBeat

provided by Google News

SingleStore Leads Database Industry With Four Top Rated 2022 Awards From TrustRadius
12 May 2022, Business Wire

Storage facing trillion-row database apocalypse – Blocks and Files
28 April 2022, Blocks and Files

SQL Cloud Database and Dbaas Market Growth Strategies With Leading Players: IBM, Oracle, Alibaba Cloud., SAP, MongoDB,
27 May 2022, Digital Journal

Real-time database startup Imply reaches unicorn status with $100M infusion
17 May 2022, TechCrunch

Data Management News for the Week of May 6; Updates from AtScale, Immuta, SingleStore, and More
5 May 2022, Solutions Review

provided by Google News

PingCap brings TiDB distributed SQL HTAP database to cloud
11 May 2022, TechTarget

Takuya Hirano Joins PingCAP as an Executive Advisor
19 May 2022, PR Newswire

PingCAP Enhances Support for Data Intensive Applications with TiDB 5.3
7 December 2021, PR Newswire

PingCap TiDB 5.3 Supports Both High Volume Transaction Processing and Real-Time Analytics
4 January 2022, Database Trends and Applications

PingCAP Introduces its New Developer Tier to Boost Application Innovation with TiDB Cloud
9 November 2021, PR Newswire

provided by Google News

Job opportunities

Customer Success Manager (Atlanta, GA)
Cockroach Labs, Atlanta, GA

Product Manager, Rotational Program
Cockroach Labs, New York, NY

Manager, Campus Recruiting & Programs
Cockroach Labs, New York, NY

Control Plane Developer
StackPath, Dallas, TX

Cloud Software Engineer
JPMorgan Chase Bank, N.A., Jersey City, NJ

Software Engineer, Frontend - University Graduate
SingleStore, San Francisco, CA

Software Engineer, Frontend - University Graduate
SingleStore, Seattle, WA

REMOTE - ADVISOR, DATABASE ADMINISTRATOR -TEXAS
MAGRABBIT, Austin, TX

Talend Data Engineer
Morgan Stanley, Alpharetta, GA

Software Engineer II (backend)
AT&T, Boston, MA

Engineering Manager - Lending, Cash App
Cash App, New York, NY

Sales Account Executive- Remote
PingCAP, Remote

Senior Manager of Digital Marketing and Demand Generation
PingCAP, Remote

Software Engineer - Availability, Cash App
Cash App, New York, NY

Software Engineer - Cash Cards
Cash App, New York, NY

jobs by Indeed



Share this page

Featured Products

Datastax Astra logo

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

Neo4j logo

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

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Vertica logo

Vertica Accelerator. The fastest analytics and machine learning, delivered as SaaS, with automated setup, administration, and management. Free trial.

Redis logo

The world’s most loved real‑time data platform.
Try free

Present your product here