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
14,231
questions
-2
votes
1
answer
41
views
DynamoDbIndex.scan() with filter expression doesn't work
In my code I use this class as Java entity for DynamoDB table:
@DynamoDbBean
@Data
public class RecordDynamoDB {
private String id;
private String customerIdHash;
private OffsetDateTime ...
1
vote
2
answers
34
views
Deleting records from a DynamoDB table where the TTL value has been set incorrectly
I've inherited a service where the TTL value for the DynamoDB records is in the following format
2022-11-03T10:35:42.920Z
Does anyone know how I can run a query to delete all the records with a TTL ...
-2
votes
1
answer
35
views
Runtime.ImportModuleError: Error: Cannot find module '@aws/dynamodb-data-mapper
2024-07-01T17:48:02.915Z undefined ERROR Uncaught Exception
{
"errorType": "Runtime.ImportModuleError",
"errorMessage": "Error: Cannot find module '@aws/...
1
vote
0
answers
12
views
Querying in DynamoDB (with dynamodb-geo npm) - Error Message: ValidationException: Query key condition not supported
So I'm having trouble implementing dynamodb-geo into my program that finds the foodtrucks within 1 km of a specified location. I was following this video as a tutorial for doing so. I'll attach my ...
0
votes
1
answer
48
views
Lost updates to DynamoDB map
I'm using the go sdk v2. The vast majority of the time updates go through just fine, but a handful of times I've noticed updates seemingly getting lost. The UpdateItem function does not return an ...
0
votes
1
answer
53
views
Data Ingestion for the RAG from Dynamo DB to AuroraDB with pgVector to store embeddings
I have data stored in my DynamoDB which is frequently updated through back-end services. Now I want to create a PG vector based AuroraDB vector database for storing embeddings, which I want to be ...
1
vote
1
answer
33
views
DynamoDb: How to set a nested value on a record that may not exist
Considering that the dynamodb item/record may not exist, and this needs to be an upsert operation only on the intended path, I'm trying to do this with an UpdateCommand.
Here's my UpdateExpression:
...
0
votes
1
answer
26
views
Disable dynamoDB table
Is there any way to find if a dynamoDB table being used by any of my lambda functions?
I have checked the code of "zip" type functions. But it is possible that the table may be in use by an &...
0
votes
0
answers
11
views
Best practices with pagination [duplicate]
I'm using NodeJS, Express and Dynamoose modeling tool to work with AWS DynamoDB.
Currently, I want to handle data query with pagination of 1.000 users: UserID, UserName, CreatedAt
Basically, I want to ...
-1
votes
1
answer
25
views
Ordering in dynamodb with limit
Currently I have a dynamodb (of which I cant anymore change the way the data is structured) which has a partition and sortKey but both are pretty much used as the composite primary key of the data (...
0
votes
1
answer
33
views
AWS DynamoDB table.query() not working as expected
I'm working with a fast-api backend where I've set it up to work with AWS's DynamoDB client. I've declared the following wrapper that helps me manage read and writes from the database.
(A self defined ...
0
votes
0
answers
42
views
Cannot figure out how to get docker to build successfully. Compilation failure: package org.springframework.data.dynamodb.core.mapping does not exist
Cannot figure out how to get docker to build successfully. I've tried a bunch of different version numbers in the Spring Data DynamoDB dependency, and I've tried using a different groupId all ...
0
votes
1
answer
74
views
How many records should I put in a DynamoDb partition?
How many records should I aim to put into a DynamoDb partition?
I'm designing a table which will store about a thousand records per user where the PK is the user's id. The average record size is about ...
0
votes
1
answer
50
views
Add ignore_changes for read,write capactiy in dynamic GSI block
I am trying to add ignore_changes for GSI read and write capacity in the code block below. I have tried several methods to make it work, but with no luck.
main.tf :
resource "aws_dynamodb_table&...
1
vote
0
answers
45
views
Local lambda unable to connect to local DynamoDb
I have a golang lambda (using https://github.com/aws/aws-sdk-go-v2) running inside an amazon al2023 docker container. I also have an amazon/dynamodb-local running as well. I can curl dynamo and run ...