I am using Mongo to house multi-tenant data with each tenant having their own unique set of fields. I have to support searching and sorting on all fields. At this point it seems like Atlas Search would help me meet most of my requirements (with the current & upcoming releases).
Having said that, Would I be able to configure alerts that would let me know when the index is approaching a possible explosion scenario? What should I do to avoid this?
Could you clarify what you mean by index explosions? Are you referring to Document Mapping Explosions? If so, as the documentation suggests, you can upgrade your cluster or use a static mapping that does not index all fields in your data.
Yes, I am referring to Document Mapping Explosions.
I am aware that upgrading the cluster will help in avoiding such explosions. I am trying to understand if this can be done proactively so that we don’t run into such a scenario where the explosion has happened and we are scrambling to upgrade the cluster to get the application back up.
Please note that my application requires indexing all the fields in my data.
Thank you for confirming Prasad. There are multiple search memory alerts you could configure. Perhaps you can have those configured in addition to monitoring the metrics utilised by the mongot process on the metrics over time.