Creating a Collection

Prerequisites

You have logged in to a DDS DB instance on the DAS console.

Procedure

  1. On the top menu bar, choose Database Management.
  2. On the displayed Objects page, select Collections, and click New Collection.
  3. On the displayed page, enter the collection name. You can select Capped collection, Auto index, and No padding as required.

    Figure 1 Creating a collection
    • Capped collection: Set the maximum number of bytes and the maximum number of documents. If the specified value is reached, an error is reported. The value specified must be greater than 0.
    • Auto index: Automatically create an index on the _id field.
    • No padding: A storage policy that does not reserve storage space for the growth of a record when inserting it.

  4. Select the values for Verification Level and Verification Action. Ensure all the settings are correct and click OK. The created collection is displayed in the collection list and you can operate it.