[DOCS-15235] [SERVER] Add serverStatus metrics to measure multi-planning performance Created: 12/Apr/22 Updated: 13/Nov/23 Resolved: 02/Sep/22 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual, Server |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.0-rc0, 5.0.9, 4.4.15, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Backlog - Core Eng Program Management Team | Assignee: | Dave Cuthbert (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Participants: | |||||||||||||||||
| Days since reply: | 1 year, 22 weeks, 1 day ago | ||||||||||||||||
| Epic Link: | DOCSP-22649 | ||||||||||||||||
| Description |
|
From: Original Downstream Change Summary Addition of new multiplanner histograms and agg metrics in serverStatus and agg-only in FTDC Description of Linked Ticket SERVER-62150 describes a scenario where SBE multi-planning can be slow relative to the classic engine's multi-planning implementation. We implemented We may wish to collect similar information for the classic multi-planner as well as the SBE multi-planner. There are known scenarios in which the classic multi-planner can take a long time to complete. In particular, see SERVER-31078. The intended audience of these metrics is query engineering and query product management. We want to be able to analyze the performance of multi-planning across the Atlas fleet in order to inform our decision making about future improvements to the server. It's probable that these metrics would also be useful in support scenarios (e.g. seeing if a customer is getting a lot of queries which take a long time to multi-plan), but this is not the primary use case. |
| Comments |
| Comment by Githook User [ 06/Sep/22 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Author: {'name': 'Dave Cuthbert', 'email': '69165704+davemungo@users.noreply.github.com', 'username': 'davemungo'}Message:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Githook User [ 02/Sep/22 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Author: {'name': 'Dave Cuthbert', 'email': '69165704+davemungo@users.noreply.github.com', 'username': 'davemungo'}Message:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Jess Balint [ 18/Aug/22 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
The idea (iirc) is to surface them in last ping data. Here are the descriptions from the code:
Let me know if you need any further clarification. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Jess Balint [ 18/Aug/22 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I didn't find any good reference but I can provide one here. The "query.multiPlanner" is the new sub-object in the metrics.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Jess Balint [ 10/Aug/22 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
dave.cuthbert@mongodb.comsorry for the delay. we could document the new metrics in https://www.mongodb.com/docs/manual/reference/command/serverStatus/ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Education Bot [ 04/May/22 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Fix Version updated for upstream | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Jess Mokrzecki [ 27/Apr/22 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Fix Version updated for upstream | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Jess Mokrzecki [ 25/Apr/22 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Fix Version updated for upstream | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Jess Mokrzecki [ 12/Apr/22 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Fix Version updated for upstream |