Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Done
-
3.2.0
-
Fully Compatible
-
ALL
-
-
QuInt E (01/11/16), Query F (02/01/16)
Description
Index access stats, retrievable via the $indexStats aggregation source, track the number of times a given index was used to satisfy a user operation.
$match as a document source in aggregation can make use of indexes to retrieve documents but is currently not recording usage statistics. Support should be added for $match as exclusion could lead to the wrong conclusion as to whether an index is being used.
Also missing is a hook to record index access when a mapReduce uses an index to satisfy a "query" argument. This issue will add support for both aggregation and mapReduce.
Attachments
Issue Links
- is duplicated by
-
SERVER-22183 Aggregation $match doesn`t increase counter in the $indexStats
-
- Closed
-
- related to
-
DOCS-6973 Add note about $indexStats limitations in <3.2.2
-
- Closed
-