List types of secondary indexes supported by Amazons DynamoDB?

devquora
devquora

Posted On: Feb 22, 2018

 

Two types of indexes are supported by Amazon DynamoDB. They are:
  • Global Secondary index – It is an index with a partition or a partition sort key that is different from those on the table. The global secondary index is considered to be global because queries on the index can span all the items in a table, across all the partitions.
  • Local secondary index – An index that has the same partition key as that of the table but different sort key. It is considered to be “local” because every partition of the index is scoped to a table partition that has the same partition key.

    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..