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

3
4mo
Solved
May 16, 2023 (4 months ago)
Slavik
Slavik
01:03 PMHello!
Is it possible to get a collection size (MB)? Trying to get the average document size
Is it possible to get a collection size (MB)? Trying to get the average document size
Kishore Nallan
Kishore Nallan
01:05 PMNot a per collection level, no.
Slavik
Slavik
01:05 PMThank you, Kishore!

Typesense
Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI
Indexed 2764 threads (79% resolved)
Similar Threads
Query on Document Size Limit in Typesense
Andrew asked about document size limits in Typesense. Jason confirmed there are no such limits.
2
23mo
Solved
Tracking Size of a Collection in Typesense
Prabhu asked if Typesense tracks the size of a collection, Kishore Nallan clarified that only total memory usage is tracked, not per collection.
3
10mo
Solved
Retrieving All Documents in a Collection with Pagination
ohm was seeking to retrieve all documents of a collection with pagination, without filters. Kishore Nallan suggested a wildcard search.
5
9mo
Solved