All Products
Search
Document Center

Tablestore:Operations on secondary indexes

Last Updated:Dec 31, 2024

A secondary index is similar to an index of a traditional relational database. Data in a secondary index is presorted based on the value of one or more columns to accelerate data retrieval based on the columns. This topic describes the API operations that you can call to perform operations on secondary indexes.

API operations

The following table describes the API operations that you can call to perform operations on secondary indexes.

Item

API

Description

Create a secondary index

CreateIndex

You can create a secondary index for a data table.

Delete a secondary index

DropIndex

You can delete a secondary index for a data table.