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 Local Secondary Index (LSI) - Amazon Web Services (AWS) Tutorial
From the course: AWS Certified Developer - Associate (DVA-C02) Cert Prep
Amazon DynamoDB Local Secondary Index (LSI)
- [Instructor] Now let's look at the other type of secondary index in DynamoDB, which is the Local Secondary Index or LSI. In a global secondary index, a query on the index can span all of the data in the base table across all partitions. In a Local Secondary Index, searches are limited to a single partition. A Local Secondary Index allows you to create an index where you can use a non-key attribute from its base table as a sort key. The data partitions in LSI are automatically organized by DynamoDB using the partition key of its base table. In simpler terms, a Local Secondary Index maintains the same partition key of its base table, but it has a different sort key. So when you create an LSI, you only need to specify the sort key and the attributes that you'd like to project. Unlike GSI, the only time that you can create a Local Secondary Index is during the creation of a table. Creating an LSI on an existing table is not possible. The Local Secondary Index uses the provision…
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
-