Mongodb compass showing 0 documents


There are documents but it always shows 0.

CLUSTER : Standalone
EDITION : MongoDB 5.0.6 Community

Any ideas??

Thanks, Harvey

@LeThAL_LAD_N_A I think this is a limitation of timeseries. In that view Compass uses the collectionInfo information which for time series does not include the number of documents. To display the number of documents, Compass would need to do a countDocuments which might be an expensive operation.

Is there a way to enable it, I don’t mind that it’s an expensive operation

Right now there is not a way to enable that. However, if you open the collection, you will see the count as soon as it’s loaded.