#community-help

Querying Collection Size in MongoDB

TLDR Slavik asked about getting collection size in MB, and Kishore Nallan confirmed it's not possible at a per collection level.

Powered by Struct AI

1

May 16, 2023 (7 months ago)
Slavik
Photo of md5-ca6495d5be926db80e09aabf066f4b8b
Slavik
01:03 PM
Hello!
Is it possible to get a collection size (MB)? Trying to get the average document size
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
01:05 PM
Not a per collection level, no.
Slavik
Photo of md5-ca6495d5be926db80e09aabf066f4b8b
Slavik
01:05 PM
Thank you, Kishore!

1