Add a field that indicates whether we used classic or SBE for a query. We should backport it to 5.1. At the least we want to see how many queries are exposed to SBE.
Worth considering:
- just logging a field if the less common case happens (e.g. "sbe")
- should we use the same field in the future for the optimizer (e.g. "sbe" (executed with sbe) / "cqf" (optimized and executed with cqf)
- is related to
-
SERVER-62760 Add information to query log line indicating when the new optimizer is used
- Closed
-
SERVER-71172 Expose hybrid plans in profiler, slow query log, and currentOp output
- Closed