[SERVER-63254] Add Index usage metrics to serverStatus Created: 03/Feb/22 Updated: 29/Oct/23 Resolved: 31/Mar/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.3.2, 6.0.0-rc0, 5.0.9 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Michael Gargiulo | Assignee: | Louis Williams |
| 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: |
v5.3, v5.0
|
||||||||
| Sprint: | Execution Team 2022-02-21, Execution Team 2022-04-04 | ||||||||
| Participants: | |||||||||
| Description |
| Comments |
| Comment by Githook User [ 20/Apr/22 ] | ||||||||||||||||||||||||
|
Author: {'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}Message: (cherry picked from commit 0fa0170045ccab649621111ec86c80e798bcac23) | ||||||||||||||||||||||||
| Comment by Githook User [ 20/Apr/22 ] | ||||||||||||||||||||||||
|
Author: {'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}Message: (cherry picked from commit 0fa0170045ccab649621111ec86c80e798bcac23) | ||||||||||||||||||||||||
| Comment by Louis Williams [ 14/Apr/22 ] | ||||||||||||||||||||||||
|
colby.ing@mongodb.com, no this does not include hidden indexes. I believe it was just overlooked during the implementation. Do you want us to expose this? If so, can you please file a ticket? | ||||||||||||||||||||||||
| Comment by Colby Ing [ 13/Apr/22 ] | ||||||||||||||||||||||||
|
louis.williams@mongodb.com does this also record counts for hidden indexes? | ||||||||||||||||||||||||
| Comment by Louis Williams [ 29/Mar/22 ] | ||||||||||||||||||||||||
|
We have added an "indexStats" section to serverStatus. The results are formatted as such:
| ||||||||||||||||||||||||
| Comment by Githook User [ 29/Mar/22 ] | ||||||||||||||||||||||||
|
Author: {'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}Message: |