MongoCollectionStats
MongoCollectionStats[MongoCollection[…]]
obtain a variety of statistics related to the MongoCollection.
Details and Options
- To use MongoCollectionStats, you first need to load MongoLink using Needs["MongoLink`"].
- MongoCollectionStats returns a Dataset.
- MongoCollectionStats corresponds to the collStats command in the MongoDB command line.
Examples
Basic Examples (1)Summary of the most common use cases

https://wolfram.com/xid/0tekh91jof5sorrmrr20qd7o-zzezdv

https://wolfram.com/xid/0tekh91jof5sorrmrr20qd7o-scph7c

Connect to a the "WolframTestCollection" collection in the "WolframTestDB" database:

https://wolfram.com/xid/0tekh91jof5sorrmrr20qd7o-y3waiz

Obtain a variety of statistics related to the collection:

https://wolfram.com/xid/0tekh91jof5sorrmrr20qd7o-0oukcm

Wolfram Research (2018), MongoCollectionStats, Wolfram Language function, https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionStats.html.
Text
Wolfram Research (2018), MongoCollectionStats, Wolfram Language function, https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionStats.html.
Wolfram Research (2018), MongoCollectionStats, Wolfram Language function, https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionStats.html.
CMS
Wolfram Language. 2018. "MongoCollectionStats." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionStats.html.
Wolfram Language. 2018. "MongoCollectionStats." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionStats.html.
APA
Wolfram Language. (2018). MongoCollectionStats. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionStats.html
Wolfram Language. (2018). MongoCollectionStats. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionStats.html
BibTeX
@misc{reference.wolfram_2025_mongocollectionstats, author="Wolfram Research", title="{MongoCollectionStats}", year="2018", howpublished="\url{https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionStats.html}", note=[Accessed: 18-May-2025
]}
BibLaTeX
@online{reference.wolfram_2025_mongocollectionstats, organization={Wolfram Research}, title={MongoCollectionStats}, year={2018}, url={https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionStats.html}, note=[Accessed: 18-May-2025
]}