StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Follow on

© 2025 StackShare. All rights reserved.

Product

  • Stacks
  • Tools
  • Feed

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  1. Stackups
  2. Application & Data
  3. NoSQL Databases
  4. NOSQL Database As A Service
  5. Amazon DocumentDB vs Amazon DynamoDB

Amazon DocumentDB vs Amazon DynamoDB

OverviewDecisionsComparisonAlternatives

Overview

Amazon DynamoDB
Amazon DynamoDB
Stacks4.0K
Followers3.2K
Votes195
Amazon DocumentDB
Amazon DocumentDB
Stacks72
Followers64
Votes0

Amazon DocumentDB vs Amazon DynamoDB: What are the differences?

Introduction

Amazon DocumentDB and Amazon DynamoDB are two popular database services offered by Amazon Web Services (AWS). While both are designed to store and manage data, they have some key differences that set them apart.

  1. Database Structure: Amazon DocumentDB is a document-oriented NoSQL database that uses a JSON-like format to store and retrieve data. It allows for flexible and scalable schema design and supports complex queries. On the other hand, Amazon DynamoDB is a key-value store NoSQL database that stores data in tables and uses primary keys for data retrieval. It is highly scalable and can handle millions of requests per second.

  2. Data Consistency Model: Amazon DocumentDB provides immediate, read-after-write consistent data, ensuring that any read operations after a write operation will always return the updated data. In contrast, Amazon DynamoDB by default provides eventual consistency, which means that there may be a slight delay in getting the most up-to-date data after a write operation. However, DynamoDB also offers strong consistency as an option.

  3. Scaling Capabilities: Amazon DocumentDB allows horizontal scaling by adding additional instances to a cluster. This enables high availability and increased capacity as the workload grows. On the other hand, Amazon DynamoDB scales automatically and does not require manual intervention for handling increased traffic or storage needs. It can seamlessly handle bursts of traffic without impacting performance.

  4. Supported Workload: Amazon DocumentDB is well-suited for applications that require complex queries, extensive data modeling, and real-time analytics. It is a good choice for scenarios where data structures evolve over time and flexibility in schema design is important. On the contrary, Amazon DynamoDB is geared towards applications that require high throughput and low latency for large volumes of read and write operations. It excels in scenarios such as gaming leaderboards, session management, and real-time streaming data.

  5. Pricing Model: Amazon DocumentDB is priced based on the instance size and the storage capacity used, with separate charges for additional data transfer. On the other hand, Amazon DynamoDB is priced based on the provisioned read and write capacity, with additional charges for storage and data transfer. DynamoDB offers on-demand pricing as well for applications with unpredictable workloads.

  6. Geographical Distribution: Amazon DocumentDB can be provisioned in multiple Availability Zones within an AWS region for improved fault tolerance and low-latency data access. Amazon DynamoDB is a fully managed, multi-region and multi-master database service that can be globally distributed with automatic replication of data across regions for high availability.

In Summary, Amazon DocumentDB is a document-oriented NoSQL database with flexible schema design and immediate consistency, suitable for complex queries and analytics. Amazon DynamoDB is a key-value store NoSQL database with high scalability and low latency, ideal for applications with high throughput and low latency requirements.

Share your Stack

Help developers discover the tools you use. Get visibility for your team's tech choices and contribute to the community's knowledge.

View Docs
CLI (Node.js)
or
Manual

Advice on Amazon DynamoDB, Amazon DocumentDB

Doru
Doru

Solution Architect

Jun 9, 2019

ReviewonAmazon DynamoDBAmazon DynamoDB

I use Amazon DynamoDB because it integrates seamlessly with other AWS SaaS solutions and if cost is the primary concern early on, then this will be a better choice when compared to AWS RDS or any other solution that requires the creation of a HA cluster of IaaS components that will cost money just for being there, the costs not being influenced primarily by usage.

1.34k views1.34k
Comments

Detailed Comparison

Amazon DynamoDB
Amazon DynamoDB
Amazon DocumentDB
Amazon DocumentDB

With it , you can offload the administrative burden of operating and scaling a highly available distributed database cluster, while paying a low price for only what you use.

Amazon DocumentDB is a non-relational database service designed from the ground-up to give you the performance, scalability, and availability you need when operating mission-critical MongoDB workloads at scale. In Amazon DocumentDB, the storage and compute are decoupled, allowing each to scale independently, and you can increase the read capacity to millions of requests per second by adding up to 15 low latency read replicas in minutes, regardless of the size of your data.

Automated Storage Scaling – There is no limit to the amount of data you can store in a DynamoDB table, and the service automatically allocates more storage, as you store more data using the DynamoDB write APIs;Provisioned Throughput – When creating a table, simply specify how much request capacity you require. DynamoDB allocates dedicated resources to your table to meet your performance requirements, and automatically partitions data over a sufficient number of servers to meet your request capacity;Fully Distributed, Shared Nothing Architecture
MongoDB-compatible;Fully managed;Performance at scale
Statistics
Stacks
4.0K
Stacks
72
Followers
3.2K
Followers
64
Votes
195
Votes
0
Pros & Cons
Pros
  • 62
    Predictable performance and cost
  • 56
    Scalable
  • 35
    Native JSON Support
  • 21
    AWS Free Tier
  • 7
    Fast
Cons
  • 4
    Only sequential access for paginate data
  • 1
    Document Limit Size
  • 1
    Scaling
Pros
  • 0
    Easy Setup
  • 0
    Storage elasticity
  • 0
    Scalable
Integrations
Amazon RDS for PostgreSQL
Amazon RDS for PostgreSQL
PostgreSQL
PostgreSQL
MySQL
MySQL
SQLite
SQLite
Azure Database for MySQL
Azure Database for MySQL
No integrations available

What are some alternatives to Amazon DynamoDB, Amazon DocumentDB?

Azure Cosmos DB

Azure Cosmos DB

Azure DocumentDB is a fully managed NoSQL database service built for fast and predictable performance, high availability, elastic scaling, global distribution, and ease of development.

Cloud Firestore

Cloud Firestore

Cloud Firestore is a NoSQL document database that lets you easily store, sync, and query data for your mobile and web apps - at global scale.

Cloudant

Cloudant

Cloudant’s distributed database as a service (DBaaS) allows developers of fast-growing web and mobile apps to focus on building and improving their products, instead of worrying about scaling and managing databases on their own.

Google Cloud Bigtable

Google Cloud Bigtable

Google Cloud Bigtable offers you a fast, fully managed, massively scalable NoSQL database service that's ideal for web, mobile, and Internet of Things applications requiring terabytes to petabytes of data. Unlike comparable market offerings, Cloud Bigtable doesn't require you to sacrifice speed, scale, or cost efficiency when your applications grow. Cloud Bigtable has been battle-tested at Google for more than 10 years—it's the database driving major applications such as Google Analytics and Gmail.

Google Cloud Datastore

Google Cloud Datastore

Use a managed, NoSQL, schemaless database for storing non-relational data. Cloud Datastore automatically scales as you need it and supports transactions as well as robust, SQL-like queries.

CloudBoost

CloudBoost

CloudBoost.io is a database service for the “next web” - that not only does data-storage, but also search, real-time and a whole lot more which enables developers to build much richer apps with 50% less time saving them a ton of cost and helping them go to market much faster.

Firebase Realtime Database

Firebase Realtime Database

It is a cloud-hosted NoSQL database that lets you store and sync data between your users in realtime. Data is synced across all clients in realtime, and remains available when your app goes offline.

restdb.io

restdb.io

RestDB is a NoSql document oriented database cloud service. Data is accessed as JSON objects via HTTPS. This gives great flexibility, easy system integration and future compatibility.

Amazon SimpleDB

Amazon SimpleDB

Developers simply store and query data items via web services requests and Amazon SimpleDB does the rest. Behind the scenes, Amazon SimpleDB creates and manages multiple geographically distributed replicas of your data automatically to enable high availability and data durability. Amazon SimpleDB provides a simple web services interface to create and store multiple data sets, query your data easily, and return the results. Your data is automatically indexed, making it easy to quickly find the information that you need. There is no need to pre-define a schema or change a schema if new data is added later. And scale-out is as simple as creating new domains, rather than building out new servers.

Datomic Cloud

Datomic Cloud

A transactional database with a flexible data model, elastic scaling, and rich queries. Datomic is designed from the ground up to run on AWS. Datomic leverages AWS technology, including DynamoDB, S3, EFS, and CloudFormation to provide a fully integrated solution.

Related Comparisons

Bootstrap
Materialize

Bootstrap vs Materialize

Laravel
Django

Django vs Laravel vs Node.js

Bootstrap
Foundation

Bootstrap vs Foundation vs Material UI

Node.js
Spring Boot

Node.js vs Spring-Boot

Liquibase
Flyway

Flyway vs Liquibase