Average object size in bytes
true
if the collection is capped
Number of documents
The amount of storage available for reuse. The scale argument affects this value.
An array that contains the names of the indexes that are currently being built on the collection
The fields in this document are the names of the indexes, while the values themselves are documents that contain statistics for the index provided by the storage engine
Size of specific indexes in bytes
Size of the most recently created extent in bytes
The maximum number of documents that may be present in a capped collection
The maximum size of a capped collection
Number of indexes
Namespace
Number of extents (contiguously allocated chunks of datafile space)
Padding can speed up updates if documents grow
The scale value used by the command.
Collection size in bytes
(Pre)allocated space for the collection in bytes
Total index size in bytes
The sum of the storageSize and totalIndexSize. The scale argument affects this value
A number that indicates the user-set flags on the collection. userFlags only appears when using the mmapv1 storage engine
This document contains data reported directly by the WiredTiger engine and other data for internal diagnostic use
Generated using TypeDoc
the
collStats
operation will be removed in the next major release. Please use an aggregation pipeline with the$collStats
stage insteadhttps://www.mongodb.com/docs/manual/reference/command/collStats/