MongoDB DBA

MongoDB Database Administration Quick Reference

Question

Which helper lists databases visible to the current session?

Answer

show dbs — mongosh helper or command, maintenance. Lists databases the session can view. Applies to self-managed MongoDB and Atlas.

This is 21 of 22 free samples for MongoDB DBA.

More MongoDB DBA topic samples