Navigation

Data Explorer

Atlas provides the ability to introspect collections in your managed MongoDB deployments via the Data Explorer view. Data explorer reads from the primary unless the primary is unavailable. If the primary is unavailable, data explorer reads from a non-hidden, non-delayed secondary member.

Note

This feature is not available for M0 (Free Tier), M2, and M5 clusters. For more information, see Atlas M0 (Free Tier), M2, and M5 Limitations.

Access Data Explorer

Required Role

To access Data Explorer, you must be the project Owner or the project Data Access Admin.

To access Data Explorer, click Clusters and then for the MongoDB deployment to introspect, click the Data button. Or, if you are already viewing a specific cluster, select the Data Explorer tab. The tab lists the databases in your deployment and the collections in each database.

View Databases and Collections

From the Data Explorer tab, you can view the databases and collections in the deployment. To view the collections in a particular database, click on the database.

View Documents

From the Data Explorer tab, you can view documents in a collection. To view documents for a collection:

1

Select the database for the collection.

The main panel and the left-hand side displays the collections in the datatabse.

2

Select the collection on the left-hand side or in the main panel.

The main panel displays the Find view and the Indexes view.

3

Select the Find view.

The panel displays the documents in the collection. Each page displays up to 20 documents.

4

Optional. Specify query filter.

To specify filter condition, type in a query filter document in the filter bar. For example, to specify equality condition, use a filter document of the form:

{ <field1>: <value1>, ... }

To use query operators to specify a filter condition, use a filter document of the form:

{ <field1>: { <queryoperator>: <value1> }, ... }

For more information on specifying query filters, including compound conditions, see Query Documents.

5

Click Find to run query.

View Indexes

From the Data Explorer tab, you can view index information for a collection. To view index information for a collection:

1

Select the database for the collection.

The main panel and the left-hand side displays the collections in the datatabse.

2

Select the collection on the left-hand side or in the main panel.

The main panel displays the Find view and the Indexes view.

3

Select the Indexes view.

The indexes table lists the indexes and associated index information for the collection. Index information includes the index definition, the size, and the usage frequency.