Skip to content

Commit 484044d

Browse files
author
Sam Kleinman
committed
collection and database stats edits
1 parent c4413d1 commit 484044d

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

source/reference/collection-statistics.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,13 @@ Fields
6969

7070
.. stats:: storageSize
7171

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
7579

7680
.. stats:: numExtents
7781

source/reference/database-statistics.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Use the following form:
2626

2727
The above commands are equivalent. Without any arguments,
2828
: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:
3030

3131
.. code-block:: javascript
3232

@@ -81,12 +81,13 @@ Fields
8181

8282
.. stats:: storageSize
8383

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
8686
value. The :stats:`storageSize` does not decrease as you remove or
87-
shrink documents.
87+
shrink documents.
8888

8989
.. sum of all extents (no indexes or the $freelist)
90+
.. include links to eventual documentation of storage management
9091

9192
.. stats:: numExtents
9293

0 commit comments

Comments
 (0)