[SERVER-24568] Reflect operations on views in their collStats Created: 14/Jun/16 Updated: 02/Dec/16 Resolved: 02/Aug/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 3.3.11 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Geert Bosch | Assignee: | Kevin Albertson |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | Integrate+Tuning 16 (06/24/16), Integration 17 (07/15/16), Integration 18 (08/05/16) | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
When executing queries on views, they should be counted both on the underlying collection and on the view itself. It is important to see operations on the underlying collection to decide on indexes etc, and it is important to see operations on the view to know where they come from. |
| Comments |
| Comment by Kevin Albertson [ 02/Aug/16 ] |
|
We may need to document the behavior of $collStats on a view since it may not be obvious that the histogram statistics collected are operations which occurred through the view. Other operations occurring on the underlying collection without using the view will not show in the view histograms. |
| Comment by Githook User [ 02/Aug/16 ] |
|
Author: {u'username': u'kevinAlbs', u'name': u'Kevin Albertson', u'email': u'kevin.albertson@10gen.com'}Message: |
| Comment by Kyle Suarez [ 22/Jul/16 ] |
|
We should review the output of serverStatus, ensuring that whenever statistics on collections are present, views are included as well. |