Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
46 views

I have an use-case of building a news feed for which I store the articles along with the timestamps in a DynamoDB table. I want to build infinite scrolling capability, and retrieve the article with ...
Ramesh's user avatar
  • 187
0 votes
1 answer
98 views

Suppose I have 110 records and I filter upon status for the first page two calls are made the first calls scans 25 items and after filter it receives 20 matching items , it uses the id of the 25th ...
Khushi Bansal's user avatar
0 votes
1 answer
74 views

TLDR: DynamoDB async query on GSI is returning duplicates when forcibly timing out the query request. I'm running performance tests on a solution built with CompletionStage and the non-blocking ...
Cristian's user avatar
  • 501
0 votes
1 answer
76 views

I have a table Tours with a Partition Key (PK) id, which is unique and a Global Secondary Index (GSI) geohash, which has repeated values. I need to get all the geohashes in the array geohashNeighbors, ...
Salvi Pascual's user avatar
1 vote
0 answers
71 views

I have this table that has this line on it as you can see below: id,"data_dia","nome_completo","nome_produto","nome_tuna","numero_socio","...
bestry's user avatar
  • 21
-4 votes
1 answer
55 views

I have an interesting use-case where I want to check if in my dynamo table there exists a key value pair whose sort key is a substring of the given input string. I dont want to fetch all the data in ...
Jayant Patil's user avatar
0 votes
0 answers
39 views

Let's say I have 2 types of item in my DDB table: Trains and Passengers. They look like this: { "type": "train", "id": "OrientExpress" // partition key } { ...
fblundun's user avatar
  • 1,017
-1 votes
1 answer
64 views

This has been really confusing for me and I couldn't find an answer even on AWS support. Docs suggest that ConsumedWriteCapacityUnits is emitted at a 1 minute granularity. I want to understand if that ...
Jim's user avatar
  • 425
0 votes
1 answer
38 views

The problem involves efficiently counting the total number of items in an Amazon DynamoDB table while handling duplicates, without traversing each item or returning the entire dataset. This requires a ...
Anish Kumar Mohanty's user avatar
0 votes
2 answers
83 views

Theoretically the getItem latency in dynamodb should be lower than query in dynamodb. but I am getting higher latency for get. Partition is not very large just 5-6 items of small size. Query Latency : ...
Ankit Aabad's user avatar
1 vote
0 answers
120 views

I am trying to write a custom batch mutation using Amplify Gen 2, but running it results in an error: DynamoDB:DynamoDbException", message: "User: arn:aws:sts::{AWS_ACCOUNT_ID}:assumed-role/...
SecretLumberjack's user avatar
0 votes
1 answer
149 views

From the dynamodb tables, I'm trying to get max sized item (top 3 with their ID) from the table. Is there a way that we can get the max sized item using scan or query. The table doesn't have any item ...
Harry's user avatar
  • 1
-1 votes
1 answer
199 views

This may sound ridiculous to ask. But on a serious note, I am putting in an item in DynamoDB successfully using PutItemCommand. I confirm it by scanning for items in AWS console. But on querying it, ...
Waleed93's user avatar
  • 1,332
-2 votes
1 answer
99 views

I wonder how to execute this simple operation using dynamodb java-2 sdk. I want to query my main table called Products using partition key only. Just like it's shown in the screenshot below. The ...
sgrover's user avatar
  • 37
0 votes
1 answer
42 views

I have multiple items in DynamoDB structured like this in JSON: { "MemoryID": "f...ed2d521d84eb", "CreationDate": "12-22-2024", "GeoJSON": { &...
Kelvin Jou's user avatar
0 votes
1 answer
45 views

I am attempting to batchWrite items to my users table, but I am receiving a ValidationException. I can't identify why The provided key element does not match the schema. I created a new table, and the ...
Abraham Esparza's user avatar
0 votes
1 answer
46 views

I understand the concept of hot keys in Dynamodb: if there is a video game database and country_code is used as partition key while player_id is used as sort key, then when everyone from the same ...
slothish1's user avatar
  • 159
0 votes
1 answer
111 views

I have a DynamoDB table with multiple posts that I want sortable by: likes views comments The Table looks like this: PK SK type PK1 SK1 PK2 SK2 PK3 SK3 POST#1234# POST#INFO# post SORT#POST#VIEWS# ...
JonTroncoso's user avatar
0 votes
2 answers
71 views

I am new developer in Dynamo and I am trying to build a query in dynamo to get each registry with the min value of the number of retries for the PK. For example, in the following data set, I want to ...
scafrs's user avatar
  • 453
0 votes
1 answer
71 views

I have a DynamoDB table called AllowListedItems. It has the fields Id, name and ignoreNoTraffic. It has a GSI called name-index on the field "name". I'm trying to query the ignoreNoTraffic ...
AnOldSoul's user avatar
  • 4,209
0 votes
1 answer
187 views

I'm trying to implement a single table design in DynamoDB and I've seen recommendations to use prefixes for partition keys to identify entities. For example, a car's record might have a partition key ...
rmore123's user avatar
1 vote
1 answer
78 views

Problem I am currently in the process of designing the database for a software application which will be used by multiple organizations to each manage multiple projects. I am planning on using ...
dividebyzero's user avatar
0 votes
2 answers
350 views

I want to use the AWS SKD v2 of DynamoDB which can accepts the table name dynamically and return all the records and I am creating the Rest API for the same. I have to use the access key and secret ...
anonymous's user avatar
  • 280
-1 votes
1 answer
277 views

I currently have a record with the primary key 389 in DynamoDB, but its TTL has expired and it hasn't been deleted yet. If I attempt to insert a record with the same primary key but with an updated ...
Banarasi Vaibhav's user avatar
-1 votes
1 answer
38 views

I what to get items by query command with local index, but response is empty. My code: const client = new DynamoDBClient({}); const input = { TableName: "...", IndexName: "...
Ilya Shcherbakov's user avatar
0 votes
1 answer
58 views

I have a use case where I have an Entity and it's resources. Entity and resources are stored in separate Dynamo DB table. User make API call to my entity and along that resources are also returned. ...
Gaurav Jeswani's user avatar
0 votes
1 answer
152 views

In my project we are using single table design for storing data in multiple entities. Now this data is primarily the configuration related data which we are querying while processing our events and ...
csharma's user avatar
0 votes
2 answers
179 views

I'm having an issue using BatchGetCommand to get a list of records from a DynamoDB table. I am using an AWS Lambda that uses NodeJS 18.x. I have been able to get ScanCommand, GetCommand and ...
Chris Allinson's user avatar
-1 votes
1 answer
34 views

When performing body = await dynamo.query(params); from a lambda function, i am getting response as : "statusCode": "400", "body": "User: arn:aws:sts::891377999999:...
user25490381's user avatar
-1 votes
1 answer
110 views

I have a DynamoDB table with a PK id and attributes status (boolean) and type (string with two values). I need to implement pagination for results filtering on status and type. My current approach ...
MusicalChicken's user avatar
-2 votes
1 answer
60 views

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 ...
Sergey Tsypanov's user avatar
1 vote
2 answers
137 views

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 ...
kcon123's user avatar
  • 532
-1 votes
1 answer
30 views

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 (...
MrAndre's user avatar
  • 1,047
0 votes
1 answer
144 views

Unable to delete an item in aws dynamodb using aws-cli: Table data in json format: { "primaryKeyAttributeName": { "S": "2024-06-17" }, "sortKeyCreatedOn&...
Sam's user avatar
  • 1
0 votes
2 answers
396 views

I have a DynamoDB table that has a partition key and a sort key. In my Java code I need to get one (and only one) record with a partition key if that record exists. Currently I am using DynamoDB V2 ...
Paul Chuang's user avatar
2 votes
1 answer
75 views

I'm working on a chat application where each chat session is stored as an item in a DynamoDB table. The structure of a chat item looks like this: { "chatId": { "S": "...
Neeraj's user avatar
  • 119
0 votes
1 answer
460 views

On the CLI this works: aws dynamodb query \ --table-name BatchTable \ --index-name completed_index \ --key-condition-expression "completed = :completed" \ --expression-...
Nelfo's user avatar
  • 3,854
-1 votes
1 answer
255 views

I'm currently inserting data to dynamoDB database using transactWrite. Transactions are only allowed for a batch of small chunk (let's say 100) but I want to add 500 items in the database in a All-or-...
Santhosh's user avatar
1 vote
1 answer
244 views

I want to retrieve all items from the "albums" table in DynamoDB using pagination, ordered by date. Currently, I can paginate items using the Scan command, but the result set is not ordered. ...
Juraj Zovinec's user avatar
0 votes
1 answer
54 views

I got the following table, I made a quick mock with a reduced set of attributes I now have to solve these two access-patterns without a GSI, since I need the current real data from the table. GSI ...
fuwa07's user avatar
  • 93
0 votes
0 answers
50 views

I'm trying to create a Dictionary app API using AWS that can Load a dictionary entry from DynamoDB. The problem is that when I try to GET a dictionary entry from the DB using LoadAsync, all of the ...
thewiseslug's user avatar
0 votes
1 answer
85 views

With Dynamodb is it possible to create an expression that will query an attribute that is a list of Objects. For example the POLICY_HOLDERS attribute on the table has the following JSON Structure [ ...
Shane Rowatt's user avatar
  • 2,115
0 votes
1 answer
39 views

Suppose I'm building a board game, I divide my board in cells, the board has 100 columns by 100 rows. In dynamodb, I'm storing the player's position in 2 attributes, col and row. I need to query what ...
vitorbertazoli's user avatar
0 votes
1 answer
460 views

I am very new to DynamoDB and need help with adding following query to my code. Here is what I have but its giving me an exception error. ValidationException: One or more parameter values were invalid:...
jarvis's user avatar
  • 1
-1 votes
2 answers
92 views

I'm not able to find an official reference to working with sets with DynamoDBDocumentClient. How to do all sets actions with TypeScript and AWS SDK v3? How to create item with set property? How to ...
Daniel Birowsky Popeski's user avatar
0 votes
1 answer
945 views

I'm currently diving into DynamoDB and I'm struggling with a conceptual problem. The problem, simplified in SQL terms, is as follows: I have a table with two columns. The first column contains ...
tiga05's user avatar
  • 13
0 votes
1 answer
308 views

Here is the item format on dynamodb table { "id":"partition_key_id", "Products": { "ProductGroupA": [ { "Description": "2"...
Ryan's user avatar
  • 13
3 votes
1 answer
50 views

There is an AWS DynamoDB table with partition key and sort key. Same table has global index which consist with partition key and sort key. Anyway to use combination of GSI and primary partition key ...
Roshi's user avatar
  • 65
-1 votes
2 answers
78 views

This is my API request body (Array of numbers): { "userIds": [10,11,12, 20] } Where the usersIds in DB is a number type and it's not the primary or secondary keys. I need to query ...
Ruby's user avatar
  • 3
1 vote
1 answer
465 views

I would like to insert record in dynamodb only if the attribute value doesnt exist already. try: NewsTable.put_item( Item={ "PK": "...
hafiz ali's user avatar
  • 1,486

1
2 3 4 5
27