DB-EnginesExtremeDB: mitigate connectivity issues in a DBMSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Amazon DynamoDB vs. CockroachDB vs. Google Cloud Spanner vs. TerarkDB

System Properties Comparison Amazon DynamoDB vs. CockroachDB vs. Google Cloud Spanner vs. TerarkDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameAmazon DynamoDB  Xexclude from comparisonCockroachDB  Xexclude from comparisonGoogle Cloud Spanner  Xexclude from comparisonTerarkDB  Xexclude from comparison
DescriptionHosted, scalable database service by Amazon with the data stored in Amazons cloudCockroachDB 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.A horizontally scalable, globally consistent, relational database service. It is the externalization of the core Google database that runs the biggest aspects of Google, like Ads and Google Play.A key-value store forked from RocksDB with advanced compression algorithms. It can be used standalone or as a storage engine for MySQL and MongoDB
Primary database modelDocument store
Key-value store
Relational DBMSRelational DBMSKey-value store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score74.07
Rank#17  Overall
#3  Document stores
#2  Key-value stores
Score6.15
Rank#55  Overall
#33  Relational DBMS
Score2.89
Rank#103  Overall
#52  Relational DBMS
Score0.00
Rank#383  Overall
#60  Key-value stores
Websiteaws.amazon.com/­dynamodbwww.cockroachlabs.comcloud.google.com/­spannergithub.com/­bytedance/­terarkdb
Technical documentationdocs.aws.amazon.com/­dynamodbwww.cockroachlabs.com/­docscloud.google.com/­spanner/­docsbytedance.larkoffice.com/­docs/­doccnZmYFqHBm06BbvYgjsHHcKc
DeveloperAmazonCockroach LabsGoogleByteDance, originally Terark
Initial release2012201520172016
Current release23.1.1, May 2023
License infoCommercial or Open Sourcecommercial infofree tier for a limited amount of database operationsOpen Source infoApache 2.0, commercial license availablecommercialcommercial inforestricted open source version available
Cloud-based only infoOnly available as a cloud serviceyesnoyesno
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageGoC++
Server operating systemshostedLinux
macOS
Windows
hosted
Data schemeschema-freedynamic schemayesschema-free
Typing infopredefined data types such as float or dateyesyesyesno
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.nonono
Secondary indexesyesyesyesno
SQL infoSupport of SQLnoyes, wire compatible with PostgreSQLyes infoQuery statements complying to ANSI 2011no
APIs and other access methodsRESTful HTTP APIJDBCgRPC (using protocol buffers) API
JDBC infoAt present, JDBC supports read-only queries. No support for DDL or DML statements.
RESTful HTTP API
C++ API
Java API
Supported programming languages.Net
ColdFusion
Erlang
Groovy
Java
JavaScript
Perl
PHP
Python
Ruby
C#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
Go
Java
JavaScript (Node.js)
Python
C++
Java
Server-side scripts infoStored proceduresnononono
Triggersyes infoby integration with AWS Lambdanonono
Partitioning methods infoMethods for storing different data on different nodesShardinghorizontal 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 RAFTShardingnone
Replication methods infoMethods for redundantly storing data on multiple nodesyesMulti-source replication using RAFTMulti-source replication with 3 replicas for regional instances.none
MapReduce infoOffers an API for user-defined Map/Reduce methodsno infomay be implemented via Amazon Elastic MapReduce (Amazon EMR)noyes infousing Google Cloud Dataflowno
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Immediate Consistency infocan be specified for read operations
Immediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyesyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infoACID across one or more tables within a single AWS account and regionACIDACID infoStrict serializable isolationno
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
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 roles can be defined via the AWS Identity and Access Management (IAM)Role-based access controlAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)no

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
3rd partiesCData: Connect to Big Data & NoSQL through standard Drivers.
» more

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

More resources
Amazon DynamoDBCockroachDBGoogle Cloud SpannerTerarkDB
DB-Engines blog posts

Cloud-based DBMS's popularity grows at high rates
12 December 2019, Paul Andlinger

The popularity of cloud-based DBMSs has increased tenfold in four years
7 February 2017, Matthias Gelbmann

Increased popularity for consuming DBMS services out of the cloud
2 October 2015, Paul Andlinger

show all

Recent citations in the news

Introducing configurable maximum throughput for Amazon DynamoDB on-demand | Amazon Web Services
3 May 2024, AWS Blog

AWS announces Amazon DynamoDB zero-ETL integration with Amazon OpenSearch Service
28 November 2023, AWS Blog

Simplify cross-account access control with Amazon DynamoDB using resource-based policies | Amazon Web Services
20 March 2024, AWS Blog

A new and improved AWS CDK construct for Amazon DynamoDB tables | Amazon Web Services
31 January 2024, AWS Blog

Bulk update Amazon DynamoDB tables with AWS Step Functions | Amazon Web Services
20 March 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

Google Improves Cloud Spanner: More Compute and Storage without Price Increase
14 October 2023, InfoQ.com

Google turns up the heat on AWS, claims Cloud Spanner is half the cost of DynamoDB
11 October 2023, TechCrunch

Google makes its Cloud Spanner database service faster and more cost-efficient
11 October 2023, SiliconANGLE News

Google Spanner: When Do You Need to Move to It?
11 September 2023, hackernoon.com

Google Cloud Spanner competes directly with Amazon DynamoDB
12 October 2023, Techzine Europe

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

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.

AllegroGraph logo

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

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

Present your product here