发布于 2015-09-14 14:52:34 | 205 次阅读 | 评论: 0 | 来源: 网络整理
参数: |
|
---|---|
返回: | A document that contains statistics reflecting the database system’s state. |
This function provides a wrapper around the database command “dbStats”. The scale option allows you to configure how the mongo shell scales the sizes of things in the output. For example, specify a scale value of 1024 to display kilobytes rather than bytes.
See the “数据库统计参考” document for an overview of this output.
注解
The scale factor rounds values to whole numbers. This can produce unpredictable and unexpected results in some situations.