DBMS > CockroachDB
CockroachDB System Properties
Please select another system to compare it with CockroachDB.
Our visitors often compare CockroachDB with DolphinDB, TiDB and Google Cloud Bigtable.
| Editorial information provided by DB-Engines | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Name | CockroachDB | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description | CockroachDB is the resilient distributed SQL database enterprises worldwide trust to run mission-critical AI and other applications that scale fast, avert and survive disaster, and thrive everywhere. It runs on the Big 3 public clouds, in private clouds, on prem, and in hybrid configurations powering Fortune 500, Forbes Global 2000, and Inc. 5000 brands, and game-changing AI innovators. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Primary database model | Multi-Model DBMS Relational DBMS | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Secondary database models | CockroachDB supports relational, semi-structured JSON/document, vector/embedding, geospatial, and typed categorical/enumeration data, all exposed via SQL, on the same strongly consistent, globally distributed data platform. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Website | www.cockroachlabs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Technical documentation | www.cockroachlabs.com/docs | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Developer | Cockroach Labs | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Initial release | 2015 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Current release | 26.1, January 2026 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| License | Source-available, Commercially License | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Cloud-based only | no: cloud, prem, and hybrid | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DBaaS offerings (sponsored links) Providers of DBaaS offerings, please contact us to be listed. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Implementation language | Primarily Go with portions of the codebase in C++, Java, Python, TypeScript, and Starlark | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Server operating systems | Linux macOS Windows | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Data scheme | dynamic schema: SQL hierarchy on top of distributed key-value store | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Typing | yes | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| XML support | yes: XML data can be stored as plain text or bytes | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Secondary indexes | yes | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SQL | yes, wire compatible with PostgreSQL | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| APIs and other access methods | Cluster management HTTP API CockroachDB Cloud API gRPC/RPC JDBC pgx Prisma psycopg2 Sequelize Terraform Web console | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Supported programming languages | .NET (C#) C C++ Elixr Go Java JavaScript (Node.js) PHP Python R Ruby Rust TypeScript | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Server-side scripts | no | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Triggers | yes: SQL triggers | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Partitioning methods | Automatic horizontal partitioning (by key range) SQL-level table partitioning: list, range, multi-level | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Replication methods | Cross-cluster replication: physical cluster replication and logical data replication. Intra-cluster data replication: synchronous Raft range replication, auto rebalancing & re-replication. Replication configuration via replication zones and constraints. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| MapReduce | no | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Consistency concepts | Strong and Immediate consistency via Serializable isolation and No stale reads | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Foreign keys | yes | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Transaction concepts | ACID | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Concurrency | yes | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Durability | yes | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| In-memory capabilities | yes: in-memory store option for temporary in-memory clusters | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| User concepts | Cloud console user roles Cloud service account roles Login & authentication attributes Role-based access control SQL roles and cluster-level identities User-level options/flags | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| More information provided by the system vendor | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CockroachDB | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Specific characteristics | CockroachDB is a globally distributed, strongly and immediately consistent SQL data platform built to survive failures and scale out with minimal operational effort. It offers Distributed SQL with full ACID compliance on top of a transactional, Raft-replicated key-value store, supporting serializable transactions by default across the whole cluster. Its shared-nothing architecture with auto-sharding transparently splits data into small ranges that auto-rebalance as the cluster grows, so adding nodes increases capacity without requiring manual sharding/user intervention. CockroachDB is designed for multi-cloud and hybrid deployments, with a uniform SQL surface across all nodes so any node can accept reads and writes and all nodes can be joined into a single logical cluster across clouds or regions. Built-in disaster recovery and cross-cluster physical and logical replication options support active-active and standby architectures on cost-effective commodity infrastructure. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Competitive advantages | CockroachDB's Performance under Adversity (PuA) enables automatic survival when multiple worst-case examples of adversity strike including backups, change feeds, online schema changes, rolling upgrades, disk stalls, network failures, node restarts, zone outages, and regional outages. Its geo-partitioning and replica placement down to the row/partition level mean that data can live close to users, meeting latency and data residency requirements in multi-region or multi-cloud deployments. CockroachDB supports relational, semi-structured JSON/document, vector/embedding, geospatial, and typed categorical/enumeration data, all exposed via SQL, on the same strongly consistent, globally distributed data platform, unifying OLTP and application requirements. It streams data into OLAP/analytical databases such as ClickHouse, supporting streaming and real-time translytical use cases. Its PostgreSQL wire compatibility and familiar, PostgreSQL-aligned developer experience mean that existing drivers, ORMs, and tools generally “just work,” easing migration from single-node relational databases and helping teams become productive almost immediately on CockroachDB. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Typical application scenarios | AI/ML feature store, banking & wallet, betting & auctions, blockchain & crypto, CRM, crypto & blockchain, cybersecurity including IDM/IAM, DBaaS, digital asset management, ecommerce, fintech including payments, gambling, gaming, health records. IoT & device management, inventory & ordering management, IoT & device management, metadata, online travel/travel & hospitality, order management system (OMS), primary datastore, quant/trading & research, railroad operations, routing & logistics, scheduling & workflow, system of record, travel reservations, user account management | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Key customers | Adobe, Apple, Bank of America, Booking.com, Cisco Systems, CoreWeave, DoorDash, FANDUEL, Fidelity Investments, FORTINET, GE Transportation/Wabtech, Hard Rock Digital, Hindustan Unilever Ltd., HPE, JPMorgan Chase, Mercedes-Benz, Norfolk Southern, NVIDIA, OpenAI, Panasonic, ROBLOX, Samsung, SpaceX, Squarespace, The Home Depot, UIPath, US Dept. of Veterans Affairs (The VA), VISA, Vodafone, and Volkswagen | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Market metrics | 600+ customers including 75+ with revenue $1B+, across 40+ countries, 25+ verticals, and 30+ use cases 31.8k+ GitHub Stars 61k+ Enrolled in Cockroach University 13.6k+ CockroachDB Community Slack members | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Licensing and pricing models | CockroachDB Cloud: Basic, Standard, and Advanced, fully managed services on AWS, GC, and Azure. CockroachDB Bring Your Own Cloud (BYOC): Run CockroachDB clusters inside your own AWS, GC, or Azure account and keep data in your cloud environment. CockroachDB Self-Hosted: Pricing is primarily usage-based, with separate meters for compute (vCPUs/request units), storage (GiB-month), data transfer, backups, and change data capture (CDC); free tier for smaller organizations; older versions released under Apache 2.0, Business Source License, or Cockroach Community License components remain under those terms. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Related products and servicesWe 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 | IBM Enters OEM Partnership with Cockroach Labs to Deliver Cloud-Native Resilience for the AI Era IBM and CockroachDB partner to bring PostgreSQL to mainframe CockroachDB's distributed vector indexing tackles the looming AI data explosion enterprises aren't ready for Exclusive: IBM tightens partnership with Cockroach Labs to fuel customer modernization initiatives IBM in OEM Partnership with Cockroach Labs provided by Google News | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Share this page




