This section describes how to create an index.
You must have access permissions to DMS and be logged on to the DMS console.
Select an ApsaraDB for MongoDB instance and then click Log on to Database.
After you log on to the instance, perform the following tasks:
Expand the left-side object list and select the collection that you want to create the index in.
Right-click the collection and then select New Index to open the index creation window.
Enter the index name, and keys to the key list, and sort the keys in the New Index window. To add multiple keys, click Add, as shown in the following figure. Make sure that the keys in the list are sorted in the right order.
Some advanced settings are only available on the Advanced Options tab page. To set these settings, click the Advanced Options tab to set.
Click OK to create the index.