This lab teaches you the basics of creating indexes on DynamoDB tables, and comparing the performance of scan and query operations.
Level
Intermediate
Duration
1 Hours 30 MinutesCourse Objectives
In this course, you will learn how to:
- Use the SDK to create Local Secondary Indexes (LSIs) and Global Secondary Indexes (GSIs)
- Use the SDK to scan your data and return filtered results
- Use the SDK to perform advanced queries to fetch data, noting performance differences between methods
Intended Audience
This course is intended for:
- Architects
- Data Engineers
- Developers
Prerequisites
We recommend that attendees of this course have the following prerequisites:
- Familiar with basic navigation of the AWS Management Console, NoSQL database concepts, and the Python programming language
- Comfortable editing scripts using a text editor
Course Outline
- Task 1: Prepare the environment
- Task 2: Fetch data from a standard table
- Task 3: Create a table with a Local Secondary Index (LSI)
- Task 4: Fetch data from a table with a Local Secondary Index (LSI)
- Task 5: Create a Global Secondary Index (GSI)