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
2 answers

Set global secondary index name dynamically in dynamo db using environment variable spring boot

I am using derjust/spring-data-dynamodb library to interact with DynamoDB. I have defined a class Product as follows: @DynamoDBTable(tableName = "product") public class Product { @Id @NotNull @DynamoDBHashKey private String…
OneMoreError
  • 7,518
  • 20
  • 73
  • 112
4
votes
0 answers

Spring batch meta-data tables in DynamoDB

I have a spring-boot batch application. Where I'm pulling data from redshift to dump in elastic search. And I also have a dynamoDB available for the application. Now, my question is: is it possible to store the spring-batch meta-data tables in…
anij
  • 1,322
  • 5
  • 23
  • 39
4
votes
1 answer

how to query for greater than sort key in dynamodb with boto3

I have a dynamodb table with string primary key called name and number sort key age. I want to get the items in the dynamodb table with age younger than 30. I understand that since my filter is on a Key, I can use query instead of scan. So I tried: …
tom q
  • 97
  • 2
  • 6
4
votes
4 answers

How to trigger lambda for each item in a huge static dynamodb table

I have a dynamodb table with nearly 200k items. I need to trigger a lambda for each item in it (send each item to lambda as input). I want to perform this for every x hours for all the items in the table. Data in table changes every 5 days or so. Is…
4
votes
3 answers

DynamoDB: How to update an item except for one attribute if the attribute already exists

So I'm trying to put an Item into a DDB table (nodejs). If the Item has a 'date_created' attribute, I want to update all fields in that Item except for the 'date_created'. I've looked at conditional expressions and from what I understand it's pretty…
ProgrammingGodJK
  • 207
  • 1
  • 3
  • 10
4
votes
1 answer

AWS Neptune DB vs. Dynamo DB for entity lineage

I'm trying to evaluate what might work best for the following use-case: There exists a set of entities that can be represented as a graph. Each vertex in the graph represents an entity, and each (uni-directional edge) represents a child-to-parent…
4
votes
1 answer

DynamoDB How to query overlapping time ranges

Consider a DynamoDB table consisting of a primary key and two attributes describing a start and an end date. How to query if a time range is overlapping the time ranges in the table without scanning the entire table? Example: The dynamo table have…
Peter Savnik
  • 763
  • 1
  • 8
  • 27
4
votes
2 answers

How to update items based on just the partition key?

Our table has a composite primary key. There are a few use cases where we need to update the items based on just the partition key. partitionKey sortKey ------------ --------- 10020525 208025117-xxxxx-153068323-208025401 10020525 …
miserable
  • 697
  • 1
  • 12
  • 31
4
votes
1 answer

DynamoDB: Get All Sort Keys from Primary Key

I have a table with a primary key and a sort key; since this is a composite key, I have multiple primary keys mapped with different sort keys. How can I get all of the sort keys associated with a particular primary key? I tried using the "Get"…
zpChris
  • 98
  • 1
  • 8
4
votes
3 answers

DynamoDB record not added through map loop

I am fetching prices (usually thousands) from an API using Axios and then want to store it in DynamoDB. If I invoke the lambda function locally everything works as expected, but if I deploy the function and call it using AWS CLI it does not store…
sebastiansieber
  • 63
  • 1
  • 15
4
votes
2 answers

DynamoDB how to get items count for a partition keys using .net core?

How can I get items count for a particular partition key using .net core preferably using Object Persistence Interface or Document Interfaces? Since I do not see any docs any where, currently I get the number of items count by retrieve all the item…
4
votes
3 answers

Inaccessible DynamoDB host when running amplify mock

I am using AWS Amplify to set up an AppSync GraphQL API. I have a schema with an @model annotation and I am trying to write a lambda resolver that will read/write to the DynamoDB table that @model generates. However, when I attempt to test locally…
4
votes
1 answer

Does the length of dynamoDB field name matter in terms of pricing

In a dynamoDB with hundreds of millions rows, someone claims that we should use column name with least length - for example, instead of using name as field name, we should use n since these field names do matter in terms of pricing due to these…
JamesWang
  • 1,175
  • 3
  • 14
  • 32
4
votes
1 answer

Migration from DynamoDB to Spanner/BigTable

I have a use case where I need to migrate 70 TB of data from DynamoDB to BigTable and Spanner. Tables with a single index will go to BigTable else they will go to Spanner. I can easily handle the historical loads by exporting the data to S3 --> GCS…
4
votes
1 answer

DynamoDB | How to Query all records in sorted order without specifying a Partition Key

I'm using AWS DynamoDB to store user session records for a web application. Each record is of the following format: uuid timestamp type where uuid is a users id and partition key timestamp is a unix timestamp and sort key type is "connected"…
Vingtoft
  • 13,368
  • 23
  • 86
  • 135
1 2 3
99
100