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. Microsoft SQL Server vs. TiDB

System Properties Comparison CockroachDB vs. Microsoft SQL Server vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonMicrosoft SQL Server  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.Microsofts flagship relational DBMSTiDB 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
Graph DBMS
Spatial DBMS
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score7.40
Rank#58  Overall
#34  Relational DBMS
Score924.35
Rank#3  Overall
#3  Relational DBMS
Score3.52
Rank#98  Overall
#49  Relational DBMS
Websitewww.cockroachlabs.comwww.microsoft.com/­en-us/­sql-serverpingcap.com
Technical documentationwww.cockroachlabs.com/­docsdocs.microsoft.com/­en-US/­sql/­sql-serverdocs.pingcap.com/­tidb/­stable
DeveloperCockroach LabsMicrosoftPingCAP, Inc.
Initial release201519892016
Current release21.1.2, June 2021SQL Server 2019, November 20196.4.0, November 2022
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availablecommercial inforestricted free version is 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.TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageGoC++Go, Rust
Server operating systemsLinux
macOS
Windows
Linux
Windows
Linux
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.noyesno
Secondary indexesyesyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLyesyes
APIs and other access methodsJDBCADO.NET
JDBC
ODBC
OLE DB
Tabular Data Stream (TDS)
JDBC
ODBC
Proprietary protocol
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
C#
C++
Delphi
Go
Java
JavaScript (Node.js)
PHP
Python
R
Ruby
Visual Basic
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 proceduresnoTransact SQL, .NET languages, R, Python and (with SQL Server 2019) Javano
Triggersnoyesno
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 RAFTtables can be distributed across several files (horizontal partitioning); sharding through federationhorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTyes, but depending on the SQL-Server EditionUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyesno infocurrently only supported in syntax
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes
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.noyesno
User concepts infoAccess controlRole-based access controlfine grained access rights according to SQL-standardUsers with fine-grained authorization concept. No user groups or roles.
More information provided by the system vendor
CockroachDBMicrosoft SQL ServerTiDB
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, DoorDash, Mythical Games, Norfolk Southern, LUSH, Bose, Shipt, Bitski, Five9,...
» 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 20K+ CockroachDB...
» 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

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
3rd partiesSQLFlow: Provides a visual representation of the overall flow of data. Automated SQL data lineage analysis across Databases, ETL, Business Intelligence, Cloud and Hadoop environments by parsing SQL Script and stored procedure.
» more

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for SQL Server and many other database management systems.
» more

SQL Complete: An advanced IntelliSense-style code completion add-in for SSMS and Visual Studio. Write, beautify, refactor your SQL code and give your productivity a dramatic boost.
» more

Navicat for SQL Server gives you a fully graphical approach to database management and development.
» more

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

More resources
CockroachDBMicrosoft SQL ServerTiDB
DB-Engines blog posts

MySQL is the DBMS of the Year 2019
3 January 2020, Matthias Gelbmann, Paul Andlinger

The struggle for the hegemony in Oracle's database empire
2 May 2017, Paul Andlinger

Microsoft SQL Server is the DBMS of the Year
4 January 2017, Matthias Gelbmann, Paul Andlinger

show all

Recent citations in the news

CockroachDB brings user-defined functions to distributed SQL
8 December 2022, TechTarget

In Conversation with Spencer Kimball, CEO, Cockroach Labs
17 November 2022, Matt Turck

Cockroach Labs debuts serverless edition of its popular CockroachDB database
21 September 2022, SiliconANGLE News

CockroachDB adds command line tool as database hits version 22.1
24 May 2022, The Register

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

provided by Google News

Microsoft’s SQL Server 2022 is all about Azure
16 November 2022, TechCrunch

New Windows 11 bug may prevent users from connecting to databases using SQL Server
6 December 2022, XDA Developers

Non-relational SQL Market Size, Current Insights and Development Trends | Top Key Players, Production Capacity Estimates, Competitive Strategy Analysis | 2023-2027
7 December 2022, Digital Journal

DH2i Adds Container Sidecar Option to SQL Server HA Platform
22 November 2022, Container Journal

10 Best SQL Editor Tools in the Market
18 November 2022, Built In

provided by Google News

The Rise of the Kubernetes Native Database
8 December 2022, thenewstack.io

PingCAP Named a Strong Performer among Translytical Data Platforms by Independent Research Firm
6 December 2022, StreetInsider.com

PingCAP Announces TiDB Cloud Serverless Tier, Delivering Affordable HTAP Database Service to Developers
1 November 2022, GlobeNewswire

PingCAP’s Innovative TiDB Database – Techstrong.TV
20 October 2022, DevOps.com

PingCAP's TiDB Cloud Launches on Google Cloud Marketplace to Reach Developers Globally
7 June 2022, Yahoo Finance

provided by Google News

Job opportunities

Web Developer PHP/SQL
Round Sky, Las Vegas, NV

Distributed Systems Engineer (L4) - Data Platform
Netflix, Remote

.NET Developer
Skillspark AB, Remote

Software Engineer - Big Data
JPMorgan Chase Bank, N.A., Jersey City, NJ

Java/Spring Boot Software Engineering
JPMorgan Chase Bank, N.A., Chicago, IL

ETL SSIS SQL Server Data Engineer
Tek Ninjas, Minneapolis, MN

SQL Server DBA
Agelix Consulting, Remote

SQL Server Developer
Convazant, Remote

SQL Server DBA
Viviente Software, Floresville, TX

SQL Server Developer
Retail Backbone, Remote

Senior Software Engineer, Database
Airbnb, San Francisco, CA

Senior Product Manager - Data Platform
PingCAP, Remote

Developer Relations and Product Evangelist
PingCAP, San Francisco Bay Area, CA

Senior Demand Generation Marketing Manager
PingCAP, Sunnyvale, CA

Sales Account Executive- Remote
PingCAP, Seattle, WA

jobs by Indeed



Share this page

Featured Products

Vertica logo

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

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.

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Neo4j logo

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

Redis logo

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

Present your product here