liveBook · Manning

MongoDB Compass

As explained in MongoDB 8.0 in Action, Third Edition

MongoDB Compass is a graphical user interface for exploring databases, inspecting collections, and running MongoDB queries.

MongoDB Compass is a graphical interface for querying, optimizing, analyzing, and managing MongoDB data visually. It provides schema visualizations, performance metrics, query construction, index management, and performance profiling. section 3.3 section 3.9

A practical Compass workflow includes:

  • Install a version compatible with the operating system, launch Compass, and connect with a MongoDB deployment URI, such as an Atlas cluster URI. section 3.3
  • Explore databases and collections, enter or generate queries in the query bar, and use Add Data, Export Data, Update, and Delete to manage records. section 3.3
  • Open mongosh from Compass when direct command-line interaction is preferable. section 3.3
  • Use the Aggregation Pipeline Builder to assemble and configure multiple stages for data processing. section 3.3 section 1.5
Figure 3.1 You can connect to a MongoDB deployment with the MongoDB Compass application. Enter a MongoDB connection string in the New Connection window. (Image © MongoDB 2025)

The connection interface shows where to enter a deployment URI, name the connection, and choose Save, Connect, or Save & Connect. section 3.3

Figure 3.2 The Aggregations tab is where you can add various stages of data processing. (Image © MongoDB 2025)

The Aggregations tab provides a visual workspace for adding stages to an aggregation pipeline. section 3.3

How MongoDB 8.0 in Action, Third Edition covers it

How deep it goes
Demonstrates installation, URI connection, database exploration, data actions, shell access, and aggregation construction without detailing Compass internals.
Examples
Uses an Atlas connection URI, loaded databases, the query bar, data-management buttons, and the Aggregation Pipeline Builder.
What it assumes
Assumes access to a MongoDB deployment URI and teaches visual database interaction, while requiring an operating-system-compatible installation.
What you can do after
Operate/configure MongoDB visually by connecting to deployments, exploring data, running queries, modifying records, and building aggregation pipelines.
How it connects
Connects MongoDB deployments with Atlas URIs, mongosh, CRUD operations, aggregation pipelines, indexes, and performance profiling.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of MongoDB 8.0 in Action, Third Edition. The section links point to the parts of the book it draws on.