Mongo Atlas Search Index Explosion

Hello,
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?

Thanks much,
Prasad

Hi Prasad,

There are several Atlas Search alerts which can be configured. More information on the Fix Atlas Search Issues documentation.

Regards,
Jason

Hi Jason,
I don’t see any events that would alert me of possible index explosions. Is it named something else?

Thanks,
Prasad

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.

Regards,
Jason

Hi Jason,
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.

Thanks,
Prasad

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.

Hi Jason,
There are numerous alerts that can be configured on Atlas. Could you please give some pointers on which ones would help me catch such mongot crashes well before they happen?

Thanks for the quick responses!

Prasad