Connector catalog › Databases

Databases

MongoDB

Replica set, collections, indexes and current operations of a MongoDB.

Install it from HexaConnect's Connectors view.

In pictures

MongoDB : Replica set and oplog window
Replica set and oplog window
MongoDB : Indexes never used
Indexes never used
MongoDB : Long-running operations
Long-running operations
MongoDB : Step down the primary (stepDown)
Step down the primary (stepDown)
Resume the slideshow
Discovery

What you see

  • Connections, operations, WiredTiger cache
  • Members, primary, lag and oplog; shards behind a mongos
  • Databases, collections, indexes (unused ones flagged), first documents
  • Current operations and slow queries
  • Users and roles
Pro

Everyday actions

  • Stop an operation (killOp)
  • Create or drop an index
  • Step down the primary
  • Compact a collection

Console

mongosh in a tab, over the SSH session.

Access

SSH session, tunnel or VPN, standalone server or replica set; TLS, pinnable certificate; SCRAM or x.509. MongoDB 5.0 and later.

Plan

Read with Discovery, actions with Pro or Enterprise.

Available

Driver and license

MongoDB.Driver (Apache 2.0)

Documentation

Getting started

  1. Create a MongoDB session: host, port, and the replica set name if there is one.
  2. Choose the access: SSH session, tunnel or VPN; TLS required or verified.
  3. SCRAM or x.509 certificate authentication (PKCS#12).
  4. The console opens mongosh over the SSH session.

Requirements

MongoDB 5.0 and later; standalone server, replica set or mongos.

Recommended account

clusterMonitor and readAnyDatabase for reading; index or cluster management privileges for actions.

Good to know

Every read is capped at 5 s; compacting is only possible on a secondary or a standalone server.

Connector documentation →

Trademarks mentioned belong to their respective owners; their mention implies neither partnership nor endorsement.