Sign In Register

How can we help you today?

Start a new topic

There are some indexes in Mongodb which are not built by me.

Hi


As title, is there any automatically index building mechanism?


Thanks,

Jo


Hi Jo,


The GameSparks platform is continually monitored both automatically, and manually by the platform team.

When a query is identified, which is regularly run and would benefit from an index which is not present, that index is added to improve the performance of your application.


Kind regards,


Jon.

Hi Jon,


Really appreciated that. So we don't need a mongodb expert.


However, there is an index with 2 array fields created by your team.

And it hit the limitation descried here https://docs.mongodb.com/manual/core/index-multikey/#compound-multikey-indexes

So we couldn't insert or modify any doc containing those 2 arrays.

After dropping the index, everything's back to normal.


I think it might be a potential issue, especially in LIVE environment.

Any how to avoid this happen again?


Thanks,

Jo

Hi Jo,


I've passed this issue to our Operations team to investigate.


Kind regards,


Jon.

Login to post a comment