[SERVER-56422] Collect and expose usage statistics for aggregate expressions Created: 28/Apr/21 Updated: 29/Oct/23 Resolved: 18/May/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Anton Korshunov | Assignee: | Milena Ivanova |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||||||
| Backport Requested: |
v4.4, v4.2
|
||||||||||||||||||||||||||||||||||||
| Sprint: | Query Optimization 2021-05-03, Query Optimization 2021-05-17, Query Optimization 2021-05-31 | ||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||||||||||||||||||||||
| Comments |
| Comment by Githook User [ 18/May/21 ] | |||||||||
|
Author: {'name': 'Milena Ivanova', 'email': 'milena.ivanova@mongodb.com', 'username': 'mivanova3'}Message: | |||||||||
| Comment by Anton Korshunov [ 04/May/21 ] | |||||||||
|
We haven't settled on the final name yet, but yes, you can call them aggregation pipeline operators. It would likely to have the same meaning and behaviour as the aggStageCounters. | |||||||||
| Comment by Bruce Lucas (Inactive) [ 04/May/21 ] | |||||||||
|
Also, is this counting the number of queries containing each operator, the total number of such operators contained in executed queries, or the number of times such operators are executed (if that's different from the previous), or something else? | |||||||||
| Comment by Bruce Lucas (Inactive) [ 04/May/21 ] | |||||||||
|
And if so should this be called aggOperatorCounters? | |||||||||
| Comment by Bruce Lucas (Inactive) [ 04/May/21 ] | |||||||||
|
anton.korshunov maybe I'm just confused by the term "expression" in this context - do you mean every operator in the list? | |||||||||
| Comment by Anton Korshunov [ 04/May/21 ] | |||||||||
|
bruce.lucas It's a placeholder for any MQL expression that we support. Every expression in this list will have a corresponding entry under the aggExpressionCounters document. | |||||||||
| Comment by Bruce Lucas (Inactive) [ 04/May/21 ] | |||||||||
|
Copying proposed schema from
What does "<expression>" mean? Is this a literal string "<expression>" or a placeholder for something open-ended? Just checking to make sure we're not excessively inflating FTDC. |