Docs Home / Compass / Create an Aggregation Pipeline

Aggregation Pipeline Builder Settings

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

Settings

To view and change your aggregation pipeline settings, click the gear icon at the upper right of the pipeline builder to open the Settings panel.

OptionDescriptionDefault Value
Comment ModeWhen enabled, adds helper comments to each stage.Enabled
Number of Preview DocumentsSets 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

Learn More