DynamoDB Indexes: Making the right choice between GSI and LSI - Amazon DynamoDB Nuggets

  Рет қаралды 6,465

Amazon Web Services

Amazon Web Services

Күн бұрын

In this short video you’ll learn how to choose your DynamoDB Index: when to use a global secondary index (GSI) and when to use a local secondary index (LSI). Hint: there’s only one reason to pick an LSI.
Learn more at: go.aws/3KBESfL
Subscribe:
More AWS videos go.aws/3m5yEMW
More AWS events videos: go.aws/3ZHq4BK
Do you have technical AWS questions?
Ask the community of experts on AWS re:Post: go.aws/3lPaoPb
ABOUT AWS
Amazon Web Services (AWS) is the world’s most comprehensive and broadly adopted cloud platform, offering over 200 fully featured services from data centers globally. Millions of customers - including the fastest-growing startups, largest enterprises, and leading government agencies - are using AWS to lower costs, become more agile, and innovate faster.
#AWS #AmazonWebServices #CloudComputing

Пікірлер: 10
@anushirawan
@anushirawan 7 ай бұрын
Succinct and very clear; thank you!
@asterix12321
@asterix12321 Жыл бұрын
Great work
@vimalneha
@vimalneha 5 ай бұрын
Well explained!
@TheDetroja
@TheDetroja Жыл бұрын
very nicely exaplained
@amazonwebservices
@amazonwebservices Жыл бұрын
🙌 ❤️
@lilwoodydaz
@lilwoodydaz 5 ай бұрын
How to retrieve distinct temperature values (like distinct sql statement) ? (assuming some row have the same temperature value). Is is possible to use GSI / LSI (or a second table may be ) for that ? I can only achieve it by scanning the whole table and filter results (.distinct() ) once the request is done (which is extremely expensive) ... Is it possible to do it in a more efficient way with GSI / LSI ? Thx
@awssupport
@awssupport 5 ай бұрын
Hello, 😀 this is a great question for our community of experts on re:Post! You can ask for additional technical insight to this, and also browse other topics and use cases: go.aws/aws-repost. There are also more options to find help, listed here: go.aws/get-help. 🤝 ^AD
@marcelofm80
@marcelofm80 Жыл бұрын
is the table shown on time 2:05 wrong? I would expect the Device to be the same, either 1 or 2 for both rows kzbin.info/www/bejne/eJyopmqwd7yam5o
@awssupport
@awssupport Жыл бұрын
Hi Marcelo, your question is acknowledged! 🔎 I have passed along internally your concern to the appropriate team. Any feedback they have will be communicated back to you. We want nothing but the best, as you continue your AWS path! 🥾 ^DC
@awssupport
@awssupport Жыл бұрын
Hey Marcelo! Our DynamoDB team had some insight to share: "In the previous table at 1:55 for example, you had two different devices. In this example, only two of those elements have the Attribute ErrorStatus. If you select in either a GSI or LSI ErrorStatus as the Sort Key, your view will look like the one shown at 2:05. GSI and LSI are sparse, which means you only will populate the items that contain the right Partition and sort key combination. In this case, all the other elements that do not contain the Attribute ErrorStatus will not be present in the Index, giving you the result as shown." I hope this clears up any questions, but feel free to reach out to our DynamoDB team directly with any feedback on this video, here: go.aws/feedback. You can also check out our other options for help: go.aws/get-help. ^RM
What is a DynamoDB GSI (Global Secondary Index) ?
10:19
Be A Better Dev
Рет қаралды 116 М.
What is a DynamoDB LSI (Local Secondary Index) ?
9:20
Be A Better Dev
Рет қаралды 64 М.
Clown takes blame for missing candy 🍬🤣 #shorts
00:49
Yoeslan
Рет қаралды 39 МЛН
A clash of kindness and indifference #shorts
00:17
Fabiosa Best Lifehacks
Рет қаралды 115 МЛН
- А что в креме? - Это кАкАооо! #КондитерДети
00:24
Телеканал ПЯТНИЦА
Рет қаралды 7 МЛН
New model rc bird unboxing and testing
00:10
Ruhul Shorts
Рет қаралды 24 МЛН
Data Modeling with Amazon DynamoDB- AWS Database in 15
14:23
AWS Developers
Рет қаралды 10 М.
All you need to know about DynamoDB Partitions
12:39
Alex DeBrie
Рет қаралды 3,8 М.
How do NoSQL databases work? Simply Explained!
7:38
Simply Explained
Рет қаралды 1,1 МЛН
AWS DynamoDB Schema Design | How to choose the right key
12:15
Be A Better Dev
Рет қаралды 206 М.
Create Your First AWS Lambda Function | AWS Tutorial for Beginners
12:44
Tiny Technical Tutorials
Рет қаралды 132 М.
What is a DynamoDB Stream? (And why you should be using it!)
14:59
Be A Better Dev
Рет қаралды 63 М.
Relational database index vs. NoSQL index
7:30
Gaurav Sen
Рет қаралды 78 М.
Top AWS Services A Data Engineer Should Know
13:11
DataEng Uncomplicated
Рет қаралды 157 М.
DynamoDB Local Secondary Index(LSI) and Global Secondary Index(GSI)
17:23
Rate This Smartphone Cooler Set-up ⭐
0:10
Shakeuptech
Рет қаралды 2,2 МЛН
Я купил первый в своей жизни VR! 🤯
1:00
Как удвоить напряжение? #электроника #умножитель
1:00
Hi Dev! – Электроника
Рет қаралды 975 М.