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. TerarkDB vs. YDB

System Properties Comparison CockroachDB vs. Microsoft SQL Server vs. TerarkDB vs. YDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonMicrosoft SQL Server  Xexclude from comparisonTerarkDB  Xexclude from comparisonYDB  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 DBMSA key-value store forked from RocksDB with advanced compression algorithms. It can be used standalone or as a storage engine for MySQL and MongoDBA distributed fault-tolerant database service, with high availability, scalability, immediate consistency and ACID transactions and providing an Amazon DynamoDB compatible API
Primary database modelRelational DBMSRelational DBMSKey-value storeDocument store
Relational DBMS
Secondary database modelsDocument store
Graph DBMS
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.10
Rank#58  Overall
#33  Relational DBMS
Score829.80
Rank#3  Overall
#3  Relational DBMS
Score0.04
Rank#377  Overall
#58  Key-value stores
Score0.34
Rank#285  Overall
#43  Document stores
#130  Relational DBMS
Websitewww.cockroachlabs.comwww.microsoft.com/­en-us/­sql-servergithub.com/­bytedance/­terarkdbgithub.com/­ydb-platform/­ydb
ydb.tech
Technical documentationwww.cockroachlabs.com/­docslearn.microsoft.com/­en-US/­sql/­sql-serverbytedance.larkoffice.com/­docs/­doccnZmYFqHBm06BbvYgjsHHcKcydb.tech/­en/­docs
DeveloperCockroach LabsMicrosoftByteDance, originally TerarkYandex
Initial release2015198920162019
Current release23.1.1, May 2023SQL Server 2022, November 2022
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availablecommercial inforestricted free version is availablecommercial inforestricted open source version availableOpen Source infoApache 2.0; commercial license available
Cloud-based only infoOnly available as a cloud servicenononono
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.
Implementation languageGoC++C++
Server operating systemsLinux
macOS
Windows
Linux
Windows
Linux
Data schemedynamic schemayesschema-freeFlexible Schema (defined schema, partial schema, schema free)
Typing infopredefined data types such as float or dateyesyesnoyes
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.noyesnono
Secondary indexesyesyesnoyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLyesnoSQL-like query language (YQL)
APIs and other access methodsJDBCADO.NET
JDBC
ODBC
OLE DB
Tabular Data Stream (TDS)
C++ API
Java API
RESTful HTTP API (DynamoDB compatible)
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
C++
Java
Go
Java
JavaScript (Node.js)
PHP
Python
Server-side scripts infoStored proceduresnoTransact SQL, .NET languages, R, Python and (with SQL Server 2019) Javanono
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 federationnoneSharding
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTyes, but depending on the SQL-Server EditionnoneActive-passive shard replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyesnono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDnoACID
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.noyesyesno
User concepts infoAccess controlRole-based access controlfine grained access rights according to SQL-standardnoAccess rights defined for Yandex Cloud users
More information provided by the system vendor
CockroachDBMicrosoft SQL ServerTerarkDBYDB
Specific characteristicsCockroachDB is a cloud-native, distributed SQL database architected for modern applications....
» more
Competitive advantages- EFFORTLESS SCALE: Scale your applications, not operational complexity. CockroachDB...
» more
Typical application scenariosPayment processing, user account management, metadata management, identity access...
» more
Key customersComcast, DoorDash, Mythical Games, Norfolk Southern, Netflix, LUSH, Bose, Shipt,...
» more
Market metrics12K+ long-running clusters 25K+ CockroachDB self-hosted clusters 75K+ CockroachDB...
» more
Licensing and pricing models- Apache 2.0 for core features released up to and including the 19.1 release - Time-limited...
» 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 partiesNavicat Monitor is a safe, simple and agentless remote server monitoring tool for SQL Server and many other database management systems.
» 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 ServerTerarkDBYDB
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

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

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

CockroachDB's Latest Enhancements Focus on Resilience
18 January 2024, Database Trends and Applications

provided by Google News

Install and Use SQL Server Report Builder
10 April 2024, Petri.com

Provision Premium SSD v2 Storage for Microsoft SQL Server
1 April 2024, Microsoft

Containerize SQL Server workloads with Amazon EKS and DH2i | Amazon Web Services
28 March 2024, AWS Blog

A tumultuous, titanic Patch Tuesday as Microsoft makes some changes
10 April 2024, news.sophos.com

Deploying a highly available Microsoft SQL Server database on Oracle Cloud Infrastructure (OCI) using AlwaysON ...
9 October 2023, blogs.oracle.com

provided by Google News

A Chinese company is making the cloud 200x faster · TechNode
3 July 2017, TechNode

provided by Google News

Personal Data Protection Service Initiates Probe into Yandex.Go App’s Data Processing
10 August 2023, Civil Georgia

Data leak from Russian delivery app shows dining habits of the secret police
3 April 2022, The Verge

Yandex code leak: Why hack of ‘Russian Google’s’ ranking factors has spooked the SEO industry
1 February 2023, The Indian Express

Russian secret police data leaked by food delivery app including where they live and what they eat...
4 April 2022, The US Sun

provided by Google News



Share this page

Featured Products

Ontotext logo

GraphDB allows you to link diverse data, index it for semantic search and enrich it via text analysis to build big knowledge graphs. Get it free.

SingleStore logo

Build AI apps with Vectors on SQL and JSON with milliseconds response times.
Try it today.

Milvus logo

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

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online 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

Present your product here