发布于 2015-09-14 14:53:18 | 133 次阅读 | 评论: 0 | 来源: 网络整理
参数: |
|
---|
Provides a wrapper around the validate database command. Call the db.collection.validate() method on a collection object, to validate the collection itself. Specify the full option to return full statistics.
The validation operation scans all of the data structures for correctness and returns a single document that describes the relationship between the logical collection and the physical representation of that data.
The output can provide a more in depth view of how the collection uses storage. Be aware that this command is potentially resource intensive, and may impact the performance of your MongoDB instance.
也可以参考