Generated by DeepSeek V3.2| Amazon DynamoDB | |
|---|---|
![]() AWS · CC BY-SA 4.0 · source | |
| Name | Amazon DynamoDB |
| Developer | Amazon Web Services |
| Released | 2012 |
| Operating system | Cross-platform (cloud service) |
| Genre | NoSQL, key-value store |
| License | Proprietary |
Amazon DynamoDB. It is a fully managed NoSQL database service provided by Amazon Web Services. Designed for applications requiring consistent, single-digit millisecond latency at any scale, it offers built-in security, backup and restore, and in-memory caching. The service handles the operational burdens of hardware provisioning, setup, configuration, replication, software patching, and cluster scaling.
Launched in 2012, the service was created to address the scalability challenges faced by internal Amazon.com services. It is a foundational component of the AWS Cloud, integrated with numerous other services like AWS Lambda, Amazon S3, and Amazon Kinesis. DynamoDB supports both document and key-value data structures, providing a flexible schema and automatic scaling of throughput and storage. Its architecture is inspired by principles outlined in the original Dynamo (storage system) paper, but is implemented as a fully managed cloud service.
The core data model organizes information into tables, which contain items analogous to rows. Each item is composed of a primary key and a set of attributes; the primary key can be a single partition key or a composite key combining a partition key and a sort key. Attributes are name-value pairs, which can be scalar types, document types like JSON, or set types. Unlike traditional RDBMS tables, items in the same table do not need to have identical attributes, providing schema flexibility. Secondary indexes, including Global Secondary Index and Local Secondary Index, enable efficient querying on non-key attributes.
Key features include automated multi-region replication with Amazon DynamoDB Global Tables for disaster recovery and low-latency global access. It provides durable storage with automatic and continuous backups to Amazon S3. For accelerated performance, Amazon DynamoDB Accelerator (DAX) offers a fully managed in-memory cache. The service supports ACID transactions for applications that require complex business logic, and integrates natively with AWS Identity and Access Management for security. Event-driven architectures are enabled through Amazon DynamoDB Streams, which captures changes and triggers AWS Lambda functions.
It is commonly employed for high-traffic web and mobile applications, such as user profiles, session stores, and product catalogs for companies like Lyft and Snap Inc.. Its consistent performance makes it suitable for gaming backends, handling player data and leaderboards for titles on platforms like Nintendo Switch. Ad tech and Internet of Things platforms use it to ingest and process high-velocity data streams from devices and sensors. Financial services firms utilize it for fraud detection systems due to its ability to handle massive, real-time transaction volumes.
Pricing is based on provisioned capacity or on-demand request modes. The provisioned capacity model charges for read and write capacity units reserved per second, while the on-demand model charges per million read/write requests. Additional costs incur for data storage, global table replication, backup storage, and the optional Amazon DynamoDB Accelerator. The service is part of the AWS Free Tier, offering limited free usage each month. Cost management tools are available through AWS Cost Explorer and AWS Budgets.
Compared to traditional Amazon RDS services, it sacrifices complex joins and SQL queries for horizontal scalability and predictable performance. Within the NoSQL landscape, it contrasts with document-oriented databases like MongoDB Atlas and wide-column stores like Apache Cassandra. Unlike self-managed Apache HBase, it removes operational overhead. Its integrated ecosystem within Amazon Web Services often makes it the preferred choice over third-party databases for applications deeply embedded in the AWS Cloud, competing with services like Google Cloud Firestore and Microsoft Azure Cosmos DB.
Category:Amazon Web Services Category:NoSQL Category:Cloud databases