-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Performance
-
Query Execution
-
Fully Compatible
The SBE getExecutor path calculates QSN hashes early. These are used in the plan explainer. However we still have the QSN in the plan explainer, so we could lazily calculate the hash to avoid wasted work in the non-explain path.
I'm guessing the perf improvement is small, but still good to do for cleanliness and avoiding "death by a thousand cuts" pattern we see in perf charts.