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

CockroachDB System Properties

Please select another system to compare it with CockroachDB.

Our visitors often compare CockroachDB with YugabyteDB, TiDB and MySQL.

Editorial information provided by DB-Engines
NameCockroachDB
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.
Primary database modelRelational DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score7.85
Rank#57  Overall
#33  Relational DBMS
Websitewww.cockroachlabs.com
Technical documentationwww.cockroachlabs.com/­docs
DeveloperCockroach Labs
Initial release2015
Current release21.1.2, June 2021
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license available
Cloud-based only infoOnly available as a cloud serviceno
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 languageGo
Server operating systemsLinux
macOS
Windows
Data schemedynamic schema
Typing infopredefined data types such as float or dateyes
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.no
Secondary indexesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQL
APIs and other access methodsJDBC
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
Server-side scripts infoStored proceduresno
Triggersno
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 RAFT
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFT
MapReduce infoOffers an API for user-defined Map/Reduce methodsno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate Consistency
Foreign keys infoReferential integrityyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID
Concurrency infoSupport for concurrent manipulation of datayes
Durability infoSupport for making data persistentyes
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 control
More information provided by the system vendor
CockroachDB
Specific characteristics

CockroachDB is a cloud-native, distributed SQL database architected for modern applications. It implements a standard, developer-friendly SQL interface and provides linear, automated scale for your data without the labor intensive overhead of manual sharding. CockroachDB replicates data across multiple nodes so that even with the loss of a node or region, you can be sure data is always available and transactions can always be committed. It guarantees distributed, transactional consistency at local and global scale and provides the ability to tie data to a location so you can counter latency issues and comply with data privacy regulations. Cockroach Labs has four software products (CockroachDB Core, CockroachDB Serverless, CockroachDB Dedicated, and CockroachDB Self-Hosted) and an educational offering (Cockroach University).

Competitive advantages
- EFFORTLESS SCALE: Scale your applications, not operational complexity. CockroachDB scales without manual operation, eliminates overhead associated with manual sharding, and balances server utilization to reduce costs.
- BULLETPROOF RESILIENCE: Ensure your apps are always on and available. CockroachDB survives system failures without interruption, reduces the need for complex and costly backup configurations, and eliminates the risk of losing data.
- ENSURED CONSISTENCY: Guarantee transactional consistency in distributed SQL. CockroachDB ensures all your data is always correct and up-to-date, guarantees serializable isolation, and applies a cost-based optimizer and query planner to distributed workloads.
- GEO-LOCALITY: Give your data a location. CockroachDB is the only database that assigns data to a location allowing you to reduce latencies, move data close to your customers, and remain globally compliant.
Typical application scenarios

System of record (financial ledger, inventory management, transaction record), identity access management (IAM), metadata layer, general purpose DB

Key customers

Comcast, DoorDash, Mythical Games, Norfolk Southern, LUSH, Bose, Shipt, MyDoc, Bitski, Five9, Kami, AllSaints, Tokopedia, Devsisters, Nubank, Peoople, Starburst Data, HardRock Digital

Market metrics
8K+ long-running clusters
2.5K+ CockroachDB Self-Hosted clusters
15K+ CockroachDB Dedicated clusters
45K+ enrolled in Cockroach University
24K+ GitHub Stars
5K+ members in CockroachDB Community Slack
Licensing and pricing models
- Apache 2.0 for core features released up to and including the 19.1 release
- Time-limited Business Source License (BSL) for core features released in and after the 19.2 release. After three years, the license converts to the standard Apache 2.0 license. The three-year restriction is applied on a rolling basis for each release.
- Cockroach Community License (CCL) for enterprise features in perpetuity

Related products and services

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

More resources
CockroachDB
Recent citations in the news

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

How to deploy a CockroachDB Cluster with Ubuntu Server 20.04
20 April 2022, TechRepublic

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

Leading Distributed Database Company, Cockroach Labs Expands into EMEA
27 April 2022, PR Newswire

CockroachDB: The Definitive Guide
15 May 2022, Database Trends and Applications

provided by Google News

Job opportunities

Full Stack Engineer
Intone Networks, Remote

Java Software Engineer
JPMorgan Chase Bank, N.A., Columbus, OH

Database Administrator - Team Lead
Akuna Capital, Chicago, IL

Java Software Engineer
JPMorgan Chase Bank, N.A., Plano, TX

Software Engineer, Data (Satellites & Payloads)
SpaceX, Redmond, WA

jobs by Indeed



Share this page

Featured Products

AllegroGraph logo

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

Neo4j logo

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

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!

Redis logo

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

Present your product here