DynamoDB Local Secondary Index LSI | .NET ON AWS | AWS Serverless | Amazon



DynamoDB Local Secondary Index LSI | .NET ON AWS | AWS Serverless | Amazon

DynamoDB Local Secondary Index LSI | .NET ON AWS | AWS Serverless | Amazon

Hey 👋 A DynamoDB Local Secondary Index (LSI) is an index that has the same partition key as the base table, but a different sort key. It is referred to as “local” in the sense that every partition of a local secondary index is scoped to a base table partition with the same partition key value.

Amazon DynamoDB provides fast access to items in a table by specifying primary key values. However, applications often require accessing data using alternate keys as well. In these cases, defining a second set of keys, a Secondary Index, is advantageous and beneficial for data access.

In this video, let’s learn about Local Secondary Index in DynamoDB, how to create one, and query data using the Index.

00:00 Introduction
00:56 LSI
01:53 Create LSI
03:08 Attribute Projections
05:01 Adding Data
09:06 Query LSI AWS Console
09:55 LSI Fetches
11:19 Query From .NET
15:26 Fetches From .NET
19:04 Conclusion

This video is sponsored by AWS and is part of my .NET on AWS Series.

🔗Blog https://www.rahulpnath.com/blog/local-secondary-index-dynamodb/
🔗DynamoDB LSI https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LSI.html

Additional Watching
📹AWS DynamoDB – https://youtu.be/BbUmLRaxZG8
📹AWS DynamoDB Pagination – https://youtu.be/IXz04U73MxA
📹 AWS DynamoDB Querying – https://youtu.be/iv6OKueqBd4
📹Lambda Udemy Course – https://bit.ly/aws-lambda-udemy
📹AWS Credential Management – https://youtu.be/ukam37umkQc
📹 ASP Series – https://bit.ly/asp-net-core-series
📹AWS Series – https://bit.ly/aws-net-series

Come say hi! ✋
🌍 Blog – https://rahulpnath.com/
✉ Subscribe to my Newsletter – https://www.rahulpnath.com/subscribe
🐦Twitter – https://twitter.com/rahulpnath
📸Instagram – https://www.instagram.com/rahulpnath/

🛠️ Uses http://rahulpnath.com/uses
🎥 Recording Setup and Workflow – https://www.rahulpnath.com/blog/youtube_setup_and_workflow/

#amazon #aws #dotnet #dynamodb