Timing Collection Minor Bugs

The count of the time series collection slows down. Is there a good way to optimize it?

Hello @yuan_wei ,

Welcome to The MongoDB Community Forums! :wave:

  • Could you please explain your requirements in brief?
  • Which MongoDB Version is being used?
  • Are you referring to the count method taking longer as more documents are added to the time-series collection?
  • Could you provide some example documents and the command you’re trying to optimize.

Please refer Best Practices for Time Series Collections to improve performance and data usage for time series collections.

Regards,
Tarun