Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying DynamoDB Applied Design Patterns
  • Table Of Contents Toc
  • Feedback & Rating feedback
DynamoDB Applied Design Patterns

DynamoDB Applied Design Patterns

By : Uchit Hamendra Vyas
3 (2)
close
close
DynamoDB Applied Design Patterns

DynamoDB Applied Design Patterns

3 (2)
By: Uchit Hamendra Vyas

Overview of this book

If you are an intermediate to advanced DynamoDB developer looking to learn the best practices associated with efficient data modeling, this book is for you.
Table of Contents (12 chapters)
close
close
11
Index

Chapter 4. Working with Secondary Indexes

In the previous chapter, we saw how to work with DynamoDB SDK. We discussed table creation, item insertion, and updating a table using Java SDK. During table creation, we used two functions to create the local and global secondary indexes that we will discuss now.

Note

Projection helps the programmer to decide which attributes have to be added to the secondary index.

Understanding the secondary index and projections should go hand in hand because of the fact that a secondary index cannot be used efficiently without specifying projection. In this chapter, we will cover the following topics:

  • Global secondary indexes
  • Local secondary indexes
  • Projection
  • Item sharding
  • Best practices

The use of projection in DynamoDB is pretty much similar to that of traditional databases. Before learning about projection, go through Chapter 2, DynamoDB Interfaces, and Chapter 3, Tools and Libraries of AWS DynamoDB, which deal with the DynamoDB data model where we use...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
DynamoDB Applied Design Patterns
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon