You can use the Atlas UI to manage the databases in your clusters.
Required Roles
The following table describes the roles required to perform various actions to a database in the Atlas UI:
Action | Required Roles |
|---|---|
Create Databases | One of the following roles: |
View Databases | At least the |
Drop Databases | One of the following roles: |
Create a Database
To create a database through the Atlas UI:
View Databases
To view the databases and collections in the deployment:
In Atlas, go to the Data Explorer page for your project.
If it's not already displayed, select the organization that contains your project from the Organizations menu in the navigation bar.
If it's not already displayed, select your project from the Projects menu in the navigation bar.
In the sidebar, click Data Explorer under the Database heading.
The Data Explorer displays.
IMPORTANT: You can also click the name of a cluster to open the Cluster sidebar, and then click Data Explorer under the Shortcuts heading.
Note
Statistics for Internal Databases
The Atlas UI doesn't display the collection count, storage size, or data size for the internal config and local databases. These databases store MongoDB operational metadata instead of application data.
MongoDB Compass connects directly to your deployment and displays the server-side statistics for these databases. As a result, the values in MongoDB Compass might differ from the values in the Atlas UI.
Visualize Database Data
To launch MongoDB Charts to visualize data in your databases and collections:
In Atlas, go to the Data Explorer page for your project.
If it's not already displayed, select the organization that contains your project from the Organizations menu in the navigation bar.
If it's not already displayed, select your project from the Projects menu in the navigation bar.
In the sidebar, click Data Explorer under the Database heading.
The Data Explorer displays.
IMPORTANT: You can also click the name of a cluster to open the Cluster sidebar, and then click Data Explorer under the Shortcuts heading.
Launch MongoDB Charts.
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.
Drop a Database
To drop a database, including all its collections, through the Atlas UI:
In Atlas, go to the Data Explorer page for your project.
If it's not already displayed, select the organization that contains your project from the Organizations menu in the navigation bar.
If it's not already displayed, select your project from the Projects menu in the navigation bar.
In the sidebar, click Data Explorer under the Database heading.
The Data Explorer displays.
IMPORTANT: You can also click the name of a cluster to open the Cluster sidebar, and then click Data Explorer under the Shortcuts heading.