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
44
votes
3 answers

NoSQL: Getting the latest values from tables DynamoDB/Azure Table Storage

I have a little problem that needs some suggestions: Lets say we have a few hundred data tables with a few dozen million rows each. Data tables are timestamp(key) - value Data tables are written once every second The latest entry of each table…
user1597701
  • 497
  • 1
  • 5
  • 6
42
votes
4 answers

How do I conditionally insert an item into a dynamodb table using boto3

If I have a table with a hash key of userId and a range key of productId how do I put an item into that table only if it doesn't already exist using boto3's dynamodb bindings? The normal call to put_item looks like…
aychedee
  • 24,871
  • 8
  • 79
  • 83
42
votes
6 answers

Is there a good object mapper for Amazons dynamodb(through aws sdk) which can be used in nodejs?

Maybe the question does not apply to dynamoDB due to it not being Relational Db. However, I'm looking for a good object mapper which can be used in nodejs and aws sdk to map existing model classes to dynamoDB tables. Does anyone have experience…
Fazi
  • 3,909
  • 4
  • 27
  • 23
41
votes
8 answers

What are the pros and cons of DynamoDB with respect to other NoSQL databases?

We use MongoDB database add-on on Heroku for our SaaS product. Now that Amazon launched DynamoDB, a cloud database service, I was wondering how that changes the NoSQL offerings landscape? Specifically for cloud based services or SaaS vendors, how…
rafidude
  • 4,496
  • 7
  • 27
  • 23
41
votes
2 answers

AWS Lambda Task timed out after 6.00 seconds

I am using serverless framework. My Lambda function connects to DynamoDB table for updating item in table. Read & Write capacity units of table are 5 & auto_scaling is disabled. AWS Lambda function has 128MB memory allocated. I have used Jmeter for…
41
votes
4 answers

How to prevent a DynamoDB item being overwritten if an entry already exists

Im trying to write a lambda function to add new data to a DynamoDB Table. From reading the docs at: http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/DynamoDB/DocumentClient.html#put-property The PUT method: "Creates a new item, or replaces…
Mathew Jenkinson
  • 844
  • 2
  • 11
  • 18
41
votes
2 answers

Unmarshall DynamoDB JSON

Given some DynamoDB JSON via a DynamoDB NewImage stream event, how do I unmarshall it to regular JSON? {"updated_at":{"N":"146548182"},"uuid":{"S":"foo"},"status":{"S":"new"}} Normally I would use AWS.DynamoDB.DocumentClient, however I can't seem…
hendry
  • 9,725
  • 18
  • 81
  • 139
41
votes
2 answers

Query DynamoDB with case-insensitive condition

We're storing organization names in a DynamoDB table on AWS, and would like to maintain official capitalization in those business names, for example in "TNT" and "FedEx". Our use case is that users of the application can search for organizations by…
Jochem Schulenklopper
  • 6,452
  • 4
  • 44
  • 62
41
votes
4 answers

DynamoDB nested attribute querying support

Does Amazon DynamoDB scan operation allow you to query on nested attributes of type Array or Object? For example, { Id: 206, Title: "20-Bicycle 206", Description: "206 description", RelatedItems: [ 341, 472, …
Hiren
  • 708
  • 1
  • 7
  • 14
40
votes
7 answers

Querying a Global Secondary Index in dynamodb Local

I am creating a table and GSI in DynamoDB, using these parameters, as per the documentation: configId is the primary key of the table, and I am using the publisherId as the primary key for the GSI. (I've removed some unnecessary configuration…
Stelios Savva
  • 812
  • 1
  • 10
  • 30
40
votes
4 answers

How I can work with Amazon's Dynamodb Local in Node?

Amazon offers a local simulator for their Dynamodb product but the examples are only in PHP. These examples mention passing the parameter "base_url" to specify that you're using a local Dynamodb, but that returns this error in Node: {…
danmcc
  • 401
  • 1
  • 4
  • 5
39
votes
4 answers

DynamoDB: updateItem only if it already exists

By default DynamoDB will make a new entry if an object with the specified index doesn't exist. Is there a way to stop this from occurring? I could just query the table for the key before updating, but it would be nice to do it all in one request.
user513064
39
votes
4 answers

Not able to search on nested property in DynamoDB AWS console

Is it possible to search on nested properties from AWS DynamoDB console? I am able to search on all top level properties, but search on any nested properties always results in empty result set. For example for the document provided below I am able…
parags
  • 521
  • 1
  • 5
  • 10
39
votes
2 answers

Error InvalidParameterType: Expected params.Item['pid'] to be a structure in DynamoDB

Note: all these are happening on the local instance of DynamoDB. This is the code that I've used to create a table from the DynamoDB Shell: var params = { TableName: "TABLE-NAME", KeySchema: [ { AttributeName: "pid", …
rohithpr
  • 6,050
  • 8
  • 36
  • 60
39
votes
4 answers

How to append a value to list attribute on AWS DynamoDB?

I'm using DynamoDB as an K-V db (cause there's not much data, I think that's fine) , and part of 'V' is list type (about 10 elements). There's some session to append a new value to it, and I cannot find a way to do this in 1 request. What I did is…
Kane Blueriver
  • 4,170
  • 4
  • 29
  • 48