Implements the Aggregation Framework.
Various information about a collection.
Various information about a collection.
The fully qualified collection name.
The number of documents in this collection.
The size in bytes (or in bytes / scale, if any).
The average object size in bytes (or in bytes / scale, if any).
Preallocated space for the collection.
Number of extents (contiguously allocated chunks of datafile space, only for mmapv1 storage engine).
Number of indexes.
Size of the most recently created extent (only for mmapv1 storage engine).
Padding can speed up updates if documents grow (only for mmapv1 storage engine).
System flags.
User flags.
States if this collection is capped.
The maximum number of documents of this collection, if capped.
The maximum size in bytes (or in bytes / scale, if any) of this collection, if capped.
Base definition for all the errors for the command execution errors.
Creates the given indexes on the specified collection.
Creates the given indexes on the specified collection.
the database name
the indexes to be created
Fetches a cursor from MongoDB results.
Fetches a cursor from MongoDB results.
the type of the serialization pack
the type of the cursor implementation
the name of the database
The distinct command.
true if the collection existed and was dropped
the time limit
Lists the indexes of the specified collection.
Lists the indexes of the specified collection.
the database name
The replSetMaintenance command.
The replSetMaintenance command.
It must be executed against the admin
database.
if true the the member enters the RECOVERING
state
Replica set member.
Replica set member.
the member name (e.g. "host:port")
the health indicator for this member
the state code of the member
the string representation of the state
the number of seconds that this member has been online
information regarding the last operation from the operation log that this member has applied
the time of the transmission time of last heartbeat received from this member
the time that the last heartbeat was received from this member
an optional message from the last heartbeat
if the member is the primary, the time it was elected as
indicates which replica set member processed the replSetGetStatus command
the number of milliseconds (ms) that a round-trip packet takes to travel between the remote member and the local instance (does not appear for the member that returns the rs.status()
data)
the hostname of the member from which this instance is syncing (only present on the output of rs.status()
on secondary and recovering members)
the configuration version (since MongoDB 3.0)
Result from the replSetGetStatus.
Result from the replSetGetStatus.
the name of the replica set
the current server time
the list of the members of this replicate set
the name of the collection against which the command is executed
the executed command
the response associated with the result
the number of documents to return
the value parsed from the response
the ID of the cursor
the namespace of the collection
the number of regular assertions
the number of warnings
the number of message assertions
the number of user assertions
the number of times that the rollovers counters have rolled over since the last time the MongoDB process started
https://docs.mongodb.com/manual/reference/command/serverStatus/
Only for the MMAPv1 storage engine.
Only for the MMAPv1 storage engine.
the number of times the database has flushed all writes
the total number of milliseconds (ms) that the mongod processes have spent writing
the average time in milliseconds for each flush to disk
the amount of time, in milliseconds, that the last flush operation took to complete
the timestamp of the last completed flush operation
https://docs.mongodb.com/manual/reference/command/serverStatus/
the number of incoming connections from clients to the database server
the number of unused incoming connections available
the count of all incoming connections created to the server.
https://docs.mongodb.com/manual/reference/command/serverStatus/
the total size in bytes of heap space used by the database process
the total number of page faults
https://docs.mongodb.com/manual/reference/command/serverStatus/
the time, in microseconds, since the database last started and created the globalLock
the information concerning the number of operations queued because of a lock
the information about the number of connected clients
https://docs.mongodb.com/manual/reference/command/serverStatus/
Only for the MMAPv1 storage engine with the journaling enabled.
Only for the MMAPv1 storage engine with the journaling enabled.
the number of transactions written to the journal during the last journal group commit interval
the amount of data in megabytes (MB) written to journal
the amount of data in megabytes (MB) written from journal
the compression ratio of the data written to the journal
the count of the commits that occurred while a write lock was held
the number of times MongoDB requested a commit
https://docs.mongodb.com/manual/reference/command/serverStatus/
Only for the MMAPv1 storage engine with the journaling enabled.
Only for the MMAPv1 storage engine with the journaling enabled.
the amount of time in milliseconds, over which MongoDB collected this information
the amount of time, in milliseconds, spent preparing to write to the journal
the amount of time, in milliseconds, spent actually writing to the journal
the amount of time, in milliseconds, spent writing to data files after journaling
the amount of time, in milliseconds, spent remapping copy-on-write memory mapped views
the amount of time in milliseconds spent for commits
the amount of time, in milliseconds, spent for commits that occurred while a write lock was held
https://docs.mongodb.com/manual/reference/command/serverStatus/ ServerStatusJournaling
the total number of operations queued waiting for the lock
the number of operations that are currently queued and waiting for the read lock
the number of operations that are currently queued and waiting for the write lock
https://docs.mongodb.com/manual/reference/command/serverStatus/
the number of bytes that reflects the amount of network traffic received by this database
the number of bytes that reflects the amount of network traffic sent from this database
the total number of distinct requests that the server has received
https://docs.mongodb.com/manual/reference/command/serverStatus/
the system hostname
the MongoDB version
the MongoDB process
the process ID
the number of seconds this process has been active
same as uptime
but with millisecond precision
the uptime in seconds as calculated from MongoDB’s internal course-grained time keeping system
the UTC representation of the current server time
since MongoDB 3.2 (otherwise empty), the array of system fully qualified names
the statistics about the assertions raised by the MongoDB process since it starts
the report on the periodic writes to disk (only for the MMAPv1 storage engine)
the report about the status of the connection
the report about the mongod instance’s journaling-related operations (only for the MMAPv1 storage engine with the journaling enabled)
the additional information regarding the underlying system
the report about the database lock state
the report about the MongoDB network use
@see https://docs.mongodb.com/manual/reference/command/serverStatus/
the error code
the error message
the error code
the error message
List the names of DB collections.
The command replSetGetStatus
The command resync
Server status
User role extractor
(Since version 0.12.0) Use DropCollection