How to create local secondary indexes?

devquora
devquora

Posted On: Feb 22, 2018

 

A Local secondary index needs to be created at the time of creating a table that can’t be added currently.
So, later when you create a local secondary index, try specifying the following two parameters.
  • Indexed Sort Key : The attribute on which indexing and querying are performed.
  • Projected Attributes : It is the list of attributes from the table that can directly be copied into the local secondary index. Without projected attributes, the local secondary index contains only primary keys and secondary keys.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    DynamoDB Interview Questions

    Explain what is DynamoDB?

    It is a NoSQL database service which is superintended and provides fast and inevitable performance with seamless scalab..

    DynamoDB Interview Questions

    List some benefits of using Amazon DynamoDB?

    Here is the list of some of the benefits of using Amazon DynamoDB: It is a managed service where there is no need to hi..

    DynamoDB Interview Questions

    What are the non-relational Databases?

    The Non-Relational databases are NoSQL databases. These databases are categorized into four groups, and they are: Key-v..