When executing queries on views, they should be counted both on the underlying collection and on the view itself. It is important to see operations on the underlying collection to decide on indexes etc, and it is important to see operations on the view to know where they come from.
- related to
-
SERVER-25128 $collStats and $indexStats cannot be used on a view with a non-empty pipeline
- Closed