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
4
votes
0 answers

DynamoDb querying with geo-spatial data (Local Secondary Index) AND foreign keys saved as range key

I'm trying to construct a DynamoDb table supporting these 3 access patterns: Access list of institutions within XX radius of a given zip code. Access list of institutions within XX radius of a given zip code for a given education level (4-year,…
Tom Schreck
  • 5,177
  • 12
  • 68
  • 122
4
votes
1 answer

Get trending posts in DynamoDB / AWS Ecosystem

Im trying to build my own social network / forum application, where people can add and like each others posts. Im using DynamoDB as my database with a single table. For the post liking functionality Im using a Lambda Function in combination with…
4
votes
2 answers

Dynamodb - Is it bad practice to create lots of partitions with little data?

I have a dynamodb table with lots of partition keys. Most of these partitions contain just one item with a few attributes. Is this bad practise? Is there anything I should be concerned about?
Harish Nair
  • 159
  • 4
4
votes
1 answer

Dynamodb BETWEEN operation for strings

I cannot find any detailed documentation for dynamodb BETWEEN operator especially how it deals with strings. For example if I make queries like "... sort_key Between '100' and '150' " and sort key is "120" then it works correct. But if I make…
Kirimaks
  • 41
  • 1
  • 6
4
votes
1 answer

Streams with initial state

I would like to expose something like a subscription or a "sticky query": the goal is to query DynamoDB and return the results via the WebSockets API in API Gateway. Well, whenever DynamoDB changes in a way the query would be affected (I guess I…
4
votes
1 answer

Query multiple items from DynamoDB

I am designing a simple serverless app in AWS: API Gateway-> Lambda (node.js) -> DynamoDB. I want to keep number of customers in the same table and coresponding items e.g. Client_id, no, item, price 0001, 1, box, 10 0001, 2, table, 100 0002, 1,…
4
votes
1 answer

DynamoDB query function is not working while trying to access the data

So I tried to fetch data from dynamodb, using the below code, I am getting null and no log is showing after the query function is called. I tried it locally, it is working locally, only through lambda function it is not working, I also checked if my…
4
votes
1 answer

Numeric limit & offset based pagination in DynamoDB (Java)

I want to implement numeric limit and offset based pagination in DynamoDB similar to Postgres. My API look something like this: http://foo.bar/user?offset=50&limit=20. What's the best way to do this in Java without risking OutOfMemoryError…
gerrytan
  • 40,313
  • 9
  • 84
  • 99
4
votes
1 answer

Does the standard AmazonDynamoDBClient use exponential back off when retrying requests that failed due to a ProvisionedThroughputExceededException?

I've created a standard AmazonDynamoDBClient using the AmazonDynamoDBClientBuilder: AmazonDynamoDBClient client = AmazonDynamoDBClientBuilder.standard().build(); In the documentation for the AmazonDynamoDBClient, it…
4
votes
1 answer

How to PutItem in dynamodb only if the item does not exist

I've got a table in dynamodb that only has a partition key, and I want to put an item in the db only if there isn't another item with the same partition key in the db. I've tried using ConditionExpression attribute_not_exists to no avail. The…
Darkstar
  • 725
  • 2
  • 8
  • 27
4
votes
1 answer

Auto-increment integer in dynamodb

I'm modeling a dynamodb diagram for an invoice app and I'm looking for generate the unique invoice id that need to be incremented from 1 to X. There is in 2019 a solution about this kind of problem with aws appsync and dynamodb as datasource ?
ITryToGetIt
  • 43
  • 1
  • 4
4
votes
1 answer

DynamoDB hierarchical data and condition table design

I'm having problems designing my DynamoDB table to support a fairly simple access pattern. I hope you can help me a little bit :) I have 4 different products types (A, B, C and D) that have a price and a location (country#state#city). The access…
4
votes
1 answer

How to query by non-primary key in AWS-amplify graphql schema

I have a graphql schema in aws-amplify, appsync. my schema is: type Project @model { id: ID! project_number: String! name: String! architect: String! interfaces: [Interface] @connection(name: "ProjectInterfaces") } type…
CarlosX2X
  • 193
  • 1
  • 1
  • 9
4
votes
1 answer

How do i add items to a list?

I'd like to add a string word to the listOfVideosRated[] list in my Users table.
chai86
  • 425
  • 2
  • 14
  • 34
4
votes
1 answer

Populate dynamodb table from kinesis stream/firehose

Problem What is the recommended way to populate a dynamodb table with data coming from a kinesis datasource (stream or firehose)? Current workflow Data is ingested into kinesis firehose lambda triggers on every record written to kinesis firehose…
Arran Duff
  • 1,214
  • 2
  • 11
  • 23
1 2 3
99
100