Tracking Size of a Collection in Typesense
TLDR Prabhu asked if Typesense tracks the size of a collection, Kishore Nallan clarified that only total memory usage is tracked, not per collection.
Powered by Struct AI
3
11mo
Solved
Nov 21, 2022 (11 months ago)
Prabhu
Prabhu
08:33 AMhello team - does anyone know if typesense keeps tracks of the size of a collection? Is it possible to fetch the size via an API call? I searched the API reference but couldn't find one. Can one use the size of the
db
directory as a rough approximation for this? Thanks!Kishore Nallan
Kishore Nallan
08:44 AMWe only return total memory usage in metrics endpoint. No per collection size.
Prabhu
Prabhu
09:13 AMThanks Kishore!
Typesense
Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI
Indexed 2776 threads (79% resolved)
Similar Threads
Typesense Memory Issues and Scaling Concerns
David raised concerns about Typesense's memory usage in their project. Jason provided guidelines for calculating RAM requirements.
3
3mo
Solved
Troubleshooting Typesense Document Import Error
Christopher had trouble importing 2.1M documents into Typesense due to memory errors. Jason clarified the system requirements, explaining the correlation between RAM and dataset size, and ways to tackle the issue. They both also discussed database-like query options.
30
8mo
Solved
Typesense Cluster Monitoring and Metrics
Sergio asked about Typesense Cluster monitoring. Kishore Nallan clarified metrics are per node.
3
7mo
Solved