Database Reference
In-Depth Information
This command is a shortcut to get a complete overview from a database or to compare the
status of two databases.
Utilizing the replSetGetStatus command
If you are in a production environment with a replica set, this command is useful to find
an overview of the replica set.
Using this command is as easy as issuing the following code:
db.runCommand("replSetGetStatus")
You can use the replSetGetStatus command to get a report about the replica set, the
member's role, and the relationship between them or the replica set's configuration.
Search WWH ::




Custom Search