Questions tagged [amazon-dynamodb]

Amazon DynamoDB is a proprietary closed-source cloudnative key-value and document database optimized for horizontal scaling. It's a fully managed, multiregion, multimaster database with built-in security, backup and restore, and in-memory caching for internet-scale applications. DynamoDB is hosted on AWS, but also has a local deployment option just for development and functional testing. Used on amazon.com.

Amazon DynamoDB is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability. It enables customers to offload the administrative burdens of operating and scaling distributed databases to AWS so they don’t have to worry about hardware provisioning, setup and configuration, replication, software patching, or cluster scaling.

With a few clicks in the AWS Management Console or by making use of the Amazon Dynamo DB API, customers can launch a new Amazon DynamoDB database table, scale up or down their request capacity for the table without downtime or performance degradation, and gain visibility into resource utilization and performance metrics.


Related tags :

13785 questions
113
votes
5 answers

What is the difference between scan and query in dynamodb? When use scan / query?

A query operation as specified in DynamoDB documentation: A query operation searches only primary key attribute values and supports a subset of comparison operators on key attribute values to refine the search process. and the scan operation: A…
samson
  • 1,549
  • 3
  • 13
  • 20
111
votes
4 answers

How do you delete an AWS CloudWatch metric?

I am decommissioning a service in Amazon Web Services DynamoDB. We have various metrics and alarms for our DyDB tables. I am able to delete the alarms using 'aws cloudwatch delete-alarms --alarm-names ...' but I do not see any AWS CLI command to…
MoChaMan
  • 1,219
  • 2
  • 8
  • 6
103
votes
10 answers

Complete scan of dynamoDb with boto3

My table is around 220mb with 250k records within it. I'm trying to pull all of this data into python. I realize this needs to be a chunked batch process and looped through, but I'm not sure how I can set the batches to start where the previous…
CJ_Spaz
  • 1,134
  • 2
  • 7
  • 10
102
votes
1 answer

Difference between AWS DynamoDB vs. AWS DocumentDB(Newly launched service)?

AWS recently launched new service DocumentDB similar to MongoDB interface. What is the difference between AWS DynamoDB vs. DocumentDB services?
98
votes
8 answers

SpringBoot - BeanDefinitionOverrideException: Invalid bean definition

I am trying to setup DynamoDB locally with Spring Boot. Initially I got the setup working and was able to write/save to DynamoDB via a repository. From that point I added more classes to build my application. Now when I try to start my application,…
Vino
  • 2,111
  • 4
  • 22
  • 42
97
votes
9 answers

Formatting DynamoDB data to normal JSON in AWS Lambda

I'm using AWS Lambda to scan data from a DynamoDB table. This is what I get in return: { "videos": [ { "file": { "S": "file1.mp4" }, "id": { "S": "1" }, "canvas": { "S": "This is Canvas1" …
Chaitanya
  • 1,440
  • 1
  • 14
  • 26
91
votes
7 answers

AWS DynamoDB resource not found exception

I have a problem with connection to DynamoDB. I get this exception: com.amazonaws.services.dynamodb.model.ResourceNotFoundException: Requested resource not found (Service: AmazonDynamoDB; Status Code: 400; Error Code:…
87
votes
5 answers

How to rename a DynamoDB table

I have DynamoDB table and I would like to rename it. There does not seems to be any commands or options to rename a table. Has anybody renamed a table before?
Gowtham
  • 1,437
  • 2
  • 17
  • 25
85
votes
14 answers

How to fetch/scan all items from `AWS dynamodb` using node.js

How to fetch/scan all items from AWS dynamodb using node.js. I am posting my code here. var docClient = new aws.DynamoDB.DocumentClient(); var params = { TableName:"users", KeyConditionExpression:"user_status=:status", …
Vishnu T S
  • 3,476
  • 2
  • 23
  • 39
85
votes
4 answers

Amazon AWS DynamoDB Desktop Client - Does one exist?

Been looking around on the web for one of these, but I'm only finding node.js/ruby hosted implementations. I'm keen to have a DynamoDB app, something like that of the navicat ilk that comes with an msi installer to get running quickly. Maybe there's…
84
votes
8 answers

How to check if DynamoDB table exists?

I'm a new user in boto3 and i'm using DynamoDB. I went through over the DynamoDB api and I couldn't find any method which tell me if a table is already exists. What is the best approach dealing this issue? Should I try to create a new table and…
roeygol
  • 4,908
  • 9
  • 51
  • 88
84
votes
1 answer

CloudFormation insists my DynamoDB creation JSON is invalid .. but I can't see how

Here's (the DynamoDB part of) my Troposphere-generated JSON: "sandbox": { "Properties": { "AttributeDefinitions": [ { "AttributeName": "audit_id", "AttributeType": "S" …
user1381745
  • 3,850
  • 2
  • 21
  • 35
84
votes
2 answers

Is it possible to combine if_not_exists and list_append in update_item

I'm trying to use the update_item functionality for DynamoDB in boto3. I'm struggling right now to update lists for items. I would like to create a new list if the list does not exist yet and otherwise append to the existing list. Using an…
fabian
  • 883
  • 1
  • 6
  • 6
82
votes
5 answers

What's the difference between BatchGetItem and Query in DynamoDB?

I've been going through AWS DynamoDB docs and, for the life of me, cannot figure out what's the core difference between batchGetItem() and Query(). Both retrieve items based on primary keys from tables and indexes. The only difference is in the size…
suv
  • 1,373
  • 1
  • 10
  • 18
80
votes
1 answer

Explain Merkle Trees for use in Eventual Consistency

Merkle Trees are used as an anti-entropy mechanism in several distributed, replicated key/value stores: Dynamo Riak Cassandra No doubt an anti-entropy mechanism is A Good Thing - transient failures just happen, in production. I'm just not sure I…
Johnny Graettinger
  • 1,078
  • 1
  • 8
  • 7