DBMS > CockroachDB vs. DuckDB
System Properties Comparison CockroachDB vs. DuckDB
Please select another system to include it in the comparison.
Our visitors often compare CockroachDB and DuckDB with DolphinDB, MySQL and Altibase.
| Editorial information provided by DB-Engines | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Name | CockroachDB Xexclude from comparison | DuckDB Xexclude from comparison | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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. | An embeddable, in-process, column-oriented SQL OLAP RDBMS | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Primary database model | Multi-Model DBMS Relational 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 | duckdb.org | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Technical documentation | www.cockroachlabs.com/docs | duckdb.org/docs | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Developer | Cockroach Labs | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Initial release | 2015 | 2018 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Current release | 26.1, January 2026 | 1.0.0, June 2024 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| License | Source-available, Commercially License | Open Source | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Cloud-based only | no: cloud, prem, and hybrid | no | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 | C++ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Server operating systems | Linux macOS Windows | server-less | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Data scheme | dynamic schema: SQL hierarchy on top of distributed key-value store | yes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Typing | yes | yes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| XML support | yes: XML data can be stored as plain text or bytes | no | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Secondary indexes | yes | yes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SQL | yes, wire compatible with PostgreSQL | yes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| APIs and other access methods | Cluster management HTTP API CockroachDB Cloud API gRPC/RPC JDBC pgx Prisma psycopg2 Sequelize Terraform Web console | Arrow Database Connectivity (ADBC) CLI Client JDBC ODBC | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Supported programming languages | .NET (C#) C C++ Elixr Go Java JavaScript (Node.js) PHP Python R Ruby Rust TypeScript | C C# C++ Crystal Go Java Lisp Python R Ruby Rust Swift Zig | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Server-side scripts | no | no | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Triggers | yes: SQL triggers | no | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Partitioning methods | Automatic horizontal partitioning (by key range) SQL-level table partitioning: list, range, multi-level | none | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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. | none | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| MapReduce | no | no | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Consistency concepts | Strong and Immediate consistency via Serializable isolation and No stale reads | Immediate Consistency | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Foreign keys | yes | no | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Transaction concepts | ACID | ACID | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Concurrency | yes | yes, multi-version concurrency control (MVCC) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Durability | yes | yes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| In-memory capabilities | yes: in-memory store option for temporary in-memory clusters | yes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 | no | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| More information provided by the system vendor | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CockroachDB | DuckDB | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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. » more | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Competitive advantages | » more | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 » more | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 » more | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Market metrics | 12K+ 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, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Related products and servicesWe invite representatives of vendors of related products to contact us for presenting information about their offerings here. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| More resources | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CockroachDB | DuckDB | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DB-Engines blog posts | DB-Engines shares Q1 2025 database industry rankings and top climbers: Snowflake and PostgreSQL trending Cockroach Labs announced managed CockroachDB-as-a-Service Cockroach Labs Pushes Distributed SQL to New Limits with 300-Node, 1PB Cluster Support IBM and CockroachDB partner to bring PostgreSQL to mainframe Exclusive: IBM tightens partnership with Cockroach Labs to fuel customer modernization initiatives Cockroach Labs Accelerates Momentum into 2026 as Enterprises Rebuild for AI-Scale Resilience provided by Google News Geospatial exploratory data analysis with GeoPandas and DuckDB Beyond toPandas(): Streaming PySpark Data to DuckDB via Apache Arrow NVIDIA CUDA-X Powers the New Sirius GPU Engine for DuckDB, Setting ClickBench Records DuckDB's WebAssembly Client Allows Querying Iceberg Datasets in the Browser Polars + DuckDB: The New Power Combo For In-Process Analytics provided by Google News | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Share this page




