From the course: AWS Certified Developer - Associate (DVA-C02) Cert Prep
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Amazon DynamoDB Secondary Indexes overview - Amazon Web Services (AWS) Tutorial
From the course: AWS Certified Developer - Associate (DVA-C02) Cert Prep
Amazon DynamoDB Secondary Indexes overview
- [Instructor] Now let's talk about the secondary index in DynamoDB. When you want to retrieve a specific item from a DynamoDB table, you simply perform a query, provide a partition key value, and optionally, a sort key value if you have created one. DynamoDB will return whatever item you're interested in with no problem. You can also create a more flexible query than this. So maybe once you get the list of all data that an iot device has sent within a certain timeframe. You can do so by making a query using the device ID as a partition key with a filter expression using the between key condition. While these methods work fine, there are some use cases where searching doesn't always revolve around the partition key and the sort key. Take this table for an example. So what we have here is a simple database for a music streaming application. As for the schema design, we have the playlist ID as the partition key, the…
Contents
-
-
-
-
-
-
AWS monitoring services6m 6s
-
(Locked)
AWS X-Ray overview2m 56s
-
(Locked)
Concurrency in AWS Lambda3m 17s
-
(Locked)
Hands-on lab: AWS Lambda execution environment reuse6m 2s
-
(Locked)
Hands-on lab: AWS Lambda cold start4m 11s
-
(Locked)
Hands-on lab: Access to a CodeCommit repository6m 51s
-
(Locked)
Hands-on lab: Step Functions Workflow Studio walkthrough4m 1s
-
(Locked)
Amazon DynamoDB Secondary Indexes overview7m 54s
-
(Locked)
Amazon DynamoDB Global Secondary Index (GSI)2m 23s
-
Hands-on lab: Creating a Global Secondary Index (GSI)9m 54s
-
(Locked)
Amazon DynamoDB Local Secondary Index (LSI)4m 6s
-
(Locked)
Global Secondary Index (GSI) vs. Local Secondary Index (LSI)3m 32s
-
(Locked)
Amazon DynamoDB capacity modes4m 19s
-
(Locked)
Amazon DynamoDB RCU and WCU calculation4m 6s
-
(Locked)
Amazon DynamoDB Accelerator (DAX)3m 32s
-
(Locked)
Amazon DynamoDB Streams3m 30s
-
(Locked)
Amazon DynamoDB Time to Live (TTL)2m 24s
-
(Locked)
Amazon DynamoDB transactions5m 20s
-
(Locked)
Amazon DynamoDB global tables5m 18s
-