Skip to content

Commit f256810

Browse files
jason-price-mongodbjeff-allen-mongo
jason-price-mongodb
authored andcommitted
DOCS-14838 dataSize command specify units
1 parent c60f56c commit f256810

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

source/reference/command/dataSize.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ Definition
1515

1616
.. dbcommand:: dataSize
1717

18-
The :dbcommand:`dataSize` command returns the data size for a set
19-
of data within a certain range:
18+
The :dbcommand:`dataSize` command returns the size in bytes for
19+
the specified data:
2020

2121
.. code-block:: javascript
2222

@@ -104,9 +104,9 @@ and the upper bound of the key to be examined being ``{field: 100}``.
104104

105105
db.runCommand({ dataSize: "database.collection", keyPattern: { field: 1 }, min: { field: 10 }, max: { field: 100 } })
106106

107-
This will return a document that contains the size of all matching
108-
documents. Replace ``database.collection`` value with database
109-
and collection from your deployment.
107+
This returns a document with the size in bytes for all matching
108+
documents. Replace ``database.collection`` with the database and
109+
collection from your deployment.
110110

111111
The amount of time required to return :dbcommand:`dataSize` depends on the
112112
amount of data in the collection.

0 commit comments

Comments
 (0)