DB-EnginesextremeDB - Data management wherever you need itEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > Amazon DocumentDB vs. CockroachDB

System Properties Comparison Amazon DocumentDB vs. CockroachDB

Please select another system to include it in the comparison.

Our visitors often compare Amazon DocumentDB and CockroachDB with PostgreSQL, Amazon DynamoDB and MongoDB.

Editorial information provided by DB-Engines
NameAmazon DocumentDB  Xexclude from comparisonCockroachDB  Xexclude from comparison
DescriptionFast, scalable, highly available, and fully managed MongoDB-compatible database serviceCockroachDB 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 modelDocument storeRelational DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score1.80
Rank#126  Overall
#24  Document stores
Score3.90
Rank#68  Overall
#36  Relational DBMS
Websiteaws.amazon.com/­documentdbwww.cockroachlabs.com
Technical documentationaws.amazon.com/­documentdb/­resourceswww.cockroachlabs.com/­docs
DeveloperCockroach Labs
Initial release20192015
Current release24.1.0, May 2024
License infoCommercial or Open SourcecommercialOpen Source infoApache 2.0, commercial license available
Cloud-based only infoOnly available as a cloud serviceyesno
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageGo
Server operating systemshostedLinux
macOS
Windows
Data schemeschema-freedynamic schema
Typing infopredefined data types such as float or dateyesyes
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.nono
Secondary indexesyesyes
SQL infoSupport of SQLnoyes, wire compatible with PostgreSQL
APIs and other access methodsproprietary protocol using JSON (MongoDB compatible)JDBC
Supported programming languagesGo
Java
JavaScript (Node.js)
PHP
Python
C#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
Server-side scripts infoStored proceduresnono
Triggersnono
Partitioning methods infoMethods for storing different data on different nodesnonehorizontal 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-availability zones for high availability, asynchronous replication for up to 15 read replicasMulti-source replication using RAFT
MapReduce infoOffers an API for user-defined Map/Reduce methodsno infomay be implemented via Amazon Elastic MapReduce (Amazon EMR)no
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityno infotypically not used, however similar functionality with DBRef possibleyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataAtomic single-document operationsACID
Concurrency infoSupport for concurrent manipulation of datayesyes
Durability infoSupport for making data persistentyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.no
User concepts infoAccess controlAccess rights for users and rolesRole-based access control

More information provided by the system vendor

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

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

More resources
Amazon DocumentDBCockroachDB
Recent citations in the news

Amazon DocumentDB Quick Start: Zero Setup with AWS CloudShell
14 March 2025, Amazon Web Services (AWS)

Powering a Generative AI Platform Using Amazon DocumentDB with tresle.ai | Amazon Web Services
18 April 2025, Amazon Web Services (AWS)

Use IAM authentication with Amazon DocumentDB (with MongoDB compatibility)
17 October 2024, Amazon Web Services (AWS)

Optimizing costs on Amazon DocumentDB using event-driven architecture and the AWS EventBridge Terraform module
23 August 2024, Amazon Web Services (AWS)

Build containerized applications for Amazon DocumentDB that run on Amazon ECS on AWS Fargate
23 October 2024, Amazon Web Services (AWS)

provided by Google News

Cockroach Labs shakes up its licensing to force bigger companies to pay
15 August 2024, TechCrunch

AI Meets Resilience: Cockroach Labs Intros CockroachDB 24.2
2 October 2024, Channel Insider

CockroachDB scurries off to proprietary software land
23 August 2024, theregister.com

Cockroach Labs Signs Strategic Collaboration Agreement with AWS to Accelerate Modernization and GenAI Adoption
24 October 2024, PR Newswire

Now CockroachDB Ditches Open-Source License
20 August 2024, It's FOSS News

provided by Google News



Share this page

Featured Products

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus 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

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

Neo4j logo

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

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

Present your product here