File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -69,9 +69,13 @@ Fields
69
69
70
70
.. stats:: storageSize
71
71
72
- The total amount of storage size. This is equal to the total number
73
- of extents allocated to this collection. The ``scale`` argument
74
- affects this value.
72
+ The total amount of storage allocated to this collection for
73
+ :term:`document` storage. The ``scale`` argument affects this
74
+ value. The :stats:`storageSize` does not decrease as you remove or
75
+ shrink documents.
76
+
77
+ .. sum of all extents (no indexes or the $freelist)
78
+ .. include links to eventual documentation of storage management
75
79
76
80
.. stats:: numExtents
77
81
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ Use the following form:
26
26
27
27
The above commands are equivalent. Without any arguments,
28
28
:func:`db.stats()` returns values in bytes. To convert the returned
29
- values to kilobytes, use the following scale argument:
29
+ values to kilobytes, use the scale argument:
30
30
31
31
.. code-block:: javascript
32
32
@@ -81,12 +81,13 @@ Fields
81
81
82
82
.. stats:: storageSize
83
83
84
- The total amount of space allocated to :term:`document` storage for
85
- collections in this database . The ``scale`` argument affects this
84
+ The total amount of space allocated to collections in this database
85
+ for :term:`document` storage . The ``scale`` argument affects this
86
86
value. The :stats:`storageSize` does not decrease as you remove or
87
- shrink documents.
87
+ shrink documents.
88
88
89
89
.. sum of all extents (no indexes or the $freelist)
90
+ .. include links to eventual documentation of storage management
90
91
91
92
.. stats:: numExtents
92
93
You can’t perform that action at this time.
0 commit comments