Answer the question
In order to leave comments, you need to log in
Does MongoDB use a composite index in part?
Good day. Tell me if mongodb is using a composite index in part. For example, there is an index on 3 fields: sender, recipient, action And there is a request, under the conditions of which there is a selection by sender and recipient. Will an index on 3 fields be used for this query? Or for it it is necessary to create a separate index on 2 fields? Thanks in advance for your reply.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question