-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Querying
-
Fully Compatible
-
Query Execution 2021-04-19, Query Execution 2021-05-03, Query Execution 2021-05-17
Currently there is no indication in the log file for slow query entries that the target of the operation is a view. This can be very confusing since, for example, the operation could report using an index for a field that is seemingly not used or have a sort when none is requested directly.
We should indicate when the target entity is a view. Such an indication could range from a simple boolean (eg isView:1) to something more complex like reporting the final generated pipeline (as is done when explain is used on such queries).
- is related to
-
SERVER-58137 Missing [resolvedViews] field for inserts and commands on time series collections and views
- Backlog