Make the MongoDB docs better! We value your opinion. Share your feedback for a chance to win $100.
MongoDB Branding Shape
Click here >
Docs Menu

Aggregation Pipeline Builder Settings

You can adjust your Atlas Aggregation Pipeline Builder settings to customize your aggregation experience and improve pipeline performance.

To view and change your aggregation pipeline settings:

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

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

  3. 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.

2
  1. Select the collection.

  2. Click the Aggregations tab.

  3. Click the gear icon at the upper right of the pipeline builder to open the Settings panel.

Option
Description
Default Value

Comment Mode

When enabled, adds helper comments to each stage.

Enabled

Number of Preview Documents

Sets number of documents to show in the preview.

10

Limit

Specifies the number of documents passed to $group, $bucket, and $bucketAuto pipeline stages. Lower limits improve pipeline run time but might result in missing documents.

This setting is only applied to document previews. It is not applied when the pipeline is run.

100000

On this page