Help Center > > User Guide> Document Database Management (Standard Edition)> Collection Management> Creating a Collection

Creating a Collection

Updated at: May 14, 2020 GMT+08:00

Prerequisites

You have logged in to the DAS console.

Procedure

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

    • 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 eliminates the need to reserve storage space for the growth of a record when inserting it.

  4. After setting the collection information, click OK. The collection you create appears in the collection list, and you can perform operations on it.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel