Docs Menu
Docs Home
/
MongoDB Atlas
/

Create, View, and Drop Databases

On this page

  • Required Roles
  • Create a Database
  • View Databases
  • Drop a Database

You can use the Atlas UI to manage the databases in your clusters.

The following table describes the roles required to perform various actions to a database in the Atlas UI:

Action
Required Roles
Create Databases
View Databases
Drop Databases

One of the following roles:

To create a database through the Atlas UI:

1
  1. If it is not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.

  2. If it is not already displayed, select your desired project from the Projects menu in the navigation bar.

  3. If the Clusters page is not already displayed, click Database in the sidebar.

2

Click the Browse Collections button for your cluster.

3
4

Enter the Database Name and the Collection Name to create the database and its first collection.

Important

Don't include sensitive information in your database and collection names.

For more information on MongoDB database names and collection names, see Naming Restrictions.

5

Select whether the collection is a capped collection. If you select to create a capped collection, specify the maximum size in bytes.

6

Select whether the collection is a time series collection. If you select to create a time series collection, specify the time field and granularity. You can optionally specify the meta field and the time for old data in the collection to expire.

7

Upon successful creation, the database and the collection appears in the Atlas UI.

To view the databases and collections in the deployment:

1
  1. If it is not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.

  2. If it is not already displayed, select your desired project from the Projects menu in the navigation bar.

  3. If the Clusters page is not already displayed, click Database in the sidebar.

2

Click the Browse Collections button for your cluster.

To launch MongoDB Charts to visualize data in your databases and collections:

1
  1. If it is not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.

  2. If it is not already displayed, select your desired project from the Projects menu in the navigation bar.

  3. If the Clusters page is not already displayed, click Database in the sidebar.

2

Click the Browse Collections button for your cluster.

3

To visualize data in MongoDB Charts from the Atlas UI, click Visualize Your Data when viewing a specific database or collection. Charts loads the data source and you can start building a chart in the Charts view. For detailed steps, see Build Charts.

To drop a database, including all its collections, through the Atlas UI:

1

Either select or hover of the database to drop and click on its trash can icon.

2

Confirm by typing the name of the database, and click Drop.

← Interact with Data