DB-EnginesExtremeDB for everyone with an RTOSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Amazon DocumentDB vs. CockroachDB vs. RethinkDB vs. SwayDB

System Properties Comparison Amazon DocumentDB vs. CockroachDB vs. RethinkDB vs. SwayDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameAmazon DocumentDB  Xexclude from comparisonCockroachDB  Xexclude from comparisonRethinkDB  Xexclude from comparisonSwayDB  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.DBMS for the Web with a mechanism to push updated query results to applications in realtime.An embeddable, non-blocking, type-safe key-value store for single or multiple disks and in-memory storage
Primary database modelDocument storeRelational DBMSDocument storeKey-value store
Secondary database modelsSpatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score1.91
Rank#132  Overall
#24  Document stores
Score6.15
Rank#55  Overall
#33  Relational DBMS
Score2.74
Rank#105  Overall
#19  Document stores
Score0.00
Rank#382  Overall
#59  Key-value stores
Websiteaws.amazon.com/­documentdbwww.cockroachlabs.comrethinkdb.comswaydb.simer.au
Technical documentationaws.amazon.com/­documentdb/­resourceswww.cockroachlabs.com/­docsrethinkdb.com/­docs
DeveloperCockroach LabsThe Linux Foundation infosince July 2017Simer Plaha
Initial release2019201520092018
Current release23.1.1, May 20232.4.1, August 2020
License infoCommercial or Open SourcecommercialOpen Source infoApache 2.0, commercial license availableOpen Source infoApache Version 2Open Source infoGNU Affero GPL V3.0
Cloud-based only infoOnly available as a cloud serviceyesnonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageGoC++Scala
Server operating systemshostedLinux
macOS
Windows
Linux
OS X
Windows
Data schemeschema-freedynamic schemaschema-freeschema-free
Typing infopredefined data types such as float or dateyesyesyes infostring, binary, float, bool, date, geometryno
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.nononono
Secondary indexesyesyesyesno
SQL infoSupport of SQLnoyes, wire compatible with PostgreSQLnono
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
C infocommunity-supported driver
C# infocommunity-supported driver
C++ infocommunity-supported driver
Clojure infocommunity-supported driver
Dart infocommunity-supported driver
Erlang infocommunity-supported driver
Go infocommunity-supported driver
Haskell infocommunity-supported driver
Java infoofficial driver
JavaScript (Node.js) infoofficial driver
Lisp infocommunity-supported driver
Lua infocommunity-supported driver
Objective-C infocommunity-supported driver
Perl infocommunity-supported driver
PHP infocommunity-supported driver
Python infoofficial driver
Ruby infoofficial driver
Scala infocommunity-supported driver
Java
Kotlin
Scala
Server-side scripts infoStored proceduresnonono
TriggersnonoClient-side triggers through changefeedsno
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 RAFTSharding inforange basednone
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 RAFTSource-replica replicationnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsno infomay be implemented via Amazon Elastic MapReduce (Amazon EMR)noyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityno infotypically not used, however similar functionality with DBRef possibleyesnono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataAtomic single-document operationsACIDAtomic single-document operationsAtomic execution of operations
Concurrency infoSupport for concurrent manipulation of datayesyesyes infoMVCC basedyes
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.nonoyes
User concepts infoAccess controlAccess rights for users and rolesRole-based access controlyes infousers and table-level permissionsno

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 DocumentDBCockroachDBRethinkDBSwayDB
DB-Engines blog posts

Meet some database management systems you are likely to hear more about in the future
4 August 2014, Paul Andlinger

show all

Recent citations in the news

Vector search for Amazon DocumentDB (with MongoDB compatibility) is now generally available | Amazon Web Services
29 November 2023, AWS Blog

AWS announces Amazon DocumentDB I/O-Optimized
21 November 2023, AWS Blog

Reduce cost and improve performance by migrating to Amazon DocumentDB 5.0 | Amazon Web Services
15 April 2024, AWS Blog

AWS announces vector search for Amazon DocumentDB
29 November 2023, AWS Blog

Mask sensitive Amazon DocumentDB log data with Amazon CloudWatch Logs data protection | Amazon Web Services
16 April 2024, AWS Blog

provided by Google News

CockroachDB 23.2 Enhances Enterprise Architectures with Improved Postgres Compatibility and Built-in Resilience
18 January 2024, PR Newswire

CockroachDB tempts legacy databases to crawl into the cloud age
29 January 2024, The Register

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

How DoorDash Migrated from Aurora Postgres to CockroachDB
5 December 2023, The New Stack

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

provided by Google News

How to Use RethinkDB with Node.js Applications — SitePoint
16 December 2015, SitePoint

Stripe acquires team behind NoSQL database startup RethinkDB
5 October 2016, VentureBeat

MongoDB: The Popular Database for IoT
15 August 2023, Open Source For You

RethinkDB is dead, and MongoDB isn't what killed it
24 January 2017, TechRepublic

Review: RethinkDB rethinks real-time Web apps
23 September 2015, InfoWorld

provided by Google News



Share this page

Featured Products

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

Neo4j logo

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

SingleStore logo

The database to transact, analyze and contextualize your data in real time.
Try it today.

Milvus logo

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